Updated README to reflect parameter changes.
This commit is contained in:
parent
a66c2436ee
commit
4051175650
|
|
@ -54,6 +54,9 @@ More options for the built ISO:
|
||||||
--drive=</dev/sdX>
|
--drive=</dev/sdX>
|
||||||
Which drive to install arch on, if absent, the first disk under /dev/ is used
|
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)
|
--size=100% (Default)
|
||||||
Sets the size of the root filesystem (btrfs)
|
Sets the size of the root filesystem (btrfs)
|
||||||
|
|
||||||
|
|
@ -75,8 +78,10 @@ More options for the built ISO:
|
||||||
--hostname=Arcinstall (Default)
|
--hostname=Arcinstall (Default)
|
||||||
Sets the hostname of the box
|
Sets the hostname of the box
|
||||||
|
|
||||||
--country=SE (Default)
|
--country=all (Default)
|
||||||
Default mirror allocation for fetching packages.
|
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)
|
--packages='' (Default)
|
||||||
Which additional packages to install, defaults to none.
|
Which additional packages to install, defaults to none.
|
||||||
|
|
@ -88,7 +93,7 @@ More options for the built ISO:
|
||||||
--post=reboot (Default)
|
--post=reboot (Default)
|
||||||
After a successful install, reboots into the system. Use --post=stay to not reboot.
|
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
|
This parameter causes the installation script to install arch unattended on the first disk
|
||||||
|
|
||||||
--profile=<name>
|
--profile=<name>
|
||||||
|
|
|
||||||
|
|
@ -811,8 +811,6 @@ def setup_args_defaults(args, *positionals, **kwargs):
|
||||||
if get_default_gateway_linux():
|
if get_default_gateway_linux():
|
||||||
ip = get_external_ip()
|
ip = get_external_ip()
|
||||||
country = guess_country(ip)
|
country = guess_country(ip)
|
||||||
print(ip)
|
|
||||||
print(country)
|
|
||||||
args['country'] = 'all' if not country else 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
|
if not 'localtime' in args: args['localtime'] = 'Europe/Stockholm' if args['country'] == 'SE' else 'GMT+0' # TODO: Arbitrary for now
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue