Fixed and improved image publishing

This commit is contained in:
Tilman Kamp 2019-02-11 11:50:43 +01:00
Родитель eecc530ee1
Коммит 0698a16193
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -8,6 +8,7 @@ print_header () {
for role in "${roles[@]}"; do for role in "${roles[@]}"; do
print_header "Publishing ${role}..." print_header "Publishing ${role}..."
lxc stop snakepit-${role} lxc stop snakepit-${role} || true
lxc publish --public snakepit-${role} --alias snakepit-${role} lxc image delete snakepit-${role} || true
lxc publish --public snakepit-${role} --alias snakepit-${role} || true
done done