generate_assets.sh 446 B

123456789
  1. #!/bin/bash
  2. # run this file directly via ./generate_assets.sh; sh generate_assets.sh won't work.
  3. ./generate_inventory.sh
  4. cat install-config.yml.template | envsubst > install-config.yml
  5. # Need to make a copy for ansible to reference because install-config.yml is
  6. # consumed/deleted when we generate igintion configs.
  7. cp install-config.yml install-config-ansible.yml
  8. cat terraform/terraform.tfvars.template | envsubst > terraform/terraform.tfvars