How to apply Fedora CoreOS changes without a reboot

Do you want to install Fedora CoreOS packages without having to reboot your entire system in order for the packages to be available? Just run

apply_live_rpm_ostree.sh
sudo rpm-ostree ex apply-live

after running your rpm-ostree install commands.

For example:

install_nano_and_apply_live.sh
sudo rpm-ostree install nano
sudo rpm-ostree ex apply-live

 

Note that this is not completely safe for multiple reasons, not even for seemingly innocuous utility packages like nano:

Also read our previous post on Why do you have to reboot after rpm-ostree install on Fedora CoreOS? where we explain the technical reasoning behind the reboots.


Check out similar posts by category: CoreOS