qubes/storage/xen: fix RO snapshot
This commit is contained in:
parent
3724d6fca1
commit
15c59f938c
@ -87,7 +87,8 @@ class XenVMStorage(qubes.storage.VMStorage):
|
|||||||
return self._format_disk_dev(
|
return self._format_disk_dev(
|
||||||
'{}:{}'.format(self.root_img, self.vm.template.rootcow_img),
|
'{}:{}'.format(self.root_img, self.vm.template.rootcow_img),
|
||||||
self.root_dev,
|
self.root_dev,
|
||||||
script='block-snapshot')
|
script='block-snapshot',
|
||||||
|
rw=False)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return self._format_disk_dev(self.root_img, self.root_dev)
|
return self._format_disk_dev(self.root_img, self.root_dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user