mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Agent
This commit is contained in:
parent
a7a68dbc80
commit
76ae12575b
@ -49,9 +49,9 @@ _graceful_shutdown(){
|
|||||||
echo
|
echo
|
||||||
echo "Could not send shutdown command to guest, error: $RESPONSE"
|
echo "Could not send shutdown command to guest, error: $RESPONSE"
|
||||||
|
|
||||||
FILE="${STORAGE}/${BASE}.agent"
|
AGENT="${STORAGE}/${BASE}.agent"
|
||||||
[ ! -f "$FILE" ] && echo "1" > "$FILE"
|
[ ! -f "$AGENT" ] && echo "1" > "$AGENT"
|
||||||
AGENT_VERSION=$(cat "${FILE}")
|
AGENT_VERSION=$(cat "${AGENT}")
|
||||||
|
|
||||||
if ((AGENT_VERSION < 2)); then
|
if ((AGENT_VERSION < 2)); then
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user