Skip to content

Should VMs be manually updated via their package manager? #3480

Answered by afbjorklund
CodeMan99 asked this question in Q&A
Discussion options

You must be logged in to vote

It is not clear to me if I should be manually running dnf update inside the VM or not?

A: Yes you should, they should be updated like any other virtual machine.

Either manually with something like dnf update or automatically by a service...
The commands vary between the distributions, so that is part of the reason why.

There is also a flag to update the instance automatically, before taking it online.

# Upgrade the instance on boot
# Reboot after upgrade if required
# 🟢 Builtin default: false
upgradePackages: null

https://docs.fedoraproject.org/en-US/quick-docs/autoupdates/

Having the most experience with WSL, this is a little jarring as the kernel there is updated by…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@CodeMan99
Comment options

Answer selected by CodeMan99
Comment options

You must be logged in to vote
0 replies
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