Skip to content

Commit d4c2fd6

Browse files
committed
Adding debug
1 parent 198ba06 commit d4c2fd6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

archinstall.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,10 @@ def setup_args_defaults(args, interactive=True):
817817
if not 'country' in args:
818818
country = None
819819
if get_default_gateway_linux():
820-
country = guess_country(get_external_ip())
820+
ip = get_external_ip()
821+
print('IP:', ip)
822+
country = guess_country(ip)
823+
print('Country:', country)
821824
args['country'] = 'all' if not country else country
822825
if not 'localtime' in args: args['localtime'] = 'Europe/Stockholm' if args['country'] == 'SE' else 'GMT+0' # TODO: Arbitrary for now
823826

0 commit comments

Comments
 (0)