mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 11:38:00 +08:00
Update create_vm.sh
This commit is contained in:
parent
ec2c610522
commit
0005689830
1 changed files with 1 additions and 2 deletions
|
@ -78,8 +78,7 @@ build_new_vms(){
|
|||
done
|
||||
for ((i=1; i<=$new_nums; i++)); do
|
||||
vm_num=$(($vm_num + 1))
|
||||
ori=$(date | md5sum)
|
||||
user=${ori: 2: 4}
|
||||
user=$(cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 4 | head -n 1)
|
||||
ori=$(date | md5sum)
|
||||
password=${ori: 2: 9}
|
||||
ssh_port=$(($web2_port + 1))
|
||||
|
|
Loading…
Reference in a new issue