From 2d6869521bd6fb4e3a8ec0dc14306dd6b92153aa Mon Sep 17 00:00:00 2001 From: WangXiaoPeng Date: Mon, 11 May 2015 04:32:26 -0400 Subject: [PATCH] merged the checkin 76a9da1e87dea03f9307d3438fe13f09546ef3ca; defect 4571 /etc/network/interfaces overwriten after firstboot --- xCAT-server/share/xcat/install/ubuntu/compute.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl index 8f725c850..336c15872 100644 --- a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl +++ b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl @@ -148,5 +148,6 @@ 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