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
a1e4c206
Commit
a1e4c206
authored
Oct 23, 2013
by
KATOH Yasufumi
Committed by
Stéphane Graber
Oct 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
template: Fix the container configuration issue in lxc-plamo
Signed-off-by:
KATOH Yasufumi
<
karma@jazz.email.ne.jp
>
Acked-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
9d65a487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lxc-plamo.in
templates/lxc-plamo.in
+3
-0
No files found.
templates/lxc-plamo.in
View file @
a1e4c206
...
@@ -194,6 +194,9 @@ configure_plamo() {
...
@@ -194,6 +194,9 @@ configure_plamo() {
ln
-s
../usr/share/zoneinfo/Asia/Tokyo
$rootfs
/etc/localtime
ln
-s
../usr/share/zoneinfo/Asia/Tokyo
$rootfs
/etc/localtime
# disable pam_loginuid.so in /etc/pam.d/login (for libvirt's lxc driver)
# disable pam_loginuid.so in /etc/pam.d/login (for libvirt's lxc driver)
sed
-i
'/pam_loginuid/s/^/#/'
$rootfs
/etc/pam.d/login
sed
-i
'/pam_loginuid/s/^/#/'
$rootfs
/etc/pam.d/login
# glibc configure
cp
$rootfs
/etc/ld.so.conf.new
$rootfs
/etc/ld.so.conf
chroot
$rootfs
ldconfig
# root password
# root password
echo
"Setting root password to 'root'..."
echo
"Setting root password to 'root'..."
echo
"root:root"
|
chroot
$rootfs
chpasswd
echo
"root:root"
|
chroot
$rootfs
chpasswd
...
...
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