Leap Micro 6.1 Beta was officially released last Wednesday, available for download at get.opensuse.org. This version is largely a rebrand of SUSE Linux Enterprise Micro 6.1. If no major issues arise, expect a quick transition to RC and GA next week.
One exciting feature is the introduction of the opensuse-migration-tool, which simplifies upgrades to newer major releases. Here’s how to use this tool with older versions and Leap Micro 6.1 Beta.
Benefits of opensuse-migration-tool
- Simplified Upgrades: No need for manual repository changes.
- Effortless Process: Ensures smooth transitions to newer versions.
- Experimental Stage: Still under development, so some issues may occur.
How to Use opensuse-migration-tool
1. Testing in Leap Micro Container Using Distrobox
Start with an older version of Leap Micro.
Steps:
- Clone the tool’s repository:
bash
git clone https://github.com/openSUSE/opensuse-migration-tool.git cd opensuse-migration-tool
- Create a container with distrobox:
bash
distrobox create –image registry.opensuse.org/opensuse/leap-micro/6.0/toolbox –name micro60 distrobox enter micro60
- Install dependencies:
bash
zypper in bc jq curl dialog sed gawk
- Simulate the upgrade:
bash
./opensuse-migration-tool –pre-release –dry-run
- Run the upgrade:
bash
sudo ./opensuse-migration-tool –pre-release
- Verify the OS version:
bash
cat /etc/os-release
Note: If issues arise, reset the container with:
podman stop micro60 && distrobox rm micro60
2. Testing on Leap Micro Host or VM
Applicable to Leap Micro 6.0 or 5.5.
Steps:
- Enter transactional shell:
bash
sudo transactional-update shell
- Install dependencies and clone repository:
bash
zypper in git bc jq curl dialog sed gawk git clone https://github.com/openSUSE/opensuse-migration-tool.git cd opensuse-migration-tool
- Simulate the upgrade:
bash
./opensuse-migration-tool –pre-release –dry-run
- Perform the upgrade:
bash
sudo ./opensuse-migration-tool –pre-release
- Reboot the system
3. Upgrading Leap Micro 6.1 to MicroOS
For Leap Micro 6.1 Beta users, the only target is MicroOS.
Steps:
- Install opensuse-migration-tool:
bash
sudo transactional-update shell zypper in opensuse-migration-tool
- Simulate changes:
bash
sudo opensuse-migration-tool –dry-run
- Upgrade to MicroOS:
bash
sudo opensuse-migration-tool
Known Issues
- Bug #1233982: Upgrade failure on netcfg using distrobox.
Solution: Ignore by typingi
inzypper dup
interactive mode.
Want to Contribute?
You can contribute by submitting pull requests, reporting bugs, or providing feedback to the openSUSE Migration Tool repository.