diff options
author | EuAndreh <eu@euandre.org> | 2019-06-01 17:27:29 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-01 17:27:29 -0300 |
commit | 7ae63ca6930be5042f2b54c3098e9998998c2872 (patch) | |
tree | 11cb8d72fca7fc9ca3186810ea95738384a9f2ea | |
parent | Use sgdisk to automate the creation of partitions (diff) | |
download | dotfiles-7ae63ca6930be5042f2b54c3098e9998998c2872.tar.gz dotfiles-7ae63ca6930be5042f2b54c3098e9998998c2872.tar.xz |
Add utillinux to install-nixos.sh installation list
In order to include the wipefs program.
-rwxr-xr-x | public/install-nixos.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/install-nixos.sh b/public/install-nixos.sh index 5f6f8ce..3f0fa81 100755 --- a/public/install-nixos.sh +++ b/public/install-nixos.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell --pure -i bash -p bash jq envsubst wget +#!nix-shell --pure -i bash -p bash jq envsubst wget utillinux # shellcheck shell=bash set -Eeuo pipefail @@ -37,7 +37,9 @@ Usage: Examples: Download install-nixos.sh and run it with 'velhinho-nixos' as hostName and '/dev/sda' as disk device: - wget -O- https://euandre.org/dotfiles/install-nixos.sh | sh -s velhinho-nixos /dev/sda + curl https://euandre.org/dotfiles/install-nixos.sh > install-nixos.sh + chmod +x install-nixos.sh + ./install-nixos.sh velhinho-nixos /dev/sda EOF } |