Skip to content

Commit c9030ee

Browse files
weltekialexellis
authored andcommitted
Fix commands for airgap installation
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent 211ea5a commit c9030ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/edge/airgap.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ Restore the OpenFaaS Edge images:
6161
```bash
6262
faas-cli airfaas restore \
6363
--containerd \
64-
--path ./images/openfaas-edge/images.json \
65-
--namespace openfaas
64+
--namespace openfaas \
65+
./images/openfaas-edge/images.json
6666
```
6767

6868
If you need to restore any of your own functions, make sure you pass the `--namespace` flag, i.e.
6969

7070
```bash
7171
faas-cli airfaas restore \
7272
--containerd \
73-
--path ./images/functions/images.json \
74-
--namespace openfaas-fn
73+
--namespace openfaas-fn \
74+
./images/functions/images.json
7575
```
7676

7777
### Restore images to a local registry
@@ -113,7 +113,7 @@ Then copy the `faasd-pro` directory to the air-gapped machine.
113113
Run the install script on the remote server:
114114

115115
```bash
116-
sudo -E ./faasd-pro/install.sh
116+
sudo -E ./faasd-pro/install.sh ./faasd-pro/
117117
```
118118

119119
After the installation script completes add you OpenFaaS Edge license:

0 commit comments

Comments
 (0)