mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 07:21:40 -04:00
This avoids the error: * guest_additions_mode has to be 'disable' when communicator = 'none'. ...when the following are set: "communicator": "none", "guest_additions_mode": "attach", This particular combination of parameters is valid; for example, in my case, a kickstart post-install script mounts the CD image from /dev/sr1 and runs the installer, without needing any intervention from packer itself. From my reading of the documentation, it appears that the "upload" mode would indeed require a communicator, so I change the logic to check for that specifically.