Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
a30ce0ac
Commit
a30ce0ac
authored
Aug 31, 2011
by
Ramez Hanna
Committed by
Daniel Lezcano
Aug 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
262f4e48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lxc-fedora.in
templates/lxc-fedora.in
+5
-5
No files found.
templates/lxc-fedora.in
View file @
a30ce0ac
...
...
@@ -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]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment