Re: Preseed and host based varaibles
On Mon, 06 Jun 2011 15:02:49 +0100, Wawrzek Niewodniczanski wrote:
> I wonder if it possible with preseed to set some response as a variable
> base on a hostname. I.e. in exim4 do:
>
> exim4-config exim4/mailname string ($hostname) where $hostname is
> pick-up from machine the OS is installed on.
>
> If it is not possible I'll create a preseed.cfg file dynamical.
Hum... how could the installer get access to the current installed system
to fetch the hostname from there? Let's imagine there are 4 linux
installations in several disks or partitions... what hostname to choose,
what to mount...? :-?
I ask because I don't know, I'm just curious on how the preseeding works
and about its capabilities :-)
Greetings,
--
Camaleón
Reply to: