Skip to content

Commit

Permalink
Update InstallNET.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeClub authored Apr 22, 2022
1 parent f78f3fd commit 4c75424
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion InstallNET.sh
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ if [[ -n "$tmpDIST" ]]; then
[[ "$isDigital" == '9' ]] && DIST='stretch';
[[ "$isDigital" == '10' ]] && DIST='buster';
[[ "$isDigital" == '11' ]] && DIST='bullseye';
# [[ "$isDigital" == '12' ]] && DIST='bookworm';
}
}
LinuxMirror=$(selectMirror "$Relese" "$DIST" "$VER" "$tmpMirror")
Expand All @@ -373,6 +374,7 @@ if [[ -n "$tmpDIST" ]]; then
[[ "$isDigital" == '16.04' ]] && DIST='xenial';
[[ "$isDigital" == '18.04' ]] && DIST='bionic';
[[ "$isDigital" == '20.04' ]] && DIST='focal';
# [[ "$isDigital" == '22.04' ]] && DIST='jammy';
}
}
LinuxMirror=$(selectMirror "$Relese" "$DIST" "$VER" "$tmpMirror")
Expand Down Expand Up @@ -553,7 +555,7 @@ if [[ "$loaderMode" == "0" ]]; then
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= quiet"
BOOT_OPTION="auto=true $Add_OPTION hostname=$linux_relese domain=$linux_relese quiet"
elif [[ "$linux_relese" == 'centos' ]]; then
BOOT_OPTION="ks=file://ks.cfg $Add_OPTION ksdevice=$interfaceSelect"
fi
Expand Down

0 comments on commit 4c75424

Please sign in to comment.