Configuring System Hostname with preseed and dhcp
Narcis Garcia
informatica at actiu.net
Mon Jun 22 15:19:17 UTC 2015
You can use one of:
preseed/early_command
preseed/late_command
to associate a script; this script can get the leased hostname, and run
in "chroot /target" a hostname command.
El 22/06/15 a les 13:14, Sebastian Himmler ha escrit:
> Hi,
>
> I'm currently trying to do an automated, preseeded installation of Ubuntu
> Gnome 14.04.
> Everything is working well, apart from the network config. I want to configure
> the client to set the hostname from dhcp or dns during installation. The
> dhcp-server is sending the host-name option. This config is working with
> normal ubuntu net installers.
>
> When the installation is finished, the hostname still remains "ubuntu".
>
> My net-cfg config:
> d-i netcfg/enable boolean true
> d-i netcfg/dhcp_timeout string 60
> d-i netcfg/choose_interface select eth0
>
>
> What else is there to be configured in Ubuntu Gnome?
>
> Thanks for your advise
>
> Sebastian
>
More information about the Ubuntu-GNOME
mailing list