mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
@ -140,12 +140,12 @@ d-i partman/early_command string true; \
|
||||
|
||||
echo "rm -rf /target/boot/efi/*; $postinst.orig" >>$postinst; \
|
||||
|
||||
xda=$(wget --tries=5 "$confhome/get-xda.sh" -O- | sh -s); \
|
||||
xda=$(sh /get-xda.sh); \
|
||||
debconf-set partman-auto/disk "/dev/$xda"; \
|
||||
debconf-set grub-installer/bootdev "/dev/$xda"; \
|
||||
rm -rf /usr/sbin/fdisk /usr/sbin/sfdisk; \
|
||||
|
||||
ttys=$(wget --tries=5 "$confhome/ttys.sh" -O- | sh -s console=); \
|
||||
ttys=$(sh /ttys.sh console=); \
|
||||
debconf-set debian-installer/add-kernel-opts "$ttys"; \
|
||||
|
||||
sh /can_use_cloud_kernel.sh "$xda" || debconf-set base-installer/kernel/image "$(debconf-get base-installer/kernel/image | sed 's/-cloud//')"; \
|
||||
|
||||
Reference in New Issue
Block a user