Create `/etc/network/interfaces.d` in Docker container. Fixes #2052

pull/2066/head
grossmj 2 years ago
parent 460fe5ed95
commit 890dbd9f77

@ -290,6 +290,7 @@ class DockerVM(BaseNode):
os.makedirs(os.path.join(path, "if-down.d"), exist_ok=True)
os.makedirs(os.path.join(path, "if-pre-up.d"), exist_ok=True)
os.makedirs(os.path.join(path, "if-post-down.d"), exist_ok=True)
os.makedirs(os.path.join(path, "interfaces.d"), exist_ok=True)
if not os.path.exists(os.path.join(path, "interfaces")):
with open(os.path.join(path, "interfaces"), "w+") as f:

Loading…
Cancel
Save