mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 10:38:22 +08:00
Update create_vm.sh
This commit is contained in:
parent
73028f86b1
commit
5f0cb2040d
1 changed files with 7 additions and 7 deletions
14
create_vm.sh
14
create_vm.sh
|
@ -26,13 +26,13 @@ pre_check(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
files=$(find . -maxdepth 1 -name "vm*" | sort)
|
# files=$(find . -maxdepth 1 -name "vm*" | sort)
|
||||||
if [ -n "$files" ]; then
|
# if [ -n "$files" ]; then
|
||||||
for file in $files
|
# for file in $files
|
||||||
do
|
# do
|
||||||
cat "$file" >> vmlog
|
# cat "$file" >> vmlog
|
||||||
done
|
# done
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [ ! -f "vmlog" ]; then
|
if [ ! -f "vmlog" ]; then
|
||||||
yellow "当前目录下不存在vmlog文件"
|
yellow "当前目录下不存在vmlog文件"
|
||||||
|
|
Loading…
Reference in a new issue