mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Merge branch 'master' of github.com:bohanyang/debi
This commit is contained in:
@@ -63,6 +63,9 @@ Download the script with curl:
|
|||||||
|
|
||||||
curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
|
curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
|
||||||
|
|
||||||
|
# for IPv6-only machines
|
||||||
|
curl -fLO --resolve 'raw.githubusercontent.com:443:2a04:4e42::133' https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
|
||||||
|
|
||||||
or wget:
|
or wget:
|
||||||
|
|
||||||
wget -O debi.sh https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
|
wget -O debi.sh https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
|
||||||
|
|||||||
@@ -347,7 +347,7 @@ EOF
|
|||||||
echo 'd-i hw-detect/load_firmware boolean true' | $save_preseed
|
echo 'd-i hw-detect/load_firmware boolean true' | $save_preseed
|
||||||
|
|
||||||
if [ "$network_console" = true ]; then
|
if [ "$network_console" = true ]; then
|
||||||
$save_preseed << EOF
|
$save_preseed << 'EOF'
|
||||||
|
|
||||||
# Network console
|
# Network console
|
||||||
|
|
||||||
@@ -511,7 +511,7 @@ EOF
|
|||||||
mountpoint{ / } \
|
mountpoint{ / } \
|
||||||
.
|
.
|
||||||
EOF
|
EOF
|
||||||
echo "d-i partman-auto/choose_recipe select naive" | $save_preseed
|
echo 'd-i partman-auto/choose_recipe select naive' | $save_preseed
|
||||||
|
|
||||||
$save_preseed << 'EOF'
|
$save_preseed << 'EOF'
|
||||||
d-i partman-basicfilesystems/no_swap boolean false
|
d-i partman-basicfilesystems/no_swap boolean false
|
||||||
@@ -560,7 +560,7 @@ popularity-contest popularity-contest/participate boolean false
|
|||||||
d-i grub-installer/bootdev string default
|
d-i grub-installer/bootdev string default
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
[ "$force_efi_extra_removable" = true ] && echo "d-i grub-installer/force-efi-extra-removable boolean true" | $save_preseed
|
[ "$force_efi_extra_removable" = true ] && echo 'd-i grub-installer/force-efi-extra-removable boolean true' | $save_preseed
|
||||||
[ -n "$kernel_params" ] && echo "d-i debian-installer/add-kernel-opts string$kernel_params" | $save_preseed
|
[ -n "$kernel_params" ] && echo "d-i debian-installer/add-kernel-opts string$kernel_params" | $save_preseed
|
||||||
|
|
||||||
$save_preseed << 'EOF'
|
$save_preseed << 'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user