From 890dbd9f771cd7a1992505588e020f964ba06eed Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 20 Apr 2022 22:59:51 +0700 Subject: [PATCH] Create `/etc/network/interfaces.d` in Docker container. Fixes #2052 --- gns3server/compute/docker/docker_vm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/compute/docker/docker_vm.py b/gns3server/compute/docker/docker_vm.py index ed00ba3f..a1b411d9 100644 --- a/gns3server/compute/docker/docker_vm.py +++ b/gns3server/compute/docker/docker_vm.py @@ -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: