File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Ganeti RPM Packaging for RHEL/AlmaLinux/Rocky Linux/others.
1515- [ Installation tutorial] ( https://github.com/jfut/ganeti-rpm/blob/master/doc/install-rhel.md )
1616- [ Upgrade / update guides (update-rhel-* )] ( https://github.com/jfut/ganeti-rpm/tree/master/doc )
1717
18- ## YUM/ DNF repository and binary RPM files
18+ ## DNF repository and binary RPM files
1919
2020- https://jfut.integ.jp/linux/ganeti/
2121- https://ftp.osuosl.org/pub/ganeti-rpm/ (mirror, thanks to the OSU Open Source Lab)
@@ -194,7 +194,7 @@ BUILD_HOSTNAME=almalinux-8.github.integ.jp
194194docker run -h " ${BUILD_HOSTNAME} " --rm -it -v $PWD :/pkg -v ~ /.gnupg.el8:/root/.gnupg almalinux:8 bash
195195
196196# Setup
197- yum -y install findutils rpm-sign pinentry
197+ dnf -y install findutils rpm-sign pinentry
198198
199199# Set your gpg name
200200echo " %_gpg_name [email protected] " >> ~ /.rpmmacros
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ iptables-restore < /etc/sysconfig/iptables
142142ip6tables-restore < /etc/sysconfig/ip6tables
143143` ` `
144144
145- # # Setting up yum/ dnf repositories
145+ # # Setting up dnf repositories
146146
147147** Mandatory** on all nodes.
148148
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ tar zxf /root/ganeti-BACKUP_DATE.tar.gz -C /var/lib
120120# el7
121121yum --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el7
122122# el8
123- yum --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el8
123+ dnf --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el8
124124
125125systemctl start ganeti.target
126126systemctl start ganeti-kvmd.service
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ chmod 600 /root/ganeti-$(date +%FT%H)*.tar.gz
3131** Mandatory** on all nodes.
3232
3333``` bash
34- yum --enablerepo=integ-ganeti update integ-ganeti-release
35- yum --enablerepo=epel,integ-ganeti update ganeti
34+ dnf --enablerepo=integ-ganeti update integ-ganeti-release
35+ dnf --enablerepo=epel,integ-ganeti update ganeti
3636```
3737
3838## Upgrade configuration files on master node
@@ -107,11 +107,11 @@ mv /var/lib/ganeti /var/lib/ganeti.failed
107107tar zxf /root/ganeti-BACKUP_DATE.tar.gz -C /var/lib
108108
109109# el8
110- yum --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el8
110+ dnf --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el8
111111# el9
112- yum --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el9
112+ dnf --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el9
113113# el10
114- yum --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el10
114+ dnf --enablerepo=epel,integ-ganeti downgrade ganeti-x.y.z-n.el10
115115
116116systemctl start ganeti.target
117117systemctl start ganeti-kvmd.service
You can’t perform that action at this time.
0 commit comments