core: 使用 get-xda.sh 寻找主硬盘

This commit is contained in:
bin456789
2024-02-02 00:31:21 +08:00
parent 5150feddc6
commit 5d3227fe64
5 changed files with 50 additions and 46 deletions

View File

@ -27,8 +27,9 @@ autoinstall:
done
# 生成分区信息
export main_disk
curl -L $confhome/ubuntu-storage-early.sh | bash -s
xda=$(curl -L "$confhome/get-xda.sh" | sh -s)
export xda
curl -L "$confhome/ubuntu-storage-early.sh" | sh -s
# 内核风味
# https://bugs.launchpad.net/subiquity/+bug/1989353