split master and storage node, support machines with dash in name
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 5-lxc-rsync-snapshot.sh
index 1c28b40..54cb35f 100755 (executable)
@@ -4,4 +4,4 @@
 . ./0-lxc.sh
 . ./0-ganeti.sh
 
-ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /tmp/ganeti-$host/ $master:/tmp/$host/
+ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /tmp/ganeti-$host/ $storage:/tmp/$host/