diff --git a/boxes/quantal64/lxc-template b/boxes/quantal64/lxc-template index 4690955..0fdef44 100755 --- a/boxes/quantal64/lxc-template +++ b/boxes/quantal64/lxc-template @@ -161,8 +161,8 @@ copy_ubuntu() # make a local copy of the miniubuntu echo "Copying rootfs to $rootfs ..." - mkdir -p $rootfs - rsync -a $cache/rootfs-$arch/ $rootfs/ || return 1 + mkdir -p $(dirname $rootfs) + mv $cache/rootfs-$arch $rootfs || return 1 return 0 }