aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamez Hanna <rhanna@informatiq.org>2011-08-31 00:20:09 +0200
committerDaniel Lezcano <dlezcano@fr.ibm.com>2011-08-31 00:20:09 +0200
commita30ce0ac4db1bac032799da550f747cf17e45d08 (patch)
tree5a7e978217a2e8ad22f545b8ac77bcbff1b03516
parentadd lxc-altlinux template (diff)
downloadlxc-a30ce0ac4db1bac032799da550f747cf17e45d08.tar.gz
lxc-a30ce0ac4db1bac032799da550f747cf17e45d08.tar.bz2
lxc-a30ce0ac4db1bac032799da550f747cf17e45d08.zip
fix for missing EOF and fstab contents
templates/lxc-fedora.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--templates/lxc-fedora.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index 81f8bc4..c166efb 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -224,10 +224,10 @@ lxc.cgroup.devices.allow = c 254:0 rwm
EOF
cat <<EOF > $config_path/fstab
-+proc $rootfs_path/proc proc nodev,noexec,nosuid 0 0
-+devpts $rootfs_path/dev/pts devpts defaults 0 0
-+sysfs $rootfs_path/sys sysfs defaults 0 0
-
+proc $rootfs_path/proc proc nodev,noexec,nosuid 0 0
+devpts $rootfs_path/dev/pts devpts defaults 0 0
+sysfs $rootfs_path/sys sysfs defaults 0 0
+EOF
if [ $? -ne 0 ]; then
echo "Failed to add configuration"
return 1
@@ -268,7 +268,7 @@ usage:
Mandatory args:
-n,--name container name, used to as an identifier for that container from now on
Optional args:
- -p,--path path to where the container rootfs will be created, defaults to /var/lib/lxc. The container config will go under /var/lib/lxc in and case
+ -p,--path path to where the container rootfs will be created, defaults to /var/lib/lxc. The container config will go under /var/lib/lxc in that case
-c,--clean clean the cache
-R,--release Fedora release for the new container. if the host is Fedora, then it will defaultto the host's release.
-A,--arch NOT USED YET. Define what arch the container will be [i686,x86_64]