[cobbler] Trusty/wheezy preseed_late_default networking
Derek Yarnell
derek at umiacs.umd.edu
Mon May 5 13:52:32 UTC 2014
Hi,
Just a FYI to the list that if you want to keep the changes to
/etc/network/interfaces that come in the
$SNIPPET/post_install_network_config_deb then you will need to make sure
your preseed_late_default line has a extra step of copying the outside
of the chroot. There was a post on the debian list[2] two years and a
bug[1] that has gone basically ignored.
Eg something like,
d-i preseed/late_command string \
in-target wget
http://$http_server/cblr/svc/op/script/$what/$name/?script=preseed_late_default
-O /tmp/postinst.sh; \
in-target /bin/chmod 755 /tmp/postinst.sh; \
in-target /tmp/postinst.sh; \
cp /target/etc/network/interfaces /etc/network/interfaces;
[1] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709017
[2] - https://lists.debian.org/debian-user/2013/05/msg01012.html
Thanks,
derek
--
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
More information about the cobbler
mailing list