From 405117565054db73dde6ffd519873060a8564eaa Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 29 Nov 2019 14:55:13 +0100 Subject: Updated README to reflect parameter changes. --- README.md | 9 +++++++-- archinstall.py | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2682979e..39a40bd8 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,9 @@ More options for the built ISO: --drive= Which drive to install arch on, if absent, the first disk under /dev/ is used + + --minimal + Starts a minimal installation, and skips looking for profiles. --size=100% (Default) Sets the size of the root filesystem (btrfs) @@ -75,8 +78,10 @@ More options for the built ISO: --hostname=Arcinstall (Default) Sets the hostname of the box - --country=SE (Default) + --country=all (Default) Default mirror allocation for fetching packages. + If network is found, archinstall will try to attempt and guess which country the + install originates from, basing it off GeoIP off your public IP (uses https://hvornu.se/ip/ for lookups) --packages='' (Default) Which additional packages to install, defaults to none. @@ -88,7 +93,7 @@ More options for the built ISO: --post=reboot (Default) After a successful install, reboots into the system. Use --post=stay to not reboot. - --default + --unattended This parameter causes the installation script to install arch unattended on the first disk --profile= diff --git a/archinstall.py b/archinstall.py index ec16e7ce..8437575c 100644 --- a/archinstall.py +++ b/archinstall.py @@ -811,8 +811,6 @@ 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 -- cgit v1.2.3-54-g00ecf