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

  1. Copy paste the NSX agent Installation Command from CSM. See instructions at Install NSX Tools
    1. Edit the command for Windows as follows:
      c:\> powershell -file ‘nsx_install.ps1” -operation install -dnsSuffix <> –noStart true
    2. Edit the command for Linux as follows:
      $ chmod +x install_nsx_vm_agent.sh && sudo ./install_nsx_vm_agent.sh –-no-start
      
  2. Go to this VM in your public cloud and create an image.