andrewstucki / packer-post-processor-vsphere-template Goto Github PK
View Code? Open in Web Editor NEWPacker post processor that imports a Virtualbox exported ovf and uploads it into a VMWare template
Packer post processor that imports a Virtualbox exported ovf and uploads it into a VMWare template
Hi,
I haven't any Resource Pool defined in my vCenter.
I think this parameter must not be required.
Can you change this to optional ?
Regards,
I want to provide a custom OVF template in this workflow. Would that be possible with this plugin. I am a bit confused by the internals as when I run the virtualbox-iso with format: ovf
, I only get one file, but in the source code of this plugin, I see both a vmdk as well as ovf being iterated upon.
I am generating a coreos OVF from the ISO using the following packer manifest:
{
"variables": {
"name": "coreos-baseimage",
"release": "stable",
"iso_checksum": "",
"iso_checksum_type": "none",
"disk_size": "40000",
"memory": "2048",
"boot_wait": "15s",
"ignition": "ignition.json"
},
"builders": [{
"name": "{{user `name`}}",
"guest_os_type": "Linux_64",
"type": "virtualbox-iso",
"iso_url": "coreos_production_iso_image.iso",
"iso_checksum": "d97ed6c250f2037b6fd92471c2890176",
"iso_checksum_type": "md5",
"ssh_username": "core",
"ssh_password": "packer",
"shutdown_command": "shutdown -h now",
"format": "ovf",
"boot_wait": "{{user `boot_wait`}}",
"boot_command": [
"sudo passwd core<enter><wait>",
"packer<enter>",
"packer<enter>",
"sudo systemctl start sshd.service<enter>"
],
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "{{user `memory`}}"]
]
}],
"provisioners": [
{
"type": "file",
"source": "{{ user `ignition` }}",
"destination": "/tmp/ignition.json"
},
{
"type": "shell",
"inline": [
"sudo coreos-install -d /dev/sda -C {{ user `release` }} -i /tmp/ignition.json -o vmware_raw"
]
}
],
"post-processors": []
}
The custom OVF I wanna use with that is here.
I was wondering if I could somehow provide the custom OVF through artifice. But before I do that, I need a solid understanding of the process, which I feel you have as the author of this plugin.
Any help would be greatly appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.