xenzbx 1.5 version fixed discovery without snapshots
This commit is contained in:
parent
bb0587f73e
commit
9f7cc7077a
@ -5,7 +5,7 @@
|
|||||||
export LC_ALL=""
|
export LC_ALL=""
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
|
|
||||||
version="1.4"
|
version="1.5"
|
||||||
XE="/opt/xensource/bin/xe"
|
XE="/opt/xensource/bin/xe"
|
||||||
|
|
||||||
# path to mdmxen cfg backup system
|
# path to mdmxen cfg backup system
|
||||||
@ -26,7 +26,7 @@ XCPU_LIST=""
|
|||||||
# get all cpu numbers
|
# get all cpu numbers
|
||||||
XCPU_LIST=`cat "/proc/cpuinfo" | grep processor | tr -d ' ' | awk -F":" '{print "cpu"$2}'`
|
XCPU_LIST=`cat "/proc/cpuinfo" | grep processor | tr -d ' ' | awk -F":" '{print "cpu"$2}'`
|
||||||
XSR_LIST=`${XE} sr-list params=uuid | egrep -o "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"`
|
XSR_LIST=`${XE} sr-list params=uuid | egrep -o "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"`
|
||||||
XVM_LIST=`${XE} vm-list is-control-domain=false params=uuid | egrep -o "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"`
|
XVM_LIST=`${XE} vm-list is-control-domain=false is-a-snapshot=false params=uuid | egrep -o "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"`
|
||||||
|
|
||||||
|
|
||||||
#show all cpu
|
#show all cpu
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user