Skip to content
hakk
  • Home
  • Blog
  • Docs
  • DSA
  • Snippets

Virsh

  • CentOS 9 Automated KVM Install Using Kickstart 2023-12-15

    A quick demo using virt-install and Kickstart to provision a new CentOS 9 virtual machine. This uses KVM (Kernel Virtual Machine) and libvirt to manage the VM. And uses Kickstart to setup and install the new system within the virtual machine.

    Creating kickstart file

    I’m going to post my Kickstart file on GitHub as a reference. It installs a headless server with some system admin tools, sets up networking, SELinux, and uses autopart to partition the disk with LVM support. This also assumes that you have setup a Bridge Network that is shared to KVM so the local network can be used instead of the libvirt network.

Recent posts
  • Build Vim With Python3 Support
  • Understanding the ss Command: A Modern Alternative to netstat
  • Understanding HTTP from Scratch with Python Sockets
  • When Environment Variables Mysteriously Reset...
  • How to Generate a 32-byte Key for AES Encryption
© 2026 hakk
  • Home
  • Blog
  • Docs
  • DSA
  • Snippets