From a8f9b9d78a56412366ec22ebfe308744d0804abc Mon Sep 17 00:00:00 2001 From: nage1234 <88926279+nage1234@users.noreply.github.com> Date: Fri, 28 Jun 2024 17:07:53 +0530 Subject: [PATCH] Revert "docs: feedback from Pedro (#3156)" This reverts commit acc56382194b1082a25dfd7531e3dcf78c05e9b8. --- .../vmware-vsphere-airgap-instructions.md | 8 +++++ .../vmware-vsphere-airgap-instructions.md | 31 +++++++++++-------- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/docs/docs-content/enterprise-version/install-palette/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md b/docs/docs-content/enterprise-version/install-palette/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md index 1b9e1bce36..2c85956e9c 100644 --- a/docs/docs-content/enterprise-version/install-palette/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md +++ b/docs/docs-content/enterprise-version/install-palette/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md @@ -259,6 +259,14 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock - **server.crt** - **server.key** + You also need to update the permissions for the **/data/secret/cert/** directory. This folder is mounted to Harbor + during the airgap setup process and must have access to the custom SSL certificates. Use the following command to + ensure the permissions are set correctly. + + ```shell + chown -R 10000:10000 /data/secret/cert/* + ``` + 20. Start the airgap initialization process by issuing the following command. The script requires the hostname or IP address of the airgap support VM. Choose the preferred method for your environment. Be aware that the script will generate a self-signed certificate for the value you provide. diff --git a/docs/docs-content/vertex/install-palette-vertex/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md b/docs/docs-content/vertex/install-palette-vertex/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md index fd70820be5..7731941487 100644 --- a/docs/docs-content/vertex/install-palette-vertex/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md +++ b/docs/docs-content/vertex/install-palette-vertex/install-on-vmware/airgap-install/vmware-vsphere-airgap-instructions.md @@ -179,9 +179,8 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock 17. If you want to assign a static IP address to the airgap support VM, you can do so now. Click on the box below to expand the instructions. Otherwise, proceed to the next step. -
- - Assign a static IP address +
+ Assign a static IP address Create an empty file to disable cloud-init from overriding the new network configurations you will add. @@ -189,8 +188,7 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock sudo touch /etc/cloud/cloud-init.disabled ``` - Issue the following command to update cloud-init. Select **VMware** from the wizard Menu when prompted. The command - will disable cloud-init from managing the network configuration. + Issue the following command to update cloud-init. Select **VMware** from the wizard Menu when prompted. The command will disable cloud-init from managing the network configuration. ```shell sudo dpkg-reconfigure cloud-init @@ -202,8 +200,7 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock sudo vi /etc/netplan/01-netcfg.yaml ``` - Modify the file to look like the example below. Replace the IP address, gateway, and DNS server with your network - settings. Save the file and exit the text editor. + Modify the file to look like the example below. Replace the IP address, gateway, and DNS server with your network settings. Save the file and exit the text editor. ```yaml network: @@ -216,15 +213,15 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock - 10.1.1.0/18 gateway4: 2.2.2.2 nameservers: - addresses: [1.1.1.1] + addresses: [1.1.1.1] ``` - :::tip +:::tip - If you are working in Vim, press `i` to enter insert mode in the text editor. Press `esc` to exit insert mode. Type - `:wq` to save the file and exit the text editor. +If you are working in Vim, press `i` to enter insert mode in the text editor. Press `esc` to exit insert mode. Type +`:wq` to save the file and exit the text editor. - ::: +::: Issue the following command to apply the changes. @@ -232,7 +229,7 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock sudo netplan apply ``` -
+
18. Switch to the `root` user account. You will need to use the `root` user account to complete the remaining steps. @@ -263,6 +260,14 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock - **server.crt** - **server.key** + You also need to update the permissions for the **/data/secret/cert/** directory. This folder is mounted to Harbor + during the airgap setup process and must have access to the custom SSL certificates. Use the following command to + ensure the permissions are set correctly. + + ```shell + chown -R 10000:10000 /data/secret/cert/* + ``` + 20. Start the airgap initialization process by issuing the following command. The script requires the hostname or IP address of the airgap support VM. Choose the preferred method for your environment. Be aware that the script will generate a self-signed certificate for the value you provide.