diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | archinstall.sh | 10 | ||||
-rw-r--r-- | stages/first_stage.sh | 6 |
3 files changed, 11 insertions, 7 deletions
@@ -10,7 +10,7 @@ Note: There are many Arch Install scripts out there but I wanted to create my ow ## Usage 1. Download the Arch Linux .iso file (maybe [here](http://ftp.halifax.rwth-aachen.de/archlinux/iso/latest/)) and verify it. -2. Write the .iso to a USB stick (maybe with this [tool](https://www.balena.io/etcher/)) and boot the machine from this USB stick in UEFI mode. +2. Write the .iso to an USB stick (maybe with this [tool](https://www.balena.io/etcher/)) and boot the machine from this USB stick in UEFI mode. 3. Download the script with 'curl -L archinstall.xengineering.eu > archinstall.sh'. 4. Run the script with 'bash archinstall.sh' and follow the instructions. diff --git a/archinstall.sh b/archinstall.sh index 1e17ab6..2dfbf9e 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -30,14 +30,12 @@ # Settings -export TESTSERVER="8.8.8.8" # hostnames will not work properly +export TESTSERVER="archlinux.org" # IP or hostname export NETWORK_DEADLINE=1 # in seconds -export REPOSITORY_URL="https://github.com/xengineering/archinstall/" -export REPOSITORY_PATH="/opt/archinstall" -export BRANCH_OR_COMMIT="master" # select another branch name or commit hash if needed +export REPOSITORY_URL="https://github.com/xengineering/archinstall/" # remote +export REPOSITORY_PATH="/opt/archinstall" # local +export BRANCH_OR_COMMIT="master" # select another branch or commit hash for checkout if needed export LOG_FILE_PATH="/var/log/archinstall.log" -export CONFIG_FILE_PATH="/etc/archinstall/config.json" -export DEFAULT_PASSWORD="archinstall" # PATH expansion diff --git a/stages/first_stage.sh b/stages/first_stage.sh index a3b7c03..75f5b5a 100644 --- a/stages/first_stage.sh +++ b/stages/first_stage.sh @@ -21,6 +21,12 @@ echo "Entering first_stage.sh - OK" +# Settings + +export CONFIG_FILE_PATH="/etc/archinstall/config.json" +export DEFAULT_PASSWORD="archinstall" + + # Write config mkdir $(dirname "$CONFIG_FILE_PATH") |