compute nodefamily locally
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 25 Sep 2008 19:55:21 +0000 (19:55 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 25 Sep 2008 19:55:21 +0000 (19:55 +0000)
system/TestPlc.py

index 3e32191..54edf55 100644 (file)
@@ -395,7 +395,7 @@ class TestPlc:
     ### install_rpm 
     def install_rpm(self):
         return self.run_in_guest("yum -y install myplc-native")==0 \
-            and self.run_in_guest("yum -y install noderepo-$(cat /etc/nodefamily)")
+            and self.run_in_guest("yum -y install noderepo-%s-%s"%(self.options.pldistro,self.options.arch))
 
     ### 
     def configure(self):