don't expect boot dir, just rootfs
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / A-ganeti-fix-root.sh
index 8c2d185..2c4c4ae 100755 (executable)
@@ -3,7 +3,7 @@
 . ./0-host.sh
 . ./0-ganeti.sh
 
-ssh_master ls -d /tmp/$host/rootfs/boot > $host/rootfs_boot
+ssh_master ls -d /tmp/$host/rootfs > $host/rootfs_boot
 if [ -s $host/rootfs_boot ] ; then
        ssh_master mv /tmp/$host/rootfs/* /tmp/$host/
        ssh_master mv /tmp/$host/rootfs/.?* /tmp/$host/