oops
This commit is contained in:
parent
f81e397cf7
commit
c7006c6be0
1 changed files with 1 additions and 2 deletions
|
@ -125,8 +125,7 @@ ensure_confirmation() {
|
||||||
|
|
||||||
partition_disk() {
|
partition_disk() {
|
||||||
if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then
|
if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then
|
||||||
sudo nix --experimental-features 'flakes nix-command' run --github:nix-community/disko/latest \
|
sudo nix --experimental-features 'flakes nix-command' run --github:nix-community/disko/latest -- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix"
|
||||||
-- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix"
|
|
||||||
else
|
else
|
||||||
>&2 echo "Aborted installation due to invalid state in the partitioning step."
|
>&2 echo "Aborted installation due to invalid state in the partitioning step."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue