mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-06-05 19:20:17 +00:00
lxc-ubuntu{-cloud}: Fix missing "fi" in new devtmpfs code
The "if" statement to add devtmpfs was missing a matching "fi" causing parsing error when using the template. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
0b53175846
commit
c215bff6df
@ -99,6 +99,7 @@ EOF
|
||||
cat <<EOF >> $path/fstab
|
||||
devtmpfs dev devtmpfs defaults 0 0
|
||||
EOF
|
||||
fi
|
||||
|
||||
# rmdir /dev/shm for containers that have /run/shm
|
||||
# I'm afraid of doing rm -rf $rootfs/dev/shm, in case it did
|
||||
|
@ -357,6 +357,7 @@ EOF
|
||||
cat <<EOF >> $path/fstab
|
||||
devtmpfs dev devtmpfs defaults 0 0
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to add configuration"
|
||||
|
Loading…
Reference in New Issue
Block a user