mirror of
https://github.com/tteck/Proxmox.git
synced 2026-10-05 10:22:58 +00:00
Update alpine-install.func
tweak disable_ipv6
This commit is contained in:
1 parent
59b4e28413
commit
88092fa613
1 file changed
+2
-2
@@ -22,8 +22,9 @@ verb_ip6() {
|
||||
else STD="silent"; fi
|
||||
silent() { "$@" >/dev/null 2>&1; }
|
||||
if [ "$DISABLEIPV6" == "yes" ]; then
|
||||
$STD sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||
echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf
|
||||
$STD sysctl -p
|
||||
$STD rc-update add sysctl default
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -117,7 +118,6 @@ motd_ssh() {
|
||||
}
|
||||
|
||||
customize() {
|
||||
$STD sysctl -p
|
||||
if [[ "$PASSWORD" == "" ]]; then
|
||||
msg_info "Customizing Container"
|
||||
bash -c "passwd -d root" >/dev/null 2>&1
|
||||
|
||||
Reference in new issue
Block a user