Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 13:56:42 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 13:56:42 +0100
commita66c2436ee67532e7625d88e5e7f293364e39fe0 (patch)
treec4792bb5a7be37e7febbf1b7cd989a2f6a198395 /archinstall.py
parent30e45d57a1829196fdbf1ba8eaaafa16f8e9996a (diff)
Added debug
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 8437575c..ec16e7ce 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -811,6 +811,8 @@ def setup_args_defaults(args, *positionals, **kwargs):
if get_default_gateway_linux():
ip = get_external_ip()
country = guess_country(ip)
+ print(ip)
+ print(country)
args['country'] = 'all' if not country else country
if not 'localtime' in args: args['localtime'] = 'Europe/Stockholm' if args['country'] == 'SE' else 'GMT+0' # TODO: Arbitrary for now