Commit a1e4c206 by KATOH Yasufumi Committed by Stéphane Graber

template: Fix the container configuration issue in lxc-plamo

parent 9d65a487
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment