mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-11-17 13:36:45 +08:00
Update install_pve7.sh
This commit is contained in:
parent
3f09d8977a
commit
9675030c04
1 changed files with 4 additions and 0 deletions
|
@ -13,7 +13,11 @@ fi
|
||||||
if ! command -v curl > /dev/null 2>&1; then
|
if ! command -v curl > /dev/null 2>&1; then
|
||||||
apt-get install -y curl
|
apt-get install -y curl
|
||||||
fi
|
fi
|
||||||
|
if ! command -v ufw > /dev/null 2>&1; then
|
||||||
|
apt-get install -y ufw
|
||||||
|
fi
|
||||||
apt-get install gnupg -y
|
apt-get install gnupg -y
|
||||||
|
ufw disable
|
||||||
|
|
||||||
# 修改 /etc/hosts
|
# 修改 /etc/hosts
|
||||||
ip=$(curl -s ipv4.ip.sb)
|
ip=$(curl -s ipv4.ip.sb)
|
||||||
|
|
Loading…
Reference in a new issue