defect 4571 /etc/network/interfaces overwriten after firstboot

This commit is contained in:
baiyuan 2015-02-12 22:55:47 -05:00
parent 8eb652f9b1
commit 76a9da1e87

View File

@ -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