This issue was originally opened by @shantanugadgil as hashicorp/packer#8765. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Feature Description
I would like to request new communicator types, besides the ssh and winrm.
For QEMU types of virtualization (Proxmox), it could be named "qemu" and for VMware ESXi types it could be named "vmware"
Use Case(s)
The use case is to be able to copy files into the guest VM even if the guest doesn't have SSH (or WinRM) enabled.
The way I see that can be done is that first packer copies the file onto the virtualization host and then into the guest VM using the capabilities of the virtualization software.
Of course, the QEMU Guest Agent (or VMware Tools) must be installed inside the guest VM.
NOTE: for RHEL/CentOS guests, the file operations should be enabled in the guest VM in the qemu-guest-agent config file /etc/sysconfig/qemu-ga (set the option BLACKLIST_RPC blank)
For vmtools, I haven't experimented, but I think this is always ON (? I am not sure)
This could also be possibly expanded for remote execution inside the guest VM.
I know this is pretty old but I have often thought about this one too. I may take a crack at building it myself. Should be fairly simple as we already do the boot command.
This issue was originally opened by @shantanugadgil as hashicorp/packer#8765. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Feature Description
I would like to request new communicator types, besides the
ssh
andwinrm
. For QEMU types of virtualization (Proxmox), it could be named "qemu" and for VMware ESXi types it could be named "vmware"Use Case(s)
The use case is to be able to copy files into the guest VM even if the guest doesn't have SSH (or WinRM) enabled.
The way I see that can be done is that first packer copies the file onto the virtualization host and then into the guest VM using the capabilities of the virtualization software.
Of course, the QEMU Guest Agent (or VMware Tools) must be installed inside the guest VM.
NOTE: for RHEL/CentOS guests, the
file
operations should be enabled in the guest VM in theqemu-guest-agent
config file/etc/sysconfig/qemu-ga
(set the option BLACKLIST_RPC blank)For vmtools, I haven't experimented, but I think this is always ON (? I am not sure)
This could also be possibly expanded for
remote execution
inside the guest VM.