bugfixes
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Feb 2013 12:41:56 +0000 (13:41 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Feb 2013 12:41:56 +0000 (13:41 +0100)
source/BootManager.py
source/steps/ChainBootNode.py

index ab64657..43139a2 100755 (executable)
@@ -234,7 +234,7 @@ class BootManager:
 # has disappeared (Daniel suggested modules.aliases could be used instead)
 # and second, in any case it's been years now that modprobe.conf was deprecated
 # so most likely this code has no actual effect
-                if vars['virt'] == 'vs':
+                if self.VARS['virt'] == 'vs':
                     WriteModprobeConfig.Run( self.VARS, self.LOG )
                 WriteNetworkConfig.Run( self.VARS, self.LOG )
                 CheckForNewDisks.Run( self.VARS, self.LOG )
index 75428aa..566e4e1 100644 (file)
@@ -21,6 +21,7 @@ from Exceptions import BootManagerException
 
 import UpdateNodeConfiguration
 import StopRunlevelAgent
+import MakeInitrd
 
 def Run( vars, log ):
     """