mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-02-23 18:20:19 +00:00
Merge pull request #608 from phillid/master
Update and fix typos in DHCP container
This commit is contained in:
commit
379a849f4e
@ -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/*
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user