Hoping for a little help here. If I have packer running on machine A and
build the VM on a remote ESX server so I am using:
"remote_host": "emtesx",
"remote_username": "root",
"remote_password": "xxxxxx.",
"remote_type": "esx5",
"remote_datastore": "Datastore2",
in my builder, where are the artifacts of the build suppose to be when the
build is complete?
The output directory is set to
"output_directory": "zr-{{user `template`}}-vmware",
Are the artifacts suppose to be copied to machine A and put in a
zr-xxxx-vmware directory or on the ESX Datastore 2.
Right now, they are on ESX Datastore 2 but they are unregistered from the
VM so it leaves the VM on the ESX server as orphaned. Is this that way it
is supposed to work?
What is Packer doing in this section of the log:
2016/10/06 18:04:12 packer: 2016/10/06 18:04:12 opening new ssh session
2016/10/06 18:04:12 packer: 2016/10/06 18:04:12 Starting remote scp
process: scp -vt /vmfs/volumes/Datastore2/zr1-centos-7.2-x86_64-vmware
2016/10/06 18:04:12 packer: 2016/10/06 18:04:12 Started SCP session,
beginning transfers...
2016/10/06 18:04:12 packer: 2016/10/06 18:04:12 Copying input data into
temporary file so we can read the length
2016/10/06 18:04:12 packer: 2016/10/06 18:04:12 [DEBUG] scp: Uploading
centos-7.2-x86_64.vmx: perms=C0644 size=2388
Is it trying to copy the artifacts?
Any help with how this is suppose to work it greatly appreciate. My end
goal is an automated build process so do I have to script the copying of
the artifacts of machine A and then removing them from the ESX server.
Thank you.
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/81a62563-bbb4-40a3-841b-e0576816b23b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.