As a template developer, you can configure and deploy a Salt minion using cloud templates for air-gapped environments.

Prerequisites

  • Ensure that the /etc/salt/cloud.deploy.d folder on the Automation Config server contains the latest tarball with the latest version of the installer files.
  • Ensure that your VM has python 3 installed and configured.
  • On your VM, if you are not using the root account, create a user account and add it to the sudo group: usermod -aG sudo salt-user
For more information on Windows requirements, see Spinning up Windows Minions.

Procedure

  1. Navigate to the RaaS configuration file located in /etc/raas/raas.
  2. Add these lines to the configuration file:
    minion_deployment:
      airgap_install: true
  3. Restart the RaaS service using the service raas restart command.
  4. In Automation Assembler, configure and deploy a template without the saltConfiguration or remoteAccess sections.
  5. Run the Apply Salt Configuration Day 2 action against the machine.
    Note: You only need to enter your authentication credentials to run the action.
  6. Navigate back to the template and verify the YAML configuration.
  7. Test and deploy the template.