X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2FVCA%2Fupdate-lxd-image.sh;h=8cad93b8275808f2eedc0f73f731d35e53dfc67c;hb=23e1e8a18b500b8fbeadb7cbf094668e24d1e02e;hp=9cc15365bfc12a072f87cfb42595f4a44d522603;hpb=b88f4949d1b333a359aa329d6015342de82e2bd0;p=osm%2Fdevops.git diff --git a/jenkins/VCA/update-lxd-image.sh b/jenkins/VCA/update-lxd-image.sh index 9cc15365..8cad93b8 100755 --- a/jenkins/VCA/update-lxd-image.sh +++ b/jenkins/VCA/update-lxd-image.sh @@ -39,7 +39,7 @@ function cache() { lxc exec $container -- bash -c "while [ ! -f /var/lib/cloud/instance/boot-finished ]; do sleep 1; done" lxc exec $container -- apt-get update -y - lxc exec $container -- apt-get upgrade -y + lxc exec $container -- apt-get upgrade -y -o Dpkg::Options::='--force-confold' lxc exec $container -- apt-get install -y $PACKAGES $2 lxc exec $container -- pip3 install --upgrade pip lxc exec $container -- pip3 install --upgrade $PYPI @@ -51,5 +51,6 @@ function cache() { lxc delete $container -f || true } -cache trusty "$TRUSTY_PACKAGES" +# Cache the image for the Ubuntu series or series to support +# cache trusty "$TRUSTY_PACKAGES" cache xenial "$XENIAL_PACKAGES"