new file for vm map
This commit is contained in:
parent
9774225f95
commit
873eca6467
1 changed files with 5 additions and 0 deletions
5
vm_map.sh
Executable file
5
vm_map.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
vm_list=( $(virsh list | awk '{print $2}') )
|
||||
|
||||
for ((i=0; i<${#vm_list[@]}; i++)) do
|
||||
ceph osd map hdd ${vm_list[i]}
|
||||
done
|
Loading…
Reference in a new issue