projects
/
sysadmin-cookbook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split master and storage node, support machines with dash in name
[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
317d324
..
b6de545
100755
(executable)
--- a/
recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
+++ b/
recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
@@
-8,4
+8,4
@@
ssh_lxc /etc/init.d/lxc-watchdog stop $host
ssh_lxc rm -v /var/lib/lxc/$host/on_boot
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/ $
master
:/tmp/$host/
+ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ $
storage
:/tmp/$host/