vm/qvm-block: create xen hotplug state dir
This commit is contained in:
parent
53d5ba81ed
commit
524f37bd8b
@ -18,6 +18,8 @@ start()
|
|||||||
# Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read
|
# Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read
|
||||||
chmod 666 /proc/xen/xenbus
|
chmod 666 /proc/xen/xenbus
|
||||||
|
|
||||||
|
mkdir -p /var/run/xen-hotplug
|
||||||
|
|
||||||
name=$(/usr/bin/xenstore-read name)
|
name=$(/usr/bin/xenstore-read name)
|
||||||
if ! [ -f /etc/this_is_dvm ] ; then
|
if ! [ -f /etc/this_is_dvm ] ; then
|
||||||
# we don't want to set hostname for DispVM
|
# we don't want to set hostname for DispVM
|
||||||
|
Loading…
Reference in New Issue
Block a user