Documentation: minor improvements

Fixed example hostname in docker run command

Added bash statements for storing certificates
This commit is contained in:
Roy Lenferink
2017-10-05 22:51:12 +02:00
parent fc3e688c97
commit dc75fcc869
2 changed files with 6 additions and 1 deletions

View File

@@ -163,6 +163,11 @@ $ sudo cp ca.crt server.crt server.key /etc/matchbox
Save `client.crt`, `client.key`, and `ca.crt` for later use (e.g. `~/.matchbox`).
```sh
$ mkdir -p ~/.matchbox
$ cp client.crt client.key ca.crt ~/.matchbox/
```
## Start matchbox
Start the `matchbox` service and enable it if you'd like it to start on every boot.

View File

@@ -174,7 +174,7 @@ sudo docker run --rm --cap-add=NET_ADMIN --net=host quay.io/coreos/dnsmasq \
--dhcp-userclass=set:ipxe,iPXE \
--dhcp-boot=tag:#ipxe,undionly.kpxe \
--dhcp-boot=tag:ipxe,http://matchbox.example.com:8080/boot.ipxe \
--address=/matchbox.example/192.168.1.2 \
--address=/matchbox.example.com/192.168.1.2 \
--log-queries \
--log-dhcp
```