Skip to content

Commit d7a24dc

Browse files
committed
Move to .deb package for Debian-like
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 832909c commit d7a24dc

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

docs/edge/airgap.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,35 +129,37 @@ If you're using an Operating System such as Ubuntu, you can export the installat
129129
Ensure required packages are installed on the air-gapped system:
130130

131131
```sh
132-
sudo apt-get install runc bridge-utils iptables iptables-persistent
132+
sudo apt update && \
133+
sudo apt install runc bridge-utils iptables iptables-persistent
133134
```
134135

135-
Download the installation package:
136+
Download the Debian package:
136137

137138
```bash
138-
mkdir -p ./faasd-pro
139-
arkade oci install --path ./faasd-pro ghcr.io/openfaasltd/faasd-pro:latest
139+
arkade oci install --path . ghcr.io/openfaasltd/faasd-pro-debian:latest
140140
```
141141

142-
Then copy the `faasd-pro` directory to the air-gapped machine.
142+
Then copy the `openfaas-edge-*-amd64.deb` file to the air-gapped machine.
143143

144-
Run the install script on the remote server:
144+
Install the package using dpkg:
145145

146146
```bash
147-
sudo -E ./faasd-pro/install.sh ./faasd-pro/
147+
sudo dpkg -i ./openfaas-edge-*-amd64.deb
148148
```
149149

150-
After the installation script completes add you OpenFaaS Edge license:
150+
After the installation script completes, it will print out the following:
151151

152152
```sh
153153
sudo mkdir -p /var/lib/faasd/secrets
154154
sudo nano /var/lib/faasd/secrets/openfaas_license
155155
```
156156

157+
To save the file in nano hit Control + X.
158+
157159
Perform the final installation step:
158160

159161
```sh
160-
sudo -E sh -c "cd ./faasd-pro/var/lib/faasd && faasd install"
162+
sudo -E faasd install
161163
```
162164

163165
By default OpenFaaS uses Google's public DNS servers you need to specify custom DNS servers during the installation phase by setting the `--dns-server` flag:

0 commit comments

Comments
 (0)