Skip to content

Commit

Permalink
chore: fixed indent issue
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jun 20, 2024
1 parent 716878f commit b30a7a1
Showing 1 changed file with 9 additions and 6 deletions.
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.

```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
settings. Save the file and exit the text editor.

```yaml
network:
Expand All @@ -213,7 +216,7 @@ 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
Expand All @@ -229,7 +232,7 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock
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

0 comments on commit b30a7a1

Please sign in to comment.