]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Explicitly mount squashfs in case autodetection fails
authorReto Gantenbein <reto.gantenbein@linuxmonk.ch>
Mon, 2 Jan 2017 16:13:11 +0000 (17:13 +0100)
committerReto Gantenbein <reto.gantenbein@linuxmonk.ch>
Mon, 2 Jan 2017 16:16:00 +0000 (17:16 +0100)
Signed-off-by: Reto Gantenbein <reto.gantenbein@linuxmonk.ch>
templates/lxc-fedora.in

index 926cb4867b98d3df8dad2e7f572c6043f78d82f2..6beb2a0f3292f43b2080cbf89813be20d54622e8 100644 (file)
@@ -163,7 +163,7 @@ bootstrap_fedora()
     fi
 
     echo "Mounting LiveOS squashfs file system."
-    if ! mount -o loop "${cache}/install.img" squashfs/
+    if ! mount -o loop -t squashfs "${cache}/install.img" squashfs/
     then
         echo "
 Error: Mount of LiveOS squashfs image failed