From e8bb761cc4506849f3978b30c820cdba1d9d43ce Mon Sep 17 00:00:00 2001 From: kashish-varma Date: Tue, 2 Jun 2026 18:38:02 +0530 Subject: [PATCH] Update Chef download endpoints in air-gapped installation docs Signed-off-by: kashish-varma --- .../client/18/install/install_chef_air_gap.md | 16 +++++++++++++--- .../client/19/install/install_chef_air_gap.md | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/content/client/18/install/install_chef_air_gap.md b/content/client/18/install/install_chef_air_gap.md index b8388d6a3d..60547110ae 100644 --- a/content/client/18/install/install_chef_air_gap.md +++ b/content/client/18/install/install_chef_air_gap.md @@ -128,8 +128,12 @@ group. By default, `knife bootstrap` uses the `chef-full` template to bootstrap a node. This template contains useful features, but it also -attempts to pull an installation script from `https://omnitruck.chef.io`. In -this section, you'll copy the contents of the `chef-full` template to a +attempts to pull an installation script from the Chef download endpoints: + +- Commercial: `https://chefdownload-commercial.chef.io/install.sh?license_id=` (replace `` with your license ID) +- Community: `https://chefdownload-community.chef.io/install.sh` + +In this section, you'll copy the contents of the `chef-full` template to a custom template, and then modify the package and Ruby gem sources. 1. Navigate to the `.chef` directory, and create a `bootstrap` @@ -158,7 +162,13 @@ custom template, and then modify the package and Ruby gem sources. template file name, be sure to replace `airgap.erb` with the template file you created during the last step. -1. Update `airgap.erb` to replace `omnitruck.chef.io` with the URL of `install.sh` on your artifact store: +1. Update `airgap.erb` to replace the Chef download endpoint with the URL of `install.sh` on your artifact store. + + The default endpoints are: + - Commercial: `https://chefdownload-commercial.chef.io/install.sh?license_id=` (replace `` with your license ID) + - Community: `https://chefdownload-community.chef.io/install.sh` + + Replace with your internal artifact store URL: ```ruby install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "http://packages.example.com/install.sh" %>" diff --git a/content/client/19/install/install_chef_air_gap.md b/content/client/19/install/install_chef_air_gap.md index a2f8925429..085fc5f30d 100644 --- a/content/client/19/install/install_chef_air_gap.md +++ b/content/client/19/install/install_chef_air_gap.md @@ -128,8 +128,12 @@ group. By default, `knife bootstrap` uses the `chef-full` template to bootstrap a node. This template contains useful features, but it also -attempts to pull an installation script from `https://omnitruck.chef.io`. In -this section, you'll copy the contents of the `chef-full` template to a +attempts to pull an installation script from the Chef download endpoints: + +- Commercial: `https://chefdownload-commercial.chef.io/install.sh?license_id=` (replace `` with your license ID) +- Community: `https://chefdownload-community.chef.io/install.sh` + +In this section, you'll copy the contents of the `chef-full` template to a custom template, and then modify the package and Ruby gem sources. 1. Navigate to the `.chef` directory, and create a `bootstrap` @@ -158,7 +162,13 @@ custom template, and then modify the package and Ruby gem sources. template file name, be sure to replace `airgap.erb` with the template file you created during the last step. -1. Update `airgap.erb` to replace `omnitruck.chef.io` with the URL of `install.sh` on your artifact store: +1. Update `airgap.erb` to replace the Chef download endpoint with the URL of `install.sh` on your artifact store. + + The default endpoints are: + - Commercial: `https://chefdownload-commercial.chef.io/install.sh?license_id=` (replace `` with your license ID) + - Community: `https://chefdownload-community.chef.io/install.sh` + + Replace with your internal artifact store URL: ```ruby install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "http://packages.example.com/install.sh" %>"