Skip to content

Ubuntu OSMorphing Refactor#427

Open
Dany9966 wants to merge 3 commits intocloudbase:masterfrom
Dany9966:ubuntu-refactor
Open

Ubuntu OSMorphing Refactor#427
Dany9966 wants to merge 3 commits intocloudbase:masterfrom
Dany9966:ubuntu-refactor

Conversation

@Dany9966
Copy link
Copy Markdown
Contributor

This PR contains the following patches:

  1. Fix new cloud-init version service enablement.

    New cloud-init version (>26) changed its systemd unit service name,
    therefore the enablement method needs to reflect that.

  2. Improve upon Ubuntu OSMorphing tool check

    This patch makes sure that the base Ubuntu osmorphing tool checks
    for the migrated machine's subversion, and makes sure that it's an
    LTS subversion, instead of checking each LTS version separately.
    This will allow for provider-side refactoring and tool grouping.

  3. Replace all deprecated @abc.abstractclassmethod declarations

    Replaced them with stacked @classmethod\n@abc.abstractmethod

Dany9966 added 3 commits May 8, 2026 18:04
New cloud-init version (>26) changed its systemd unit service name,
therefore the enablement method needs to reflect that.
This patch makes sure that the base Ubuntu osmorphing tool checks
for the migrated machine's subversion, and makes sure that it's an
LTS subversion, instead of checking each LTS version separately.
This will allow for provider-side refactoring and tool grouping.
Replaced them with stacked `@classmethod\n@abc.abstractmethod`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant