mirror of
git://github.com/lxc/lxc
synced 2025-08-30 20:49:31 +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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user