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

Re: Debian install preseed passing parameters.

On Mon 10 Jul 2017 at 09:01:50 +0300, Mimiko wrote:

> Hello.
> I want to preseed a Debian Strech installation. I pass different parameters via params to kernel and other from preseed.cfg using a netboot setup.
> This is how I start install:
> initrd http://${next-server}/linux/debian/9.0.0/netboot-amd64/debian-installer/amd64/initrd.gz
> && chain http://${next-server}/linux/debian/9.0.0/netboot-amd64/debian-installer/amd64/linux
> vga=788 net.ifnames=0 biosdevname=0 priority=low language=en country=US
> locale=en_US.UTF-8 keyboard-configuration/xkb-keymap=us
> netcfg/disable_autoconfig=true netcfg/disable_dhcp=true
> netcfg/dhcp_options="Configure network manually" netcfg/get_ipaddress=${ip}
> netcfg/get_netmask=${netmask} netcfg/get_gateway=${gateway}
> netcfg/get_nameservers=${dns} netcfg/get_hostname=${hostname}
> netcfg/get_domain=${domain} netcfg/confirm_static=true
> ethdetect/prompt_missing_firmware=false hw-detect/load_firmware=false
> hw-detect/load_media=false netcfg/link_wait_timeout=3 DEBCONF_DEBUG=5
> preseed/url=http://${next-server}/linux/debian/9.0.0/preseed.cfg --- text
> net.ifnames=0 biosdevname=0
> I specify full network config but I still get the screen with question "Auto-configure networking?": <Yes>, <No>. Where <No> is selected.

> How to get rid of this screen? I do not specify network config in preseed.cfg, as it is loaded after network is configured.

Are you sure? The preseed file is loaded before network configuration here.

Reply to: