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
|
||||
}
|
||||
|
||||
files=$(find . -maxdepth 1 -name "vm*" | sort)
|
||||
if [ -n "$files" ]; then
|
||||
for file in $files
|
||||
do
|
||||
cat "$file" >> vmlog
|
||||
done
|
||||
fi
|
||||
# files=$(find . -maxdepth 1 -name "vm*" | sort)
|
||||
# if [ -n "$files" ]; then
|
||||
# for file in $files
|
||||
# do
|
||||
# cat "$file" >> vmlog
|
||||
# done
|
||||
# fi
|
||||
|
||||
if [ ! -f "vmlog" ]; then
|
||||
yellow "当前目录下不存在vmlog文件"
|
||||
|
|
Loading…
Reference in a new issue