Merge remote-tracking branch 'qubesos/pr/101'
* qubesos/pr/101: Clarify warning message on resizing. Closes QubesOS/qubes-issues#1875
This commit is contained in:
commit
fda73e25c1
@ -61,10 +61,9 @@ class QubesResizableVmWithResize2fs(QubesResizableVm):
|
|||||||
super(QubesResizableVmWithResize2fs, self).\
|
super(QubesResizableVmWithResize2fs, self).\
|
||||||
resize_root_img(size, allow_start=allow_start)
|
resize_root_img(size, allow_start=allow_start)
|
||||||
if not allow_start:
|
if not allow_start:
|
||||||
raise QubesException("VM start required to complete the "
|
raise QubesException("To complete the resize operation start the "
|
||||||
"operation, but not allowed. Either run the "
|
"qube. You may need to run resize2fs manually"
|
||||||
"operation again allowing VM start this "
|
"in the qube .")
|
||||||
"time, or run resize2fs in the VM manually.")
|
|
||||||
self.start(start_guid=False)
|
self.start(start_guid=False)
|
||||||
self.run("resize2fs /dev/mapper/dmroot", user="root", wait=True,
|
self.run("resize2fs /dev/mapper/dmroot", user="root", wait=True,
|
||||||
gui=False)
|
gui=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user