curl $key_location | apt-key add -
-apt update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim"
+apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim"
if [[ $OSM_BASE_IMAGE =~ $RE ]]; then
container_exec $OSM_BUILD_CONTAINER yum -y install git tar make sudo
else
- container_exec $OSM_BUILD_CONTAINER apt -y install git realpath make sudo
+ container_exec $OSM_BUILD_CONTAINER apt-get -y install git realpath make sudo
fi
if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
container_push_devops $OSM_BUILD_CONTAINER
OSM_git_checkout "$@"
-apt update
-apt install -y docker.io
+apt-get update
+apt-get install -y docker.io
# cleanup all pre-existing builds.
# deb pkg build fails if previous build image is present
INFO "Installing packages"
apt-get update
-apt install -y lxd
+apt-get install -y lxd
INFO "Configuring LXD"
# ZFS doesn't work inside a nested container. ZFS should be configured in the host LXD.
apt-get install -y python-pip python python-pycurl charm-tools python-pytest
-apt install -y python-osmclient
+apt-get install -y python-osmclient
export OSM_USE_LOCAL_DEVOPS=true
+echo "devops/installers/install_osm.sh --test $*"
devops/installers/install_osm.sh --test $*
RC=$?