mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
parent
e77b2d9fd8
commit
871ef3e918
@ -40,7 +40,7 @@ if [ ! -t 0 ]; then
|
||||
|
||||
# The data is the driver message. Extracting the System DS TM_MAD
|
||||
XPATH="${DRIVER_PATH}/../../datastore/xpath.rb --stdin"
|
||||
TM_MAD=$(echo "$DRV_MESSAGE" | $XPATH /VMM_DRIVER_ACTION_DATA/DATASTORE/TM_MAD)
|
||||
IFS= read -r -d '' TM_MAD < <(echo "$DRV_MESSAGE" | $XPATH /VMM_DRIVER_ACTION_DATA/DATASTORE/TM_MAD)
|
||||
|
||||
# If there is a specific hook for this TM_MAD call it:
|
||||
RESTORE_TM_FILE="${DRIVER_PATH}/restore.${TM_MAD}"
|
||||
|
@ -55,7 +55,7 @@ DRV_MESSAGE=$(cat)
|
||||
|
||||
# The data is the driver message. Extracting the System DS TM_MAD
|
||||
XPATH="${DRIVER_PATH}/../../datastore/xpath.rb --stdin"
|
||||
TM_MAD=$(echo "$DRV_MESSAGE" | $XPATH /VMM_DRIVER_ACTION_DATA/DATASTORE/TM_MAD)
|
||||
IFS= read -r -d '' TM_MAD < <(echo "$DRV_MESSAGE" | $XPATH /VMM_DRIVER_ACTION_DATA/DATASTORE/TM_MAD)
|
||||
|
||||
# If there is a specific hook for this TM_MAD call it:
|
||||
SAVE_TM_FILE="${DRIVER_PATH}/save.${TM_MAD}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user