2 |
|
|
3 |
. ./0-host.sh |
. ./0-host.sh |
4 |
. ./0-lxc.sh |
. ./0-lxc.sh |
5 |
|
. ./0-ganeti.sh |
6 |
|
|
7 |
ssh_lxc /etc/init.d/lxc-watchdog stop $host |
ssh_lxc /etc/init.d/lxc-watchdog stop $host |
8 |
|
|
9 |
ssh_lxc rm -v /var/lib/lxc/$host/on_boot |
ssh_lxc rm -v /var/lib/lxc/$host/on_boot |
10 |
|
|
11 |
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/ |