Update InstallNET.sh

This commit is contained in:
Molly Lau 2023-08-27 15:42:30 +09:00 committed by GitHub
parent 090719d0ea
commit 20a279ba3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1158,7 +1158,7 @@ function checkSys() {
# [[ ! `grep -i "testing" /etc/apk/repositories` ]] && sed -i '$a\http://ftp.udx.icscoe.jp/Linux/alpine/edge/testing' /etc/apk/repositories
# Alpine Linux use "apk" as package management.
apk update
apk add bash bind-tools coreutils cpio curl efibootmgr file gawk grep gzip ipcalc jq net-tools openssl sed shadow tzdata util-linux virt-what wget xz
apk add bash bind-tools coreutils cpio curl efibootmgr file gawk grep gzip ipcalc jq lsblk net-tools openssl sed shadow tzdata util-linux virt-what wget xz
# Use bash to replace ash.
sed -i 's/root:\/bin\/ash/root:\/bin\/bash/g' /etc/passwd
}