Update buildvm.sh

This commit is contained in:
spiritLHLS 2023-05-20 10:10:08 +08:00 committed by GitHub
parent 1e60f2ccab
commit c4ceeaf87b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,5 +126,5 @@ if [ ! -f "/etc/iptables/rules.v4" ]; then
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}"
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}"