I have a simple test json file to deploy a CentOS 8.1 server on VMware 
(6.7) and I'm getting an operation denied error message. My VMware admins 
assure me that I have full permissions.
Here is the boot_command line in my json file:

"boot_command": [
"<esc><wait>",
"linux ks=hd:fd0:/ks.cfg<enter>"
],

The VM deployment goes fine until it gets to the boot_comand option. All 
I'm trying to do is get the deployment to use the kickstart file I have 
created:

==> vsphere-iso: Creating VM...
==> vsphere-iso: Customizing hardware...
==> vsphere-iso: Mounting ISO images...
==> vsphere-iso: Adding configuration parameters...
==> vsphere-iso: Creating floppy disk...
vsphere-iso: Copying files flatly from floppy_files
vsphere-iso: Copying file: ks7vh.cfg
vsphere-iso: Done copying files from floppy_files
vsphere-iso: Collecting paths from floppy_dirs
vsphere-iso: Resulting paths from floppy_dirs : []
vsphere-iso: Done copying paths from floppy_dirs
==> vsphere-iso: Uploading created floppy image
==> vsphere-iso: Adding generated Floppy...
==> vsphere-iso: Set boot order...
==> vsphere-iso: Power on VM...
==> vsphere-iso: Waiting 10s for boot...
==> vsphere-iso: Typing boot command...
==> vsphere-iso: Error running boot command: error typing a boot command 
(code, down) `15, false`: ServerFaultCode: Permission to perform this 
operation was denied.
==> vsphere-iso: Power off VM...
==> vsphere-iso: Deleting Floppy image ...
==> vsphere-iso: Destroying VM...

I'm new to Packer so please correct me if I'm doing something incorrectly.

Thanks!
/rw

-- 
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/hashicorp/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/fd6234ce-1d5c-41f6-9da6-6ff073d84429n%40googlegroups.com.

Reply via email to