createvm: Fix text progress with virt-bootstrap

It looks awkward after the text tweaks. Drop the semblance of
progress reporting

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-06-09 16:27:21 -04:00
parent 20d3bf9484
commit f2a04f1abc
2 changed files with 2 additions and 8 deletions

View File

@ -56,11 +56,6 @@ class _vmmMeter(virtinst.progress.Meter):
# Public APIs specific to virt-manager code #
#############################################
def change_meter_text(self, text):
self._text = text
self._tqdm.desc = text
self._write()
def is_started(self):
return bool(self._tqdm)

View File

@ -2079,10 +2079,9 @@ class vmmCreateVM(vmmGObjectUI):
import logging
import virtBootstrap
meter.start(_("Bootstraping container"), 100)
meter.start(_("Bootstraping container"), None)
def progress_update_cb(prog):
meter.change_meter_text(_(prog['status']))
meter.update(prog['value'])
meter.start(_(prog['status']), None)
asyncjob.details_enable()
# Use logging filter to show messages of the progreess on the GUI