Skip to content

Commit

Permalink
template: Fix the container configuration issue in lxc-plamo
Browse files Browse the repository at this point in the history
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
tenforward authored and stgraber committed Oct 23, 2013
1 parent 9d65a48 commit a1e4c20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/lxc-plamo.in
Expand Up @@ -194,6 +194,9 @@ configure_plamo() {
ln -s ../usr/share/zoneinfo/Asia/Tokyo $rootfs/etc/localtime
# disable pam_loginuid.so in /etc/pam.d/login (for libvirt's lxc driver)
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
echo "Setting root password to 'root'..."
echo "root:root" | chroot $rootfs chpasswd
Expand Down

0 comments on commit a1e4c20

Please sign in to comment.