diff --git a/README.md b/README.md index f9c9f8d..6a3d969 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,10 @@ The script expects minimal prep on your end. Please make sure that before execut - Boot an Arch Linux live CD ISO image - Run: ``` - curl -s https://quico.space/hygienic-books/config-jetbrains-ides/raw/branch/master/colors.scheme.xml | bash + export SCRIPT_URL='https://quico.space/quico-os-setup/arch-zbm/raw/branch/main/setup.sh' + curl -s "${SCRIPT_URL}" | bash ``` - + The script will call itself when it changes into its `chroot`, that's why we `export SCRIPT_URL`. Feel free to update `"${SCRIPT_URL}"` with whatever branch or revision you want to use from [quico.space/quico-os-setup/arch-zbm](https://quico.space/quico-os-setup/arch-zbm). Typically `.../branch/main/setup.sh` as shown above is what you want. # Steps The scripts takes the following installation steps. diff --git a/setup.sh b/setup.sh index a182442..6d09ec6 100644 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,9 @@ #!/bin/bash -declare this_script_remote_repo_raw_url zpool_name zfs_arch_dataset_name -this_script_remote_repo_raw_url='https://quico.space/...' +declare this_script_url +this_script_url="${SCRIPT_URL:?}" + +declare zpool_name zfs_arch_dataset_name zpool_name='zpool' zfs_arch_dataset_name='archlinux'