"provisioners": [
{
"type": "chef-solo",
"cookbook_paths": ["cookbooks"]
}
]$ packer build -debug MYJSONFILE.json
Debug mode enabled. Builds will not be parallelized.
vsphere output will be in this color.
==> vsphere: Pausing after run of step 'StepConnect'. Press enter to continue.
==> vsphere: Cloning VM...
==> vsphere: Pausing after run of step 'StepCloneVM'. Press enter to continue.
==> vsphere: Pausing after run of step 'StepConfigureHardware'. Press enter to continue.
==> vsphere: Power on VM...
==> vsphere: Waiting for IP...
==> vsphere: IP address: <MY_IP_ADDRESS>
==> vsphere: Pausing after run of step 'StepRun'. Press enter to continue.
==> vsphere: Waiting for SSH to become available...
==> vsphere: Connected to SSH!
==> vsphere: Pausing after run of step 'StepConnect'. Press enter to continue.
==> vsphere: Provisioning with chef-solo
vsphere: Installing Chef...
vsphere: sudo: no tty present and no askpass program specified
vsphere: % Total % Received % Xferd Average Speed Time Time Time Current
vsphere: Dload Upload Total Spent Left Speed
vsphere: 21 23425 21 5100 0 0 450 0 0:00:52 0:00:11 0:00:41 1338
vsphere: curl: (23) Failed writing body (1755 != 2759)
==> vsphere: Pausing before cleanup of step 'StepConnect'. Press enter to continue. ubuntu@ubuntu-1604:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 396M 5.7M 390M 2% /run
/dev/sda1 16G 1.4G 14G 10% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 396M 0 396M 0% /run/user/1000interesting. I tried taking the install command (curl -L https://omnitruck.chef.io/install.sh | sudo bash -s --) and manually running it. The sudo bash part stops and waits for me to enter a password (with no prompt, mind) and then chef installs. Is there something I need to do to ensure that the sudo password is not required?
--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b3fc123c-726f-4cd8-9ef8-800093741d87%40googlegroups.com.
--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0aa30677-e292-4df2-8400-6c5d7e5c05b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0aa30677-e292-4df2-8400-6c5d7e5c05b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.