Make DHCP configuration persistent

This commit is contained in:
Pierre HUBERT 2024-09-20 14:00:21 +02:00
parent 91c7fbbe0f
commit 50205c59e0

View File

@ -1,5 +1,7 @@
# As CentOS reached EOL we cannot build the image anymore
# So we reuse the work of Chewie for our own images
FROM chewiebeardy/gns3-host:2023
FROM chewiebeardy/gns3-router:2023
RUN mv /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.orig && ln -s /etc/sysconfig/dhcpd.conf /etc/dhcp/dhcpd.conf
CMD ["/usr/sbin/init"]