Fedora CoreOS: How to install Xen/XCP-NG guest utilities using rpm-ostree
In Fedora CoreOS, you can install the Xen guest utilities using
sudo rpm-ostree install xe-guest-utilities-latest
After installing the package, reboot in order for the changes to take effect:
sudo systemctl reboot
Now we need to enable and startthe Xen service:
sudo systemctl enable --now xe-linux-distribution
It will now automatically start on boot.
Example output from the install command:
# rpm-ostree install xe-guest-utilities-latest
Checking out tree 49ec34c... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2020-08-25T19:10:34Z
rpm-md repo 'updates' (cached); generated: 2021-05-13T01:04:01Z
rpm-md repo 'fedora' (cached); generated: 2020-10-19T23:27:19Z
Importing rpm-md... done
Resolving dependencies... done
Will download: 1 package (1.0 MB)
Downloading from 'updates'... done
Importing packages... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Added:
xe-guest-utilities-latest-7.21.0-1.fc33.x86_64
Run "systemctl reboot" to start a reboot