#!/bin/sh cd "$(dirname "$0")" [ -z "$1" ] && echo 'usage: ./install ' && exit 1 if [ -d "./$1" ]; then cd "$1" else echo 'no such profile' exit 1 fi archinstall \ --config user_configuration.json \ --disk-layout user_disk_layout.json \ --creds user_credentials.json