From 3369befaa4c2ca41cc514558097ae908c2272bfd Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Wed, 2 May 2012 14:47:04 -0400 Subject: [PATCH] Fix for multiple interfaces per slice M-Lab wants an IPv4 and IPv6 address assigned per slice. When more than one interface is added to a slice, the interface/X/ip argument gets filled out correctly but the slice will not start because the 'nodev' option is missing. --- python/vserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/vserver.py b/python/vserver.py index 4724311..8f4488b 100644 --- a/python/vserver.py +++ b/python/vserver.py @@ -255,6 +255,7 @@ class VServer: i = 0 for a in addresses.split(","): self.config.update("interfaces/%d/ip" % i, a) + self.config.update("interfaces/%d/nodev" % i, "") i += 1 while self.config.unset("interfaces/%d/ip" % i): i += 1 -- 2.47.0