==== Create VM template configuration using VMAPI ==== === Install require packages === # yum install ovmd libovmapi xenstoreprovider ovm-template-config ovm-template-config-datetime ovm-template-config-firewall ovm-template-config-network ovm-template-config-selinux ovm-template-config-ssh ovm-template-config-system ovm-template-config-user ==== Oracle VM Template configuration ==== === Packages === Oracle Addon repo # yum install libovmapi xenstoreprovider ovmd \ ovm-template-config \ ovm-template-config-authentication \ ovm-template-config-datetime \ ovm-template-config-firewall \ ovm-template-config-network \ ovm-template-config-selinux \ ovm-template-config-ssh \ ovm-template-config-system \ ovm-template-config-user === Create script /etc/template.d/myscript === === configure service ==== ovm-chkconfig --add myscript ovmd -s cleanup service ovmd enable-initial-config history -c power off === clone to VM template ===