Closed taylor closed 6 years ago
Using the vBNG as an example, the following steps are used to create a vBNG image which can then be used as the image for instantiating a v vBNG.
[x] Manually configure the .yaml file to not run the install script
[x] Create a 'stack' - using an appropriately populated .env file
[x] Log into the VM as the 'ubuntu' user and switch to the 'root' user
[x] Create the file "/opt/config/compile_state.txt" with the contents of "build"
[x] From /opt, invoke the install script
[x] Clean up some files not required for the final image (this will save several gigabytes):
[x] Edit the file "/opt/config/compile_state.txt" and change the contents of the file to "done"
[x] Reboot
[x] Save an image of the VNF
[x] Change the .env file to use the VNF image created using the process described above.
[x] Ensure the .yaml file does not have the install script commented out
[x] Create a 'stack'
Related to CNFs issue https://github.com/cncf/cnfs/issues/8