Autocommit template changes after template shutdown (#96)
This commit is contained in:
parent
dd2cd0dc2b
commit
2b2e09881d
@ -174,6 +174,12 @@ case "$command" in
|
|||||||
dmsetup remove $snap
|
dmsetup remove $snap
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
# Commit template changes
|
||||||
|
domain=$(xenstore_read "$XENBUS_PATH/domain")
|
||||||
|
if [ "$domain" ]; then
|
||||||
|
# Dont stop on errors
|
||||||
|
/usr/bin/qvm-template-commit "$domain" || true
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e $node ]; then
|
if [ -e $node ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user