mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update buildvm.sh
This commit is contained in:
parent
4ad30003f7
commit
d7e77ea7e8
1 changed files with 1 additions and 0 deletions
|
@ -80,5 +80,6 @@ if [ ! -f "/etc/iptables/rules.v4" ]; then
|
|||
touch /etc/iptables/rules.v4
|
||||
fi
|
||||
iptables-save > /etc/iptables/rules.v4
|
||||
service netfilter-persistent restart
|
||||
echo "$vm_num $user $password $core $memory $disk $sshn $web1_port $web2_port $port_first $port_last $system" >> "vm${vm_num}"
|
||||
cat "vm${vm_num}"
|
||||
|
|
Loading…
Reference in a new issue