[debian-edu-commits] r78753 - branches/wheezy/debian-edu-config/cf

Petter Reinholdtsen pere at hungry.com
Tue Jan 15 18:09:09 UTC 2013


[Wolfgang Schweer]
> Yes, it's o.k. until d-i finish-install, as I've written some days ago 
> on the debian-edu list. 
> IMO d-i/usr/lib/finish-install.d/55netcfg-copy-config checks if 
> network-manager is installed, and if that's the case, wipes out the 
> interfaces configuration. So if cfengine is runnig before, my approach 
> is a dead end.

<URL: http://anonscm.debian.org/gitweb/?p=d-i/netcfg.git;a=blob;f=finish-install.d/55netcfg-copy-config;h=191781ff024e6897e5c4ca71e4c97e4417f6286d;hb=HEAD >
seem to have several hooks that can be used to get the setup we want.
Preseeding netcfg/target_network_config seem to be one option.
Modifying /tmp/connection_type is another.  Rewriting
/etc/network/interfaces before it is copied a third.  Moving our
finish-install.d rules after 55netcfg-copy-config a forth, and
removing /usr/lib/finish-install.d/55netcfg-copy-config in our
finish-install.d hook a fifth.

I do not know which one is best.  I believe you will pick a good one
if you got time to work on this.

-- 
Happy hacking
Petter Reinholdtsen



More information about the debian-edu-commits mailing list