From 700a192025cc042c51a1f6d345c588995fabf1c8 Mon Sep 17 00:00:00 2001 From: baiyuan Date: Thu, 12 Feb 2015 22:55:34 -0500 Subject: [PATCH] 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 a0d3fa0cc..746ba7152 100644 --- a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl +++ b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl @@ -131,5 +131,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