ソースを参照

Set default disk to the device mounted to root

Brent Yang 2 年 前
コミット
4ea2f8b3a2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      debi.sh

+ 1 - 1
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