Logical issue with how I stripped the response. It overrode the None but never reverted it back.

This commit is contained in:
Anton Hvornum 2020-11-11 20:26:21 +00:00
parent 092f2d3240
commit cb6ab2c28b
1 changed files with 2 additions and 2 deletions

View File

@ -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: