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
555fc01a
Commit
555fc01a
authored
Dec 16, 2016
by
Christian Brauner
Committed by
GitHub
Dec 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1357 from evgeni/opensuse-systemd-fixes
OpenSUSE systemd fixes
parents
154a7412
62386d93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
lxc-opensuse.in
templates/lxc-opensuse.in
+1
-5
No files found.
templates/lxc-opensuse.in
View file @
555fc01a
...
...
@@ -101,7 +101,7 @@ EOF
ln
-s
/dev/null
$rootfs
/etc/systemd/system/proc-sys-fs-binfmt_misc.automount
ln
-s
/dev/null
$rootfs
/etc/systemd/system/console-shell.service
ln
-s
/dev/null
$rootfs
/etc/systemd/system/systemd-vconsole-setup.service
sed
-e
's/ConditionPathExists=.*//'
/usr/lib/systemd/system/getty@.service
>
$rootfs
/etc/systemd/system/getty@.service
sed
-e
's/ConditionPathExists=.*//'
$rootfs
/usr/lib/systemd/system/getty@.service
>
$rootfs
/etc/systemd/system/getty@.service
ln
-s
getty@.service
$rootfs
/etc/systemd/system/getty@tty1.service
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@console.service
ln
-s
-f
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty1.service
...
...
@@ -109,10 +109,6 @@ EOF
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty3.service
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty4.service
# copy host poweroff target as sigpwr target to make shutdown work
# see https://wiki.archlinux.org/index.php/Linux_Containers#Container_cannot_be_shutdown_if_using_systemd
cp
/usr/lib/systemd/system/poweroff.target
$rootfs
/usr/lib/systemd/system/sigpwr.target
touch
$rootfs
/etc/sysconfig/kernel
echo
"Please change root-password !"
...
...
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