Closed torarnv closed 6 months ago
Thanks!
Do you mind extracting b.config.CommunicatorConfig.Type != "none" into a variable like communicatorConfigured. I think it will cleaner to read the code. What do you think?
Absolutely, will push :)
Pushed update :)
Doh, missed the second one :D
Like this?
Without a communicator we can't provision, and if we don't have boot commands there's not any keys to send to the running VM, so running it is not needed.
This allows configuring builders that only create the VM, in preparation for later OS installation and provisioning:
Also, there's no need to connect to VNC if we have no boot commands to type.