зеркало из https://github.com/mozilla/snakepit.git
Fixed and improved image publishing
This commit is contained in:
Родитель
eecc530ee1
Коммит
0698a16193
|
@ -8,6 +8,7 @@ print_header () {
|
|||
|
||||
for role in "${roles[@]}"; do
|
||||
print_header "Publishing ${role}..."
|
||||
lxc stop snakepit-${role}
|
||||
lxc publish --public snakepit-${role} --alias snakepit-${role}
|
||||
lxc stop snakepit-${role} || true
|
||||
lxc image delete snakepit-${role} || true
|
||||
lxc publish --public snakepit-${role} --alias snakepit-${role} || true
|
||||
done
|
||||
|
|
Загрузка…
Ссылка в новой задаче