aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-05-04 11:05:29 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-05-04 11:05:29 -0700
commit4019ae21b8bf47dc8be14ee280afc7eb2b573eca (patch)
tree2362e5cae6ff6ee3bf96b83f6cc4a8514bf2dc9d
parentb754c30b8c2882a8b4098dc34b41d6607708d837 (diff)
downloadnix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.tar
nix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.tar.gz
nix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.tar.bz2
nix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.tar.lz
nix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.tar.xz
nix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.tar.zst
nix-4019ae21b8bf47dc8be14ee280afc7eb2b573eca.zip
Adjust output format
-rwxr-xr-xscripts/install-with-disko3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install-with-disko b/scripts/install-with-disko
index 5845c2d..00bcd5d 100755
--- a/scripts/install-with-disko
+++ b/scripts/install-with-disko
@@ -59,7 +59,7 @@ if grep -q "data.keyfile" "${DIR}/../hosts/${TARGET_HOST}/disks.nix"; then
echo -n "Re-enter passphrase: "
read -s pass2
- echo -e '\n'
+ echo
if [[ "${pass}" != "${pass2}" ]]; then
echo 'ERROR! Passphrases must match.' >&2
@@ -74,6 +74,7 @@ fi
<<EOF
+
++++++++ The disk(s) in ${TARGET_HOST} are about to get wiped!
WARNING! NixOS will be re-installed on ${TARGET_HOST}.
++++++++ This is a destructive operation!!!