...
- The build .yaml file and the associated build .env file are used to invoke the VM which will build the image. The build .yaml will invoke the build script “v_gmux_build.sh”.
- This will build vpp and honeycomb code, it may take 30-40 minutes
- Log into the VM as the 'ubuntu' user and check that build script has finished executing.
- cat /opt/script_status.txt (if that file does not exist, the script is probably still running)
- If the script has executed completely and successfully, the output will be “Execution of vG-MUX build script completed”.
- If the script has failed to execute successfully, the output should specify the reason for its failure. For more information, query the contents of the systemd journal using the ‘journalctl’ command. See also: Debugging and troubleshooting.
- Clean up some files not required for the final image (this will save several gigabytes):
sudo su -
rm -fr /opt/vpp /opt/hc2vpp /opt/demo /opt/script_status.txt
- Save an image of the VNF.
openstack server image create --name vgmux-base-ubuntu-16-04 <VM Name or ID>
"vgmux-base-ubuntu-16-04" will be the name of the new vG-MUX image
...