Sample script for KVM host setup
Use the shell script listing shown in Example A-1 to guide you through the process of a KVM host setup. Remember to modify the network settings to match your environment.
Example A-1 KVM host setup script
#! /bin/bash
 
yum update --nogpgcheck --assumeyes
 
# kvm install
yum --nogpgcheck --assumeyes install kvm
yum --nogpgcheck --assumeyes install virt-manager libvirt libvirt-Python Python-virtinst virt-viewer perl-XML* ...

Get Creating Smart Virtual Appliances with IBM Image Construction and Composition Tool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.