Created
March 11, 2021 13:19
-
-
Save CodyKochmann/88010a06566a747cac0cebd50057b7ce to your computer and use it in GitHub Desktop.
install virsh and kvm for vm management on a fedora coreos host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# installs virsh and tools for kvm on fedora coreos | |
# by: Cody Kochmann | |
# license: MIT | |
function remove-nfs-client(){ | |
# this is needed if install has an issue | |
# with mount.nfs already existing | |
rpm-ostree override remove nfs-utils-coreos | |
} | |
function install-kvm(){ | |
rpm-ostree install --reboot bridge-utils libvirt virt-install qemu-kvm virt-manager virt-top libguestfs-tools | |
} | |
function install-kvm-with-nfs-patch(){ | |
remove-nfs-client | |
install-kvm | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment