2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-30 16:21:11 +00:00

defect 4571 /etc/network/interfaces overwriten after firstboot

This commit is contained in:
baiyuan
2015-02-12 22:55:34 -05:00
parent 50286e7bce
commit 700a192025

View File

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