[lxc-devel] [PATCH] plamo template: Update because rc script of plamo was updated

KATOH Yasufumi karma at jazz.email.ne.jp
Wed Dec 11 07:19:23 UTC 2013


Signed-off-by: TAMUKI Shoichi <tamuki at linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 templates/lxc-plamo.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in
index bc4f80b..bcf226c 100644
--- a/templates/lxc-plamo.in
+++ b/templates/lxc-plamo.in
@@ -195,7 +195,7 @@ configure_plamo() {
   # 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
+  mv $rootfs/etc/ld.so.conf{.new,}
   chroot $rootfs ldconfig
   # root password
   echo "Setting root password to 'root'..."
@@ -211,7 +211,7 @@ configure_plamo() {
 	EOF
   # /etc/rc.d/rc.M
   ed - $rootfs/etc/rc.d/rc.M <<- "EOF"
-	247,248d
+	259,260d
 	56,79d
 	31,38d
 	w
-- 
1.8.4.4



More information about the lxc-devel mailing list