[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: providing a static IP/Netmas/Gateway + location of a preseed file at boot prompt.



On Mon, Mar 17, 2014 at 1:18 PM, Mihamina Rakotomandimby <mihamina.rakotomandimby@rktmb.org> wrote:
Hi guys,

I would like to install my Debian machines with the Pressed D-I feature.

At this moment, I dont have a decent DHCP/BootP server yet, and waiting for this to be achieved, I want to manually provide the IP address at the boot prompt.

I already use it on others distributions install, but I miss the right syntax on Debian.

What I want is to issue something similar to

[...] ip=xxxxx netmask=yyyy gateway=zzzzz preseed/url="" href="http://host/preseed.cfg" target="_blank">http://host/preseed.cfg


My guess, reading the documentation is I cant directly put some preseed parameters in the boot parameters.
What I want would be:

[...] netcfg/get_ipaddress=92.168.1.42 \
      netcfg/get_netmask=255.255.255.0 \
      netcfg/get_gateway=192.168.1.1 \
      preseed/url="" href="http://host/preseed.cfg" target="_blank">http://host/preseed.cfg
 
Adding the below section in your preseed.cfg should work, hth.
 
# Static network configuration.
#d-i netcfg/get_nameservers string 192.168.124.1
#d-i netcfg/get_ipaddress string 192.168.1.6
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.124.1
#d-i netcfg/confirm_static boolean true

Am I right?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 5326A8C3.5060104@rktmb.org" target="_blank">https://lists.debian.org/[🔎] 5326A8C3.5060104@rktmb.org

Reply to: