Logical issue with how I stripped the response. It overrode the None but never reverted it back.
This commit is contained in:
parent
092f2d3240
commit
cb6ab2c28b
|
|
@ -208,8 +208,8 @@ if nic:
|
||||||
gateway = None
|
gateway = None
|
||||||
|
|
||||||
dns = None
|
dns = None
|
||||||
if len(dns := input('Enter your DNS servers (space separated, blank for none): ').strip()):
|
if len(dns_input := input('Enter your DNS servers (space separated, blank for none): ').strip()):
|
||||||
dns = dns.split(' ')
|
dns = dns_input.split(' ')
|
||||||
|
|
||||||
archinstall.storage['_guided']['network'] = {'nic': nic, 'dhcp': False, 'ip': ip, 'gateway' : gateway, 'dns' : dns}
|
archinstall.storage['_guided']['network'] = {'nic': nic, 'dhcp': False, 'ip': ip, 'gateway' : gateway, 'dns' : dns}
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue