File tree Expand file tree Collapse file tree
scripts/vm/hypervisor/kvm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# to you under the Apache License, Version 2.0 (the
77# "License"); you may not use this file except in compliance
88# with the License. You may obtain a copy of the License at
9- #
9+ #
1010# http://www.apache.org/licenses/LICENSE-2.0
11- #
11+ #
1212# Unless required by applicable law or agreed to in writing,
1313# software distributed under the License is distributed on an
1414# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1717# under the License.
1818
1919help () {
20- printf " Usage: $0
20+ printf " Usage: $0
2121 -c cleanup"
2222 exit 1
2323}
3939
4040# delete VMs on this mountpoint
4141deleteVMs () {
42- vmPids=$( ps aux| grep qemu | grep ' storpool-byid' | awk ' {print $2}' 2> /dev/null)
42+ vmPids=$( ps aux| grep qemu | grep ' storpool-byid' | awk ' {print $2}' 2> /dev/null)
4343 if [ $? -gt 0 ]
4444 then
4545 return
You can’t perform that action at this time.
0 commit comments