mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update create_vm.sh
This commit is contained in:
parent
405728633d
commit
df277f8e01
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@ pre_check(){
|
|||
# 检查当前目录下是否有vmlog文件
|
||||
if [ ! -f "vmlog" ]; then
|
||||
yellow "当前目录下不存在vmlog文件"
|
||||
nat_num=200
|
||||
web2_port=40000
|
||||
port_end=50000
|
||||
nat_num=202
|
||||
web2_port=40003
|
||||
port_end=50025
|
||||
else
|
||||
lines=$(cat vmlog | sed '/^$/d')
|
||||
last_line=$(echo "$lines" | tail -n 1)
|
||||
|
|
Loading…
Reference in a new issue