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
|
||||
fi
|
||||
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
|
||||
|
||||
if [ -e $node ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user