Skip to content

Commit 2e83baa

Browse files
jvanlieshoutDaanHoogland
authored andcommitted
xenstore-utils on debian wheezy does not have /usr/sbin/xenstore so these commands file. It does have xenstore-write and xenstore-rm so by adding a - this is fixed easily.
Signed-off-by: Daan Hoogland <daan@onecht.net>
1 parent c54ce3c commit 2e83baa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

systemvm/patches/debian/xe/xe-update-guest-attrs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ xenstore_write_cached() {
7474
fi
7575

7676
# try to write and update cache if successfull
77-
if $XENSTORE write "$key" "$newval" ; then
77+
if $XENSTORE-write "$key" "$newval" ; then
7878
mkdir -p $(dirname "$cache")
7979
echo -n "$newval" > "$cache"
8080
XENSTORE_UPDATED=1
@@ -104,7 +104,7 @@ xenstore_rm_cached() {
104104
return 1
105105
fi
106106
# try to write and update cache if successfull
107-
if $XENSTORE rm "$key" ; then
107+
if $XENSTORE-rm "$key" ; then
108108
rm -rf "$cache"
109109
XENSTORE_UPDATED=1
110110
return 0

0 commit comments

Comments
 (0)