X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeUpdate.py;h=c6823fb2dcdb2af46de05bdf128921f134e70c23;hb=refs%2Fheads%2F0.5;hp=21512f6b00b02c60e59f7ede25316fd57d3e5ec0;hpb=d065175e5150d06437228e634e4adc2838dac813;p=nodeupdate.git diff --git a/NodeUpdate.py b/NodeUpdate.py index 21512f6..c6823fb 100644 --- a/NodeUpdate.py +++ b/NodeUpdate.py @@ -37,6 +37,8 @@ SSL_CERT_DIR='/mnt/cdrom/bootme/cacert/' # file containing the list of extensions this node has, each # correspond to a package group in yum repository. +# this is expected to be updated from the 'extensions tag' +# through the 'extensions.php' nodeconfig script EXTENSIONS_FILE='/etc/planetlab/extensions' # file containing a list of rpms that we should attempt to delete @@ -154,7 +156,7 @@ class NodeUpdate: Message( "Unsupported, not using --verbose option" ) Message( "\nUpdating PlanetLab group" ) - os.system( "%s %s %s -y groupupdate \"PlanetLab\"" % + os.system( "%s %s %s -y groupinstall \"PlanetLab\"" % (YUM_PATH, yum_options, sslcertdir) ) Message( "\nUpdating rest of system" ) @@ -173,7 +175,7 @@ class NodeUpdate: for extension in extensions_contents.split(): group = "extension%s" % extension Message( "\nUpdating %s group" % group ) - os.system( "%s %s %s -y groupupdate \"%s\"" % + os.system( "%s %s %s -y groupinstall \"%s\"" % (YUM_PATH, yum_options, sslcertdir, group) ) else: Message( "No extensions file found" )