From febbabcb958e8b8800d31fbd14f8d5922287be35 Mon Sep 17 00:00:00 2001 From: Brent Yang <8384161+bohanyang@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:27:47 +0900 Subject: [PATCH] Set default disk to the device mounted to root --- debi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debi.sh b/debi.sh index 1e40245..f4de450 100755 --- a/debi.sh +++ b/debi.sh @@ -214,7 +214,7 @@ sudo_with_password=false timezone=UTC ntp=time.google.com disk_partitioning=true -disk= +disk=$(df / | grep -Eo '^/dev/[a-z]+') force_gpt=true efi= esp=106