d-i preseed/late_command string \
in-target wget http://x.x.x.x/d-i/wheezy/postinst.pl -O /tmp/postinst.pl; \
in-target /bin/chmod 755 /tmp/postinst.pl; \
in-target /tmp/postinst.pl;
Maybe I could add an extra command to late_command after running my PERL script such as:
cp /target/etc/network/interfaces /etc/network/interfaces
but I am not sure if it is possible to mix "in-target" commands with no "in-target" commands in one single late_command config param. Did you maybe already try that and know? else I will simply give it a try later on.
----- Original Message -----
From: Brian <ad...@cityscape.co.uk>
To: debia...@lists.debian.org
Cc:
Sent: Monday, May 20, 2013 5:14 PM
Subject: Re: Wheezy preseed overwritting interfaces file
/bin/echo <something> >> /target/e/n/i
/bin/echo <something> >> /e/n/i
Archive: http://lists.debian.org/1369065261.557...@web164606.mail.gq1.yahoo.com
d-i preseed/late_command string \
in-target wget http://x.x.x.x/d-i/wheezy/postinst.pl -O /tmp/postinst.pl; \
in-target /bin/chmod 755 /tmp/postinst.pl; \
in-target /tmp/postinst.pl; \
cp /target/etc/network/interfaces /etc/network/interfaces;
Just did a test preseed installation using that and it worked perfectly. Nice and easy workaround for a weird modification in netcfg as you say... I guess a few other people will get stuck too. I am still suprised that netcfg does not support the configuration of bonding, VLAN or bridging. But until it does people will have to find solutions like mine and modify /e/n/i afterwards.
----- Original Message -----
From: Brian <ad...@cityscape.co.uk>
To: debia...@lists.debian.org
Cc:
Sent: Monday, May 20, 2013 8:55 PM
Subject: Re: Wheezy preseed overwritting interfaces file
Archive: http://lists.debian.org/1369085136.711...@web164601.mail.gq1.yahoo.com