Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 14:55:13 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 14:55:13 +0100
commit405117565054db73dde6ffd519873060a8564eaa (patch)
tree7b7bd4cfe8468dd7f33d059e58bb3fc19b4106c2
parenta66c2436ee67532e7625d88e5e7f293364e39fe0 (diff)
Updated README to reflect parameter changes.
-rw-r--r--README.md9
-rw-r--r--archinstall.py2
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=</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