Last active
October 5, 2018 15:24
-
-
Save kazkansouh/a0a263809d97acf89aa41a6fe691f451 to your computer and use it in GitHub Desktop.
GNS3 ipterm image with support for dhclient instead of udhcpc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gns3/ipterm:latest | |
RUN DEBIAN_FRONTEND=noninteractive && \ | |
apt-get -q update && \ | |
apt-get -qq -y install isc-dhcp-client && \ | |
rm -rf /var/lib/apt/lists/* | |
# Need to make dhclient available during init script execution | |
# RUN mkdir -p /tmp/gns3/bin && ln -s /sbin/dhclient /tmp/gns3/bin/dhclient | |
# ^^ does not work as directory /tmp/gns/bin should not exist. | |
# | |
# Solution is to use the pre-up script in the interfaces file to | |
# create the symlink. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment