mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-14 05:18:22 +00:00
Docker: load custom interface files from /etc/network/interfaces (commented by default). Ref #2052
This commit is contained in:
@ -298,6 +298,8 @@ class DockerVM(BaseNode):
|
|||||||
# This is a sample network config, please uncomment lines to configure the network
|
# This is a sample network config, please uncomment lines to configure the network
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Uncomment this line to load custom interface files
|
||||||
|
# source /etc/network/interfaces.d/*
|
||||||
""")
|
""")
|
||||||
for adapter in range(0, self.adapters):
|
for adapter in range(0, self.adapters):
|
||||||
f.write("""
|
f.write("""
|
||||||
|
Reference in New Issue
Block a user