qvm-tools: pass -l <label_index> to qubes_guid
This commit is contained in:
parent
297d1d65d0
commit
8724c65b35
@ -81,7 +81,7 @@ def vm_run_cmd(vm, cmd, options):
|
||||
if options.verbose:
|
||||
print "--> Starting Qubes GUId..."
|
||||
|
||||
retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon])
|
||||
retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon, "-l", str(vm.label.index)])
|
||||
if (retcode != 0) :
|
||||
print "ERROR: Cannot start qubes_guid!"
|
||||
if options.tray:
|
||||
@ -105,7 +105,7 @@ def vm_run_cmd(vm, cmd, options):
|
||||
s.send (cmd)
|
||||
s.close()
|
||||
else:
|
||||
retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon])
|
||||
retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon, "-l", str(vm.label.index)])
|
||||
if (retcode != 0) :
|
||||
print "ERROR: Cannot start qubes_guid!"
|
||||
if options.tray:
|
||||
|
@ -63,7 +63,7 @@ def main():
|
||||
if options.verbose:
|
||||
print "--> Starting Qubes GUId..."
|
||||
|
||||
retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-i", vm.label.icon])
|
||||
retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-i", vm.label.icon, "-l", str(vm.label.index)])
|
||||
if (retcode != 0) :
|
||||
print "ERROR: Cannot start qubes_guid!"
|
||||
exit (1)
|
||||
|
Loading…
Reference in New Issue
Block a user