equal
deleted
inserted
replaced
331 |
331 |
332 myvbox-stop-all() { |
332 myvbox-stop-all() { |
333 VBoxManage list runningvms |& while read line; do |
333 VBoxManage list runningvms |& while read line; do |
334 # Parse UUID in: "Name with spaces" {UUID} |
334 # Parse UUID in: "Name with spaces" {UUID} |
335 line=${line##*'{'} |
335 line=${line##*'{'} |
336 line=${line%'}'*} |
336 local uuid=${line%'}'*} |
337 VBoxManage controlvm "$uuid" acpipowerbutton |
337 VBoxManage controlvm "$uuid" acpipowerbutton |
338 done |
338 done |
339 } |
339 } |