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
91bcb2dd
Commit
91bcb2dd
authored
Jan 15, 2014
by
Dwight Engen
Committed by
Stéphane Graber
Jan 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oracle template: don't sed /etc/init/tty.conf on older releases
Signed-off-by:
Dwight Engen
<
dwight.engen@oracle.com
>
Acked-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
9e69977f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lxc-oracle.in
templates/lxc-oracle.in
+3
-1
No files found.
templates/lxc-oracle.in
View file @
91bcb2dd
...
...
@@ -245,7 +245,9 @@ EOF
echo
"pts/0"
>>
$container_rootfs
/etc/securetty
# prevent mingetty from calling vhangup(2) since it fails with userns
sed
-i
's|mingetty|mingetty --nohangup|'
$container_rootfs
/etc/init/tty.conf
if
[
-f
$container_rootfs
/etc/init/tty.conf
]
;
then
sed
-i
's|mingetty|mingetty --nohangup|'
$container_rootfs
/etc/init/tty.conf
fi
# dont try to unmount /dev/lxc devices
sed
-i
's|&& $1 !~ /^\\/dev\\/ram/|\&\& $2 !~ /^\\/dev\\/lxc/ \&\& $1 !~ /^\\/dev\\/ram/|'
$container_rootfs
/etc/init.d/halt
...
...
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