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
|
||||
|
||||
dns = None
|
||||
if len(dns := input('Enter your DNS servers (space separated, blank for none): ').strip()):
|
||||
dns = dns.split(' ')
|
||||
if len(dns_input := input('Enter your DNS servers (space separated, blank for none): ').strip()):
|
||||
dns = dns_input.split(' ')
|
||||
|
||||
archinstall.storage['_guided']['network'] = {'nic': nic, 'dhcp': False, 'ip': ip, 'gateway' : gateway, 'dns' : dns}
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue