esxcli system settings advanced set -o /Net/GuestIPHack -i 1
packer init .
to download the Packer plugin binaries for vSphere.Note: It has been seen that Packer can bind to an IPv6 on the development machine - you may wish to disable IPv6!
builder_host_portgroup
belowClone the VMware Event Broker Appliance Git repository:
git clone https://github.com/vmware-samples/vcenter-event-broker-appliance.git
Edit the photon-builder.json
file to configure the vSphere endpoint for building the VMware Event Broker Appliance:
{
"builder_host": "192.168.30.10",
"builder_host_username": "root",
"builder_host_password": "VMware1!",
"builder_host_datastore": "vsanDatastore",
"builder_host_portgroup": "VM Network"
}
Note: If you need to change the default root password on the VMware Event Broker Appliance, take a look at
photon-version.json
The veba-bom.json
will need to be updated to specify the branch you wish to build the vCenter Event Broker Appliance code from whether that is from master, a release- branch or from development. Below are two examples of how to correctly set the versions needed prior to building.
Note: The default BOM version in development will be the development branch. No changes will be necessary unless you wish to build from a release or master branch.
Example 1 (build from master branch):
".veba.version" => "v0.5.0"
"vmware-event-router.version" => "v0.5.0"
"vmware-event-router.containers[0].version" => "v0.5.0"
Example 2 (build from development branch):
".veba.version" => "development"
"vmware-event-router.version" => "development"
"vmware-event-router.containers[0].version" => "development"
Start the build by running the build script:
./build.sh
If you wish to automatically deploy the VMware Event Broker Appliance after successfully building the OVA, please take a look at the script samples located in the test directory.
Please check our Frequently Asked Questions first.