Skip to content
Discussion options

You must be logged in to vote

Thanks for this question @Omripresent. Runcmd is a confusing one because the scripe rendered

Per typical /etc/cloud/cloud.cfg module ordering runcmd should run at the tail end of the modules:config stage. But this module only renders a runcmd script to /var/lib/cloud/instance/scripts/runcmd which ultimately gets run during the module cc_scripts_user.

That module is ordered later than package_update_upgrade_install which is activated by your package_upgrade: true config because typically runcmd operations like to take advantage of packages provided by newly added repositories.

In your case, I'd suggest dropping the package_upgrade: true and pulling out your dnf update or dnf -y upgrade int…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by holmanb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants