index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 14:55:13 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 14:55:13 +0100 |
commit | 405117565054db73dde6ffd519873060a8564eaa (patch) | |
tree | 7b7bd4cfe8468dd7f33d059e58bb3fc19b4106c2 | |
parent | a66c2436ee67532e7625d88e5e7f293364e39fe0 (diff) |
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | archinstall.py | 2 |
@@ -53,6 +53,9 @@ More options for the built ISO: --drive=</dev/sdX> 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=<name> 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 |