From 76a9da1e87dea03f9307d3438fe13f09546ef3ca Mon Sep 17 00:00:00 2001 From: baiyuan Date: Thu, 12 Feb 2015 22:55:47 -0500 Subject: [PATCH] defect 4571 /etc/network/interfaces overwriten after firstboot --- xCAT-server/share/xcat/install/ubuntu/service.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/install/ubuntu/service.tmpl b/xCAT-server/share/xcat/install/ubuntu/service.tmpl index ca87469ee..ec6ef2d77 100644 --- a/xCAT-server/share/xcat/install/ubuntu/service.tmpl +++ b/xCAT-server/share/xcat/install/ubuntu/service.tmpl @@ -131,5 +131,5 @@ d-i preseed/late_command string wget http://`cat /tmp/xcatserver`/install/autoin mount -o bind /dev /target/dev; \ mount -o bind /dev/pts /target/dev/pts -t devpts; \ mount -o bind /sys /target/sys; \ - chroot /target /root/post.script - + chroot /target /root/post.script; \ + cp /target/etc/network/interfaces /etc/network/interfaces