#!/bin/sh set -e cd "$(dirname "$0")" [ -z "$1" ] && echo 'usage: ./install ' && exit 1 if [ -d "./$1" ]; then cd "$1" else echo 'no such profile' exit 1 fi echo 'Remember to add a password for root and the user!' read DUMMY archinstall \ --config user_configuration.json \ --disk-layout user_disk_layout.json \ --creds user_credentials.json