diff options
author | Uri Lublin <uril@redhat.com> | 2015-01-05 12:45:03 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2015-01-25 20:11:14 +0200 |
commit | 0b0cb8e3f8fbb06ab292fa24c2b4e9893a726ca6 (patch) | |
tree | 60da9ca0fec8ae986faf6f7b24069e4b62eddd0a | |
parent | e0db34c29c12501bb62eccb66de1cbe0ea0067bd (diff) |
scripts/Xspice: add default spice-vdagent executable names
-rwxr-xr-x | scripts/Xspice | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/Xspice b/scripts/Xspice index d48318c..6eb5294 100755 --- a/scripts/Xspice +++ b/scripts/Xspice @@ -128,6 +128,10 @@ def agents_new_enough(args): return True if args.vdagent_enabled: + if not args.vdagent_exec: + args.vdagent_exec = 'spice-vdagent' + if not args.vdagentd_exec: + args.vdagentd_exec = 'spice-vdagentd' args.vdagent_exec = which(args.vdagent_exec) args.vdagentd_exec = which(args.vdagentd_exec) if not agents_new_enough(args): @@ -288,6 +292,7 @@ if args.vdagent_enabled: if os.path.exists(f): os.unlink(f) cleanup_files.extend([args.vdagent_virtio_path, args.vdagent_uinput_path]) + xorg = launch(executable=args.xorg, args=exec_args + xorg_args) time.sleep(2) |