Updated README to reflect parameter changes.

This commit is contained in:
Anton Hvornum 2019-11-29 14:55:13 +01:00
parent a66c2436ee
commit 4051175650
2 changed files with 7 additions and 4 deletions

View file

@ -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>

View file

@ -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