13 lines
303 B
Bash
13 lines
303 B
Bash
#!/usr/bin/env bash
|
|
# run from the arch live image as root
|
|
# requires config.json and creds.json in the same directory
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
archinstall \
|
|
--config "$SCRIPT_DIR/config.json" \
|
|
--creds "$SCRIPT_DIR/creds.json" \
|
|
--silent
|