projects
/
sysadmin-cookbook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweaks after migration of narada
[sysadmin-cookbook]
/
recepies
/
ganeti
/
migrate-lxc
/
7-lxc-stop-container.sh
diff --git
a/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
b/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
index
6e7ab64
..
317d324
100755
(executable)
--- a/
recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
+++ b/
recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
@@
-2,9
+2,10
@@
. ./0-host.sh
. ./0-lxc.sh
. ./0-host.sh
. ./0-lxc.sh
+. ./0-ganeti.sh
ssh_lxc /etc/init.d/lxc-watchdog stop $host
ssh_lxc rm -v /var/lib/lxc/$host/on_boot
ssh_lxc /etc/init.d/lxc-watchdog stop $host
ssh_lxc rm -v /var/lib/lxc/$host/on_boot
-ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/
10.60.0.112
:/tmp/$host/
+ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/
$master
:/tmp/$host/