6 lines
121 B
Bash
6 lines
121 B
Bash
|
vm_list=( $(virsh list | awk '{print $2}') )
|
||
|
|
||
|
for ((i=0; i<${#vm_list[@]}; i++)) do
|
||
|
ceph osd map hdd ${vm_list[i]}
|
||
|
done
|