Merge pull request #608 from phillid/master

Update and fix typos in DHCP container
This commit is contained in:
Jeremy Grossmann 2021-08-29 18:38:26 -07:00 committed by GitHub
commit 379a849f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.3
FROM alpine:3.14
MAINTAINER developers@gns3.net
RUN apk add --update dnsmasq && rm -rf /var/cache/apk/*

View File

@ -5,7 +5,7 @@ This container provide a basic DHCP server fro GNS3 topologies
build on top of dnsmasq.
At first startup a sample config will be write in
/etc/dnsmasq/dnsmaq.conf
/etc/dnsmasq/dnsmasq.conf
You can customize the server by editing this file and restarting the container.

View File

@ -18,9 +18,9 @@
mkdir -p /etc/dnsmasq
if [ ! -f /etc/dnsmasq/dnsmaq.conf ]
if [ ! -f /etc/dnsmasq/dnsmasq.conf ]
then
cat > /etc/dnsmasq/dnsmaq.conf <<EOF
cat > /etc/dnsmasq/dnsmasq.conf <<EOF
# dnsmasq will open tcp/udp port 53 and udp port 67 to world to help with
# dynamic interfaces (assigning dynamic ips). Dnsmasq will discard world
# requests to them, but the paranoid might like to close them and let the
@ -46,5 +46,5 @@ $$$$$$$/ $$/ $$/ $$$$$$/ $$/
'
echo "Edit /etc/dnsmasq/dnsmaq.conf to change the configuration"
dnsmasq --log-dhcp --no-daemon --conf-file=/etc/dnsmasq/dnsmaq.conf
echo "Edit /etc/dnsmasq/dnsmasq.conf to change the configuration"
dnsmasq --log-dhcp --no-daemon --conf-file=/etc/dnsmasq/dnsmasq.conf