@@ -617,8 +617,7 @@ Potential issues
617
617
Full procedure
618
618
--------------
619
619
620
- - It's good to inspect existing DNF packages and determine whether they are
621
- really required.
620
+ - Inspect existing DNF packages and determine whether they are really required.
622
621
623
622
- Use the `migrate2rocky.sh
624
623
<https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh> `__
@@ -630,7 +629,9 @@ Full procedure
630
629
631
630
sudo dnf module disable "*"
632
631
633
- - Migrate to NetworkManager:
632
+ - Migrate to NetworkManager. This can be done using a manual process or with Kayobe.
633
+
634
+ The manual process is as follows:
634
635
635
636
- Ensure that all network interfaces are managed by Network Manager:
636
637
@@ -659,6 +660,16 @@ Full procedure
659
660
660
661
nmcli con mod System\ brextmgmt.3003 ipv4.dns "10.41.4.4 10.41.4.5 10.41.4.6"
661
662
663
+ The following Kayobe process for migrating to NetworkManager has not yet been tested.
664
+
665
+ - Set ``interfaces_use_nmconnection: true `` as a host/group variable for the relevant hosts
666
+
667
+ - Run the appropriate host configure command. For example, for the seed hypervisor:
668
+
669
+ .. code :: console
670
+
671
+ kayobe seed hypervisor host configure -t network -kt none
672
+
662
673
- Make sure there are no funky udev rules left in
663
674
``/etc/udev/rules.d/70-persistent-net.rules `` (e.g. from cloud-init run on
664
675
Rocky 9.1).
@@ -669,14 +680,36 @@ Full procedure
669
680
670
681
.. https://forums.rockylinux.org/t/dnf-warning-message-after-upgrade-from-rocky-8-to-rocky-9/8319/2
671
682
672
- .. code :: console
683
+ - Install Rocky Linux 9 repositories and GPG keys:
684
+
685
+ .. code :: console
686
+
687
+ sudo dnf install -y https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/r/rocky-gpg-keys-9.2-1.6.el9.noarch.rpm \
688
+ https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/r/rocky-release-9.2-1.6.el9.noarch.rpm \
689
+ https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/r/rocky-repos-9.2-1.6.el9.noarch.rpm
690
+
691
+ - Remove the RedHat logos package:
692
+
693
+ .. code :: console
694
+
695
+ sudo rm -rf /usr/share/redhat-logos
696
+
697
+ - Synchronise all packages with current versions
698
+
699
+ .. code :: console
700
+
701
+ sudo dnf --releasever=9 --allowerasing --setopt=deltarpm=false distro-sync -y
702
+
703
+ - Rebuild RPB database:
704
+
705
+ .. code :: console
706
+
707
+ sudo rpm --rebuilddb
708
+
709
+ - Remove all EL8 packages:
710
+
711
+ .. code :: console
673
712
674
- sudo dnf install -y https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/r/rocky-gpg-keys-9.2-1.6.el9.noarch.rpm \
675
- https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/r/rocky-release-9.2-1.6.el9.noarch.rpm \
676
- https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/r/rocky-repos-9.2-1.6.el9.noarch.rpm
677
- sudo rm -rf /usr/share/redhat-logos
678
- sudo dnf --releasever=9 --allowerasing --setopt=deltarpm=false distro-sync -y
679
- sudo rpm --rebuilddb
680
- sudo rpm -qa | grep el8 | xargs dnf remove
713
+ sudo rpm -qa | grep el8 | xargs dnf remove
681
714
682
715
- You will need to re-create *all * virtualenvs afterwards due to system Python version upgrade.
0 commit comments