Skip to content
Snippets Groups Projects
Commit 5f02811b authored by garciadeblas's avatar garciadeblas Committed by Mark Beierl
Browse files

Minor fixes in update-juju-lxc-images to get it work in v8.0


Change-Id: If34b5f0196dbc1ce113747f49f3d40857f99b42d
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 99bb0308
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,7 @@ function cache() {
alias=juju/$series/amd64
lxc delete $container -f || true
lxc image copy ubuntu:$series local: --alias clean-$series
lxc launch ubuntu:$series $container
sleep 15 # wait for network
......@@ -121,6 +122,7 @@ function cache() {
lxc stop $container
lxc image delete $alias || true
lxc image delete clean-$series || true
lxc publish $container --alias $alias description="$series juju dev image ($(date +%Y%m%d))"
lxc delete $container -f || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment