Skip to content

Commit 673847c

Browse files
committed
docs: update requirements
Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent be24688 commit 673847c

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

docs/getting-started/configure.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,26 @@ the kickstart files to the Linux guest operating system during the build.
132132
common_data_source = "http"
133133
```
134134

135-
???+ tip "IPTables"
135+
???+ tip "Firewall"
136136

137137
Packer includes a built-in HTTP server that is used to serve the kickstart files for Linux
138138
machine image builds.
139139

140-
If iptables is enabled on your Packer host, you will need to open `common_http_port_min` through
140+
If a firewall is enabled on your Packer host, you will need to open `common_http_port_min` through
141141
`common_http_port_max` ports.
142142

143-
```shell
144-
iptables -A INPUT -p tcp --match multiport --dports 8000:8099 -j ACCEPT
145-
```
143+
:fontawesome-brands-linux: **VMware Photon OS**
144+
145+
```shell
146+
iptables -A INPUT -p tcp --match multiport --dports 8000:8099 -j ACCEPT
147+
```
148+
149+
:fontawesome-brands-ubuntu: **Ubuntu**
150+
151+
```shell
152+
sudo ufw allow 8000:8099/tcp
153+
sudo ufw reload
154+
```
146155

147156
You can change the `common_data_source` from `http` to `disk` to build supported Linux machine
148157
images without the need to use Packer's HTTP server. This is useful for environments that may not be

docs/getting-started/requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The following additional software packages must be installed on the operating sy
148148
sudo apt update
149149
sudo apt install software-properties-common
150150
sudo add-apt-repository --yes --update ppa:ansible/ansible
151-
sudo apt install -y python3 python3-pip ansible git jq xorriso whois unzip
151+
sudo apt install -y python3 python3-pip ansible git jq xorriso whois unzip terraform
152152
echo "ansible-core $(ansible --version | grep 'ansible.*core' | awk '{print $3}' | tr -d ']')"
153153
echo "terraform $(terraform version | awk -Fv '{print $2}' | head -n 1)"
154154
export PATH="$HOME/.local/bin:$PATH"

0 commit comments

Comments
 (0)