dom0/core: fix typo on creating HVM private.img
This commit is contained in:
parent
32228296ac
commit
e632c5c3d0
@ -2199,7 +2199,7 @@ class QubesHVm(QubesVm):
|
|||||||
|
|
||||||
# create empty private.img
|
# create empty private.img
|
||||||
f_private = open(self.private_img, "w")
|
f_private = open(self.private_img, "w")
|
||||||
f_private.truncate(default_private_img_size)
|
f_private.truncate(default_hvm_private_img_size)
|
||||||
f_root.close()
|
f_root.close()
|
||||||
|
|
||||||
def get_disk_utilization_private_img(self):
|
def get_disk_utilization_private_img(self):
|
||||||
@ -2244,7 +2244,7 @@ class QubesHVm(QubesVm):
|
|||||||
print >>sys.stderr, "WARNING: Creating empty VM private image file: {0}".\
|
print >>sys.stderr, "WARNING: Creating empty VM private image file: {0}".\
|
||||||
format(self.private_img)
|
format(self.private_img)
|
||||||
f_private = open(self.private_img, "w")
|
f_private = open(self.private_img, "w")
|
||||||
f_private.truncate(default_private_img_size)
|
f_private.truncate(default_hvm_private_img_size)
|
||||||
f_root.close()
|
f_root.close()
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user