uyuni-project / uyuni-tools

Tools to work with containerized Uyuni server
Apache License 2.0
13 stars 14 forks source link

Prefer local images in all migration steps (bsc#1227244) #382

Closed rjmateus closed 4 days ago

rjmateus commented 5 days ago

What does this PR change?

Fix: https://bugzilla.suse.com/show_bug.cgi?id=1227244

The migration process has several different steps that need to use images. The image path, and if it should be local or remote was done in the first to steps but not on the next ones. Move the server image computation to outside, and passed that as an argument.

Test coverage

Links

Issue(s): #

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Before you merge

Check How to branch and merge properly!