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
7afc269d
Commit
7afc269d
authored
Dec 09, 2008
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enforce selinux to disabled
From: Daniel Lezcano <dlezcano@fr.ibm.com> Enforce selinux to disabled Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
35f549fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
lxc-debian.in
scripts/lxc-debian.in
+9
-1
No files found.
scripts/lxc-debian.in
View file @
7afc269d
...
@@ -18,6 +18,13 @@ CACHE="@LOCALSTATEDIR@/cache/lxc/debian"
...
@@ -18,6 +18,13 @@ CACHE="@LOCALSTATEDIR@/cache/lxc/debian"
# debian custom configuration files
# debian custom configuration files
################################################################################
################################################################################
# custom selinux
write_debian_selinux
()
{
mkdir
$ROOTFS
/selinux
echo
0
>
$ROOTFS
/selinux/enforce
}
# custom fstab
# custom fstab
write_debian_fstab
()
{
write_debian_fstab
()
{
...
@@ -219,7 +226,6 @@ create() {
...
@@ -219,7 +226,6 @@ create() {
)
200>/var/lock/subsys/lxc
)
200>/var/lock/subsys/lxc
fi
fi
write_lxc_mounts
write_lxc_mounts
write_lxc_configuration
write_lxc_configuration
...
@@ -234,6 +240,8 @@ write_debian_network
...
@@ -234,6 +240,8 @@ write_debian_network
write_debian_sshd_config
write_debian_sshd_config
write_debian_selinux
@BINDIR@/lxc-create
-n
$NAME
-f
$CONFFILE
@BINDIR@/lxc-create
-n
$NAME
-f
$CONFFILE
RES
=
$?
RES
=
$?
...
...
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