To build the Chef Automate AIB you will need:
- Linux machine with internet access
- Ruby
- Git
- In the Automate git source, remove these rows from
products.meta
:
- chef/automate-cs-bookshelf
- chef/automate-cs-oc-bifrost
- chef/automate-cs-oc-erchef
- chef/automate-cs-nginx
- chef/automate-workflow-server
- chef/automate-workflow-nginx
- Create a reduced manifest.json by running the
create-manifest.rb
script:
.expeditor/create-manifest.rb
- Download the chef-automate installer:
curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate
- Create an Airgap Installation Bundle (AIB) based on the new manifest.json:
./chef-automate airgap bundle create -d -m small.manifest.json
- Copy the resulting
automate-*.aib
file to the server
- Download the chef-automate installer:
curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate
- Create a default Automate configuration, which by default does not include the Infra Server or Workflow
sudo ./chef-automate init-config
- Install Automate using the AIB:
sudo ./chef-automate deploy config.toml --airgap-bundle automate-*.aib