Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: feedback from Pedro #3156

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,6 @@ 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,18 @@ 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.

<details>
<summary>Assign a static IP address</summary>
<details>

<summary>Assign a static IP address</summary>

Create an empty file to disable cloud-init from overriding the new network configurations you will add.

```shell
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.
karl-cardenas-coding marked this conversation as resolved.
Show resolved Hide resolved

```shell
sudo dpkg-reconfigure cloud-init
Expand All @@ -200,7 +202,8 @@ 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
karl-cardenas-coding marked this conversation as resolved.
Show resolved Hide resolved
settings. Save the file and exit the text editor.

```yaml
network:
Expand All @@ -213,23 +216,23 @@ 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.

```shell
sudo netplan apply
```

</details>
</details>

18. Switch to the `root` user account. You will need to use the `root` user account to complete the remaining steps.

Expand Down Expand Up @@ -266,14 +269,6 @@ If you are working in Vim, press `i` to enter insert mode in the text editor. Pr
- **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.
Expand Down