Skip to contentSkip to conversation

novnc-dryrun.patch

PATCH New Arun Sharma 1 participant 1 message Jun 21, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 novnc-dryrun.patch

Don't start VNC on a dry run.

tools/python/xen/xm/create.py +1 -0
@@ -618,6 +618,7 @@
         config = opts.vals.config
     else:
         opts.load_defconfig()
+        opts.vals.vnc = not opts.vals.dryrun
         preprocess(opts, opts.vals)
         if not opts.getopt('name') and opts.getopt('defconfig'):
             opts.setopt('name', os.path.basename(opts.getopt('defconfig')))