You can generate an AMI of a VM with the NSX agent installed on it and not configured.
To generate an image from a VM that has the NSX agent installed on it using the -noStart option, do the following:
Procedure
- Copy paste the NSX agent Installation Command from CSM. See instructions at Install NSX Tools
- Edit the command for Windows as follows:
c:\> powershell -file ‘nsx_install.ps1” -operation install -dnsSuffix <> –noStart true
- Edit the command for Linux as follows:
$ chmod +x install_nsx_vm_agent.sh && sudo ./install_nsx_vm_agent.sh –-no-start
- Edit the command for Windows as follows:
- Go to this VM in your public cloud and create an image.