aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Normand <michel.mno@free.fr>2009-11-13 11:48:29 +0100
committerDaniel Lezcano <dlezcano@fr.ibm.com>2009-11-13 11:48:29 +0100
commit70dd139727aa74f82b0405ed476343ab8b0343d9 (patch)
tree21f1f6b0e8d413fc33aa952383d2cd5058d8a4c1
parentlxc-debian using new lxc.mount.entry keyword (diff)
downloadlxc-70dd139727aa74f82b0405ed476343ab8b0343d9.tar.gz
lxc-70dd139727aa74f82b0405ed476343ab8b0343d9.tar.bz2
lxc-70dd139727aa74f82b0405ed476343ab8b0343d9.zip
lxc: remove lxc.mount setting in lxc-fedora script
This script do not use extract fstab (as done by lxc-debian) so there is no reason to set the lxc.mount key in config file. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Michel Normand <michel_mno@laposte.net>
-rw-r--r--scripts/lxc-fedora.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/lxc-fedora.in b/scripts/lxc-fedora.in
index 54d7c74..7d7a6c5 100644
--- a/scripts/lxc-fedora.in
+++ b/scripts/lxc-fedora.in
@@ -7,7 +7,6 @@ CACHE="@LOCALSTATEDIR@/cache/lxc/${DISTRO}"
# Default container name
NAME="fedora"
CONFFILE="lxc.conf"
-MNTFILE="mount.conf"
UTSNAME=
IPV4="172.20.0.21"
GATEWAY="172.20.0.1"
@@ -138,7 +137,6 @@ lxc.network.flags = up
lxc.network.link = br0
lxc.network.name = eth0
lxc.network.mtu = ${MTU}
-lxc.mount = ${MNTFILE}
lxc.rootfs = ${ROOTFS}
lxc.cgroup.devices.deny = a
# /dev/null and zero
@@ -160,12 +158,6 @@ lxc.cgroup.devices.allow = c 254:0 rwm
EOF
}
-write_lxc_mounts() {
-cat <<EOF > ${MNTFILE}
-
-EOF
-}
-
create() {
# choose a container name, default is already in shell NAME variable
@@ -282,8 +274,6 @@ create() {
) 200> "@LOCALSTATEDIR@/lock/subsys/lxc"
fi
-write_lxc_mounts
-
write_lxc_configuration
write_distro_inittab
@@ -303,7 +293,6 @@ RES=$?
# remove the configuration files
rm -f ${CONFFILE}
-rm -f ${MNTFILE}
if [ "${RES}" != "0" ]; then
echo "Failed to create '${NAME}'"