dom0/core: fix qrexec startup for HVM
Pass only 'notify_function' parameter - wait_for_session doesn't take any other (especially not 'verbose').
This commit is contained in:
parent
f8fa85b341
commit
c20245c4f8
@ -2584,8 +2584,7 @@ class QubesHVm(QubesVm):
|
|||||||
if kwargs.get('verbose'):
|
if kwargs.get('verbose'):
|
||||||
print >> sys.stderr, "--> Waiting for user '%s' login..." % self.default_user
|
print >> sys.stderr, "--> Waiting for user '%s' login..." % self.default_user
|
||||||
|
|
||||||
# TODO retrieve the notify_function from kwargs ?
|
self.wait_for_session(notify_function=kwargs.get('notify_function', None))
|
||||||
self.wait_for_session(**kwargs)
|
|
||||||
|
|
||||||
def pause(self):
|
def pause(self):
|
||||||
if dry_run:
|
if dry_run:
|
||||||
|
Loading…
Reference in New Issue
Block a user