Update InstallNET.sh

This commit is contained in:
Molly Lau 2022-11-13 19:15:17 +09:00 committed by GitHub
parent b286d05c4a
commit 5556e3edc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -693,7 +693,7 @@ if [[ "$loaderMode" == "0" ]]; then
[[ "$setInterfaceName" == "1" ]] && Add_OPTION="net.ifnames=0 biosdevname=0" || Add_OPTION=""
[[ "$setIPv6" == "1" ]] && Add_OPTION="$Add_OPTION ipv6.disable=1"
lowMem || Add_OPTION="$Add_OPTION lowmem=+2"
lowMem || Add_OPTION="$Add_OPTION lowmem=+0"
if [[ "$linux_relese" == 'debian' ]] || [[ "$linux_relese" == 'ubuntu' ]]; then
BOOT_OPTION="auto=true $Add_OPTION hostname=$linux_relese domain=$linux_relese quiet"