mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Docker: load custom interface files from /etc/network/interfaces (commented by default). Ref #2052
This commit is contained in:
parent
fe037a5f1c
commit
1837850894
@ -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("""
|
||||||
|
Loading…
Reference in New Issue
Block a user