I think that's covered by 'updatenode <noderange> -S', or 'updatenode <noderange> -P ospkgs' if otherpkgs isn't affected. Too heavy-duty for me for just changing .repo files - I prefer a little script that I can test first and then run with xdsh.
-- Dr. Jonathan Diprose <j...@well.ox.ac.uk> Tel: 01865 287837 Research Computing Manager Henry Wellcome Building for Genomic Medicine Roosevelt Drive, Headington, Oxford OX3 7BN -----Original Message----- From: Lachlan Simpson <lachlan.simp...@unsw.edu.au> Sent: 27 January 2021 04:56 To: xcat-user@lists.sourceforge.net Subject: Re: [xcat-user] Updating processes and set ups? As a follow up, if I have updated the pkgdir list on an osimage, how do I push out the new conf? Is it as easy as updatenode <noderange> -F? No, when I run that there's no addition to the target /etc/yum.repos.d/ ... It is possible or is xcat designed that if you are going to update you may as well rebuild? cheers L. On Wed, 2021-01-27 at 03:44 +0000, Lachlan Simpson wrote: > Hi All, > > The latest security issue with sudo ( > https://access.redhat.com/errata/RHSA-2021:0221 ) is making me look at > how we distribute updates with xcat. > > I'd appreciate hearing how others do this to keep it timely without > necessarily re-building the entire fleet or needing to go into maintenance > mode. > > We have an osimage list and within most of those we have a set of pkgdir set: > > pkgdir=/install/centos7.8/x86_64,/install/epel/7/x86_64,/install/cento > s-updates/7.8/x86_64 > > (our last maintenance window was the day before 7.9 was released. > Timing was not excellent) > > > I'm wondering if it wouldn't be smarter to just have these repos instead: > > /install/centos/7/x86_64 > /install/epel/7/x86_64 > /install/centos-updates/7/x86_64 > > so we don't need to change our osimage defs all the time? > > Today's security issue has created a lot more work than I'd strictly > like - in situations like this I'd like to be able to sync my repos, > and then `xdsh yum update -y sudo` and leave it at that. > > > How does everyone else manage this? > > cheers > L. > > -- > Lachlan Simpson > > Research Technology Services > > UNSW Research Technology Services > Level 3, Chemical Sciences Building F10 UNSW SYDNEY NSW 2052 AUSTRALIA > E: lachlan.simp...@unsw.edu.au > W: https://research.unsw.edu.au > T: (+612) 9065 4056 > > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user -- Lachlan Simpson Research Technology Services UNSW Research Technology Services Level 3, Chemical Sciences Building F10 UNSW SYDNEY NSW 2052 AUSTRALIA E: lachlan.simp...@unsw.edu.au W: https://research.unsw.edu.au T: (+612) 9065 4056 _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user