Allow to enable_vnc for provisioned VMs.
diff --git a/_modules/virtng.py b/_modules/virtng.py
index 426d611..2c6bc9d 100644
--- a/_modules/virtng.py
+++ b/_modules/virtng.py
@@ -236,6 +236,9 @@
else:
context['boot_dev'] = ['hd']
+ if 'enable_vnc' in kwargs:
+ context['enable_vnc'] = kwargs['enable_vnc']
+ log.info('VNC enabled: {0}.'.format(kwargs['enable_vnc']))
if 'serial_type' in kwargs:
context['serial_type'] = kwargs['serial_type']
if 'serial_type' in context and context['serial_type'] == 'tcp':