summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-12 10:59:43 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-12 10:59:43 +0100
commit9a0a971240c5fac8e68c13ac61a9ddef5dabeb83 (patch)
treea5886322cf40fb1496e56186b541d760e60c3c2f
parent206cedd3df511f4f57c5bff3e7b9392be8ca9f9c (diff)
downloadarchinstall-9a0a971240c5fac8e68c13ac61a9ddef5dabeb83.tar
archinstall-9a0a971240c5fac8e68c13ac61a9ddef5dabeb83.tar.zst
archinstall-9a0a971240c5fac8e68c13ac61a9ddef5dabeb83.zip
Some small changes.
-rw-r--r--README.md2
-rw-r--r--archinstall.sh10
-rw-r--r--stages/first_stage.sh6
3 files changed, 11 insertions, 7 deletions
diff --git a/README.md b/README.md
index c56d7bb..e875a93 100644
--- a/README.md
+++ b/README.md
@@ -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")