]> git.proxmox.com Git - mirror_lxc.git/blobdiff - templates/lxc-slackware.in
confile: lxc.rootfs --> lxc.rootfs.path
[mirror_lxc.git] / templates / lxc-slackware.in
index f36e150a7a777dc3fa521f5eef473ae88182764a..2c80351e5b8c1fff78b980ff947ae6547411d981 100644 (file)
@@ -743,8 +743,8 @@ fi
 # detect rootfs
 config="$path/config"
 if [ -z "$rootfs" ]; then
-       if grep -q '^lxc.rootfs' $config 2>/dev/null ; then
-               rootfs=$(awk -F= '/^lxc.rootfs =/{ print $2 }' $config)
+       if grep -q '^lxc.rootfs.path' $config 2>/dev/null ; then
+               rootfs=$(awk -F= '/^lxc.rootfs.path =/{ print $2 }' $config)
        else
                rootfs=$path/rootfs
        fi