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

debian preseed net configuration



I'm trying to setup a debian preseed with a pxeboot setup. But it always seems to ignore the netcfg section; or perhaps I am configuring it wrong.

I am getting the preseed file from tftp. I'm fine if it needs to use DHCP while it's installing, but why doesn't it configure it for static after it's done?

# Static Network Config (10.246.89.89/24)
d-i netcfg/choose_interface select ens192
d-i netcfg/disable_autoconfig boolean true

d-i netcfg/get_ipaddress string 10.246.89.89
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 10.246.89.254
d-i netcfg/get_nameservers string 10.9.6.114 10.9.6.138
d-i netcfg/confirm_static boolean true

Thanks.


Reply to: