summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
97b1178)
it appears that right after installation
fedora23 nodes do not know about the PlanetLab group at all
so just trying to upgrade that group doesn't do anything
def update_group(self, group):
# it is important to invoke dnf group *upgrade* and not *update*
# because the semantics of groups has changed within dnf
def update_group(self, group):
# it is important to invoke dnf group *upgrade* and not *update*
# because the semantics of groups has changed within dnf
- cmd = \
- "{} {} -y group upgrade {}".format(self.command, self.options, group)
+ cmd = "{} {} -y group install {}".format(self.command, self.options, group)
+ Message("Invoking {}".format(cmd))
+ if os.system(cmd) != 0: overall = False
+ cmd = "{} {} -y group upgrade {}".format(self.command, self.options, group)
+ Message("Invoking {}".format(cmd))
+ if os.system(cmd) != 0: overall = False
- cmd = \
- "{} {} -y groupinstall {}".format(self.command, self.options, group)
- Message("Invoking {}".format(cmd))
- return os.system(cmd) == 0
+ cmd = "{} {} -y groupinstall {}".format(self.command, self.options, group)
+ Message("Invoking {}".format(cmd))
+ if os.system(cmd) != 0: overall = False
+ return overall
########## update the whole system
def update_system(self):
########## update the whole system
def update_system(self):