diff --git a/docker/dhcp/README.rst b/docker/dhcp/README.rst index 4bc562a..4862c43 100644 --- a/docker/dhcp/README.rst +++ b/docker/dhcp/README.rst @@ -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. diff --git a/docker/dhcp/boot.sh b/docker/dhcp/boot.sh index 93e8c60..73c6f15 100644 --- a/docker/dhcp/boot.sh +++ b/docker/dhcp/boot.sh @@ -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