Setting up a deployment server
A deployment server will set up a machine that you can perform multi-node deployments from. It will store all the various OpenStack Ansible scripts to apply to all the nodes.
Let's clone your base image, customise the image and deploy the correct assets on it to get it ready to perform a more complex OpenStack deployment.
We are going to use OpenStack-Ansible to perform the deployment with.
Create deployment server
We can now run another packer build, which will take the base image and make some changes to it, to prepare it.
packer build --only=virtualbox-ovf deployserver.json
packer build --only=vmware-vmx deployserver.json
Note - You will need to set up an external Virtual Switch and set the variable in deployserverhyperv.json to match the name of this switch.Run:
packer build --only=hyperv-iso deployserverhyperv.json
Please select a preferred hypervisor using the dropdown at the top right.
What it's doing
This build step will take the base image created and do some slight customisation to it to make it suitable to perform deployments from.