Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the usage of packages keyword in cloud-init, to avoid auto upgrade of packages #1702

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

srbarrios
Copy link
Member

What does this PR change?

Don't upgrade packages in the systems deployed in a SUMA/Uyuni test environment.

The cloud team added the module package-update-upgrade-install to SUSE cloud-init configuration. This triggers an not-desired update of packages in some of the systems part of our test environment.

This is triggered due to the usage of the keyword packages in our YAML file.


This PR replace the keyword packages by runcmd zypper in

Example:

packages: ["venv-salt-minion", "avahi", "nss-mdns", "qemu-guest-agent"]
runcmd:
  - zypper in venv-salt-minion avahi nss-mdns qemu-guest-agent

@srbarrios srbarrios requested a review from a team September 24, 2024 08:50
Copy link
Contributor

@Bischoff Bischoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed

@srbarrios srbarrios merged commit dc84479 into master Sep 24, 2024
2 checks passed
@srbarrios srbarrios deleted the qe-skip-zypper-up-cloud-init branch September 24, 2024 10:12
srbarrios added a commit that referenced this pull request Sep 24, 2024
…d auto upgrade of packages (#1702)"

This reverts commit dc84479.
srbarrios added a commit that referenced this pull request Sep 24, 2024
* Revert "Non interactive zypper install (#1703)"

This reverts commit 151e663.

* Revert "Refactor the usage of packages keyword in cloud-init, to avoid auto upgrade of packages (#1702)"

This reverts commit dc84479.
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.

3 participants