create /etc/planetlab/virt on startup if not already there
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 9 Jul 2013 11:18:29 +0000 (13:18 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 9 Jul 2013 11:18:29 +0000 (13:18 +0200)
nodemanager.py

index 7e7dd9d..57c96c7 100755 (executable)
@@ -174,6 +174,9 @@ class NodeManager:
             return {}
 
     def run(self):
+        # make sure to create /etc/planetlab/virt so others can read that
+        # used e.g. in vsys-scripts's sliceip
+        tools.get_node_virt()
         try:
             if self.options.daemon: tools.daemon()