mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
(cherry picked from commit 871ef3e9188ccbe35867b6f934f7d4a7c5d60387)
This commit is contained in:
parent
7f5fa88e2d
commit
f1bd28c9e3
@ -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