Re: Trouble with automated install - preseeding hostname and domain fails.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Alexander Frederiksen wrote:
| I'm working on a fully automated install, using the preseeding examples
| in the sarge install guide as well as those found on
| http://kitenet.net/~joey/d-i/preseed/
|
| Most of the preseeding seems to work (partitioning, base config, etc.),
| but no matter what strings i throw at netcfg/get_hostname and
| netcfg/get_domain I end up being presented with thoses two questions
| anyway. I've even had a go at adding them to the kernel append-line,
| just to see what happened. Nothing has worked so far.
|
| I'm netbooting using PXE, and getting all files from a local mirror. The
| preseed-file is fetched via http.
|
| I'm using installer-files picked up from an official mirror on the 18th
| of April (current). Any ideas as to what might be wrong?
|
I have done this using this:
base-config base-config/late_command string echo "auto lo" >
/etc/network/interfaces ;echo "iface lo inet loopback" >>
/etc/network/interfaces ;echo "auto eth0 " >> /etc/network/interfaces
;echo "iface eth0 inet static " >> /etc/network/interfaces ;echo
"address $IP_ADDRESS " >> /etc/network/interfaces ;echo "netmask
$NETMASK " >> /etc/network/interfaces ;echo "gateway $GATEWAY" >>
/etc/network/interfaces ;echo " $SERVER_NAME_SHORT " > /etc/hostname ;reboot
Regards
M.Marinov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCZ3ty3Yxvcd1IerIRAtfLAKDHZFXjm9GmPxh8JYN0W/I9nh5PgwCcCuyd
Wiw4vQicGggSku+S3q+g97o=
=mm5a
-----END PGP SIGNATURE-----
Reply to: