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
192df6e2
Commit
192df6e2
authored
Oct 24, 2012
by
Serge Hallyn
Committed by
Stéphane Graber
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert devtmpfs in ubuntu templates
devtmpfs is shared between host and containers, and it messes up lucid containers too. Signed-off-by:
Serge Hallyn
<
serge.hallyn@ubuntu.com
>
parent
c215bff6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
lxc-ubuntu-cloud.in
templates/lxc-ubuntu-cloud.in
+0
-5
lxc-ubuntu.in
templates/lxc-ubuntu.in
+0
-5
No files found.
templates/lxc-ubuntu-cloud.in
View file @
192df6e2
...
...
@@ -95,11 +95,6 @@ EOF
proc proc proc nodev,noexec,nosuid 0 0
sysfs sys sysfs defaults 0 0
EOF
if
grep
devtmpfs /proc/filesystems
>
/dev/null 2>&1
;
then
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
...
...
templates/lxc-ubuntu.in
View file @
192df6e2
...
...
@@ -353,11 +353,6 @@ EOF
proc proc proc nodev,noexec,nosuid 0 0
sysfs sys sysfs defaults 0 0
EOF
if
grep
devtmpfs /proc/filesystems
>
/dev/null 2>&1
;
then
cat
<<
EOF
>>
$path
/fstab
devtmpfs dev devtmpfs defaults 0 0
EOF
fi
if
[
$?
-ne
0
]
;
then
echo
"Failed to add configuration"
...
...
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