xen: fix template vm storage code

This commit is contained in:
Marek Marczykowski-Górecki 2013-08-31 00:26:04 +02:00
parent 11047bf427
commit ea68c6a766

View File

@ -71,7 +71,7 @@ class QubesXenVmStorage(QubesVmStorage):
elif self.vm.template: elif self.vm.template:
return self._format_disk_dev( return self._format_disk_dev(
"{dir}/root.img:{dir}/root-cow.img".format( "{dir}/root.img:{dir}/root-cow.img".format(
dir=self.vm.template.vmdir), dir=self.vm.template.dir_path),
"block-snapshot", self.root_dev, False) "block-snapshot", self.root_dev, False)
else: else:
return self._format_disk_dev( return self._format_disk_dev(