Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 84045b83..f1dff059 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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: