mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-09-12 17:24:34 +08:00
Update buildvm.sh
This commit is contained in:
parent
1e60f2ccab
commit
c4ceeaf87b
1 changed files with 1 additions and 1 deletions
|
@ -126,5 +126,5 @@ if [ ! -f "/etc/iptables/rules.v4" ]; then
|
||||||
fi
|
fi
|
||||||
iptables-save > /etc/iptables/rules.v4
|
iptables-save > /etc/iptables/rules.v4
|
||||||
service netfilter-persistent restart
|
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}"
|
echo "$vm_num $user $password $core $memory $disk $sshn $web1_port $web2_port $port_first $port_last $system $storage" >> "vm${vm_num}"
|
||||||
cat "vm${vm_num}"
|
cat "vm${vm_num}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue