Oracle Linux 7 Update 9 Template for Oracle Linux KVM Media Pack for x86_64 (64-bits)
=====================================================================================

Contents

        1. About the Template
        2. Creating an Oracle Linux KVM Guest Virtual Machine using Oracle Linux Virtualization Manager
        3. Known Issues

1. About the Template
=====================

        Oracle Linux VM Templates are provided as standard Open Virtualization Format Archive (.ova) files.

        The Oracle Linux 7 Media Pack contains the following file:

        File                            Version  Description
        ------------------------------  -------  --------------------------------------------------------------------
        OL7U9_x86_64-olvm-b218.ova          1.0  Appliance for Oracle Linux 7 Update 9 Template for Oracle Linux KVM
        OL7U9_x86_64-kvm-b218.qcow2         1.0  Oracle Linux 7 Update 9 virtual disk Template for Oracle Linux KVM

        Template virtual machine configuration:

        Template Name                   Kernel                                VCPU  RAM   Storage  Storage-Type
        ------------------------------  ------------------------------------  ----  ----  -------  ------------
        OL7U9_x86_64-olvm-b218.ova      5.4.17-2136.329.3.1.el7uek.x86_64        4   8GB     37GB        Sparse
        OL7U9_x86_64-kvm-b218.qcow2     5.4.17-2136.329.3.1.el7uek.x86_64      N/A   N/A     37GB        Sparse

        Oracle Linux configuration:

          * Oracle Linux is installed using the Minimal Install base environment.
          * The latest available errata are installed for all packages at the time of template creation.
          * The default boot target is multi-user.target (equivalent to run level 3 in previous Oracle Linux releases).
          * The firewall is enabled. The SELinux option is set to Enforcing.
          * The default boot kernel is Oracle Unbreakable Enterprise Kernel Release 6.

    The following packages are installed on the template:

        PyYAML.x86_64
        acl.x86_64
        acpid.x86_64
        audit-libs-python.x86_64
        audit-libs.x86_64
        authconfig.x86_64
        basesystem.noarch
        bash.x86_64
        bc.x86_64
        bind-export-libs.x86_64
        binutils.x86_64
        btrfs-progs.x86_64
        bzip2-libs.x86_64
        ca-certificates.noarch
        checkpolicy.x86_64
        chkconfig.x86_64
        chrony.x86_64
        cloud-init.x86_64
        cloud-utils-growpart.noarch
        coreutils.x86_64
        cpio.x86_64
        cracklib-dicts.x86_64
        cracklib.x86_64
        cronie-anacron.x86_64
        cronie.x86_64
        crontabs.noarch
        cryptsetup-libs.x86_64
        curl.x86_64
        cyrus-sasl-lib.x86_64
        dbus-glib.x86_64
        dbus-libs.x86_64
        dbus-python.x86_64
        dbus.x86_64
        device-mapper-event-libs.x86_64
        device-mapper-event.x86_64
        device-mapper-libs.x86_64
        device-mapper-persistent-data.x86_64
        device-mapper.x86_64
        dhclient.x86_64
        dhcp-common.x86_64
        dhcp-libs.x86_64
        diffutils.x86_64
        dmidecode.x86_64
        dracut-config-rescue.x86_64
        dracut.x86_64
        e2fsprogs-libs.x86_64
        e2fsprogs.x86_64
        ebtables.x86_64
        elfutils-default-yama-scope.noarch
        elfutils-libelf.x86_64
        elfutils-libs.x86_64
        expat.x86_64
        file-libs.x86_64
        file.x86_64
        filesystem.x86_64
        findutils.x86_64
        fipscheck-lib.x86_64
        fipscheck.x86_64
        firewalld-filesystem.noarch
        firewalld.noarch
        freetype.x86_64
        fuse-libs.x86_64
        gawk.x86_64
        gdbm.x86_64
        gdisk.x86_64
        gettext-libs.x86_64
        gettext.x86_64
        glib2.x86_64
        glibc-common.x86_64
        glibc.x86_64
        gmp.x86_64
        gnupg2.x86_64
        gobject-introspection.x86_64
        gpg-pubkey.(none)
        gpgme.x86_64
        grep.x86_64
        groff-base.x86_64
        grub2-common.noarch
        grub2-pc-modules.noarch
        grub2-pc.x86_64
        grub2-tools-extra.x86_64
        grub2-tools-minimal.x86_64
        grub2-tools.x86_64
        grub2.x86_64
        grubby.x86_64
        gzip.x86_64
        hardlink.x86_64
        hostname.x86_64
        hwdata.x86_64
        info.x86_64
        initscripts.x86_64
        iproute.x86_64
        ipset-libs.x86_64
        ipset.x86_64
        iptables-services.x86_64
        iptables.x86_64
        iputils.x86_64
        irqbalance.x86_64
        json-c.x86_64
        kbd-legacy.noarch
        kbd-misc.noarch
        kbd.x86_64
        kernel-tools-libs.x86_64
        kernel-tools.x86_64
        kernel-transition.x86_64
        kernel-uek.x86_64
        keyutils-libs.x86_64
        kmod-libs.x86_64
        kmod.x86_64
        kpartx.x86_64
        krb5-libs.x86_64
        less.x86_64
        libacl.x86_64
        libaio.x86_64
        libassuan.x86_64
        libattr.x86_64
        libblkid.x86_64
        libcap-ng.x86_64
        libcap.x86_64
        libcgroup.x86_64
        libcom_err.x86_64
        libcroco.x86_64
        libcurl.x86_64
        libdb-utils.x86_64
        libdb.x86_64
        libedit.x86_64
        libestr.x86_64
        libfastjson.x86_64
        libffi.x86_64
        libgcc.x86_64
        libgcrypt.x86_64
        libgomp.x86_64
        libgpg-error.x86_64
        libgudev1.x86_64
        libidn.x86_64
        libmnl.x86_64
        libmount.x86_64
        libnetfilter_conntrack.x86_64
        libnfnetlink.x86_64
        libnl.x86_64
        libpipeline.x86_64
        libpng.x86_64
        libpwquality.x86_64
        libseccomp.x86_64
        libselinux-python.x86_64
        libselinux-utils.x86_64
        libselinux.x86_64
        libsemanage-python.x86_64
        libsemanage.x86_64
        libsepol.x86_64
        libsmartcols.x86_64
        libss.x86_64
        libssh2.x86_64
        libstdc++.x86_64
        libsysfs.x86_64
        libtasn1.x86_64
        libunistring.x86_64
        libuser.x86_64
        libutempter.x86_64
        libuuid.x86_64
        libverto.x86_64
        libxml2-python.x86_64
        libxml2.x86_64
        libyaml.x86_64
        libzstd.x86_64
        linux-firmware.noarch
        logrotate.x86_64
        lshw.x86_64
        lua.x86_64
        lvm2-libs.x86_64
        lvm2.x86_64
        lz4.x86_64
        lzo.x86_64
        m2crypto.x86_64
        make.x86_64
        man-db.x86_64
        ncurses-base.noarch
        ncurses-libs.x86_64
        ncurses.x86_64
        net-tools.x86_64
        newt-python.x86_64
        newt.x86_64
        nspr.x86_64
        nss-pem.x86_64
        nss-softokn-freebl.x86_64
        nss-softokn.x86_64
        nss-sysinit.x86_64
        nss-tools.x86_64
        nss-util.x86_64
        nss.x86_64
        numactl-libs.x86_64
        openldap.x86_64
        openssh-clients.x86_64
        openssh-server.x86_64
        openssh.x86_64
        openssl-libs.x86_64
        openssl.x86_64
        oracle-logos.noarch
        oraclelinux-release-el7.x86_64
        oraclelinux-release.x86_64
        os-prober.x86_64
        p11-kit-trust.x86_64
        p11-kit.x86_64
        pam.x86_64
        parted.x86_64
        passwd.x86_64
        pciutils-libs.x86_64
        pciutils.x86_64
        pcre.x86_64
        pinentry.x86_64
        pkgconfig.x86_64
        policycoreutils-python.x86_64
        policycoreutils.x86_64
        popt.x86_64
        procps-ng.x86_64
        psmisc.x86_64
        pth.x86_64
        pyOpenSSL.x86_64
        pygobject2.x86_64
        pygpgme.x86_64
        pyliblzma.x86_64
        pyserial.noarch
        python-IPy.noarch
        python-babel.noarch
        python-backports-ssl_match_hostname.noarch
        python-backports.x86_64
        python-chardet.noarch
        python-configobj.noarch
        python-decorator.noarch
        python-dmidecode.x86_64
        python-ethtool.x86_64
        python-firewall.noarch
        python-gobject-base.x86_64
        python-gudev.x86_64
        python-hwdata.noarch
        python-iniparse.noarch
        python-ipaddress.noarch
        python-jinja2.noarch
        python-jsonpatch.noarch
        python-jsonpointer.noarch
        python-kitchen.noarch
        python-libs.x86_64
        python-markupsafe.x86_64
        python-prettytable.noarch
        python-pycurl.x86_64
        python-requests.noarch
        python-setuptools.noarch
        python-six.noarch
        python-slip-dbus.noarch
        python-slip.noarch
        python-urlgrabber.noarch
        python-urllib3.noarch
        python.x86_64
        pyxattr.x86_64
        qemu-guest-agent.x86_64
        qrencode-libs.x86_64
        readline.x86_64
        redhat-release-server.x86_64
        rhn-check.x86_64
        rhn-client-tools.x86_64
        rhn-setup.x86_64
        rhnlib.noarch
        rhnsd.x86_64
        rootfiles.noarch
        rpm-build-libs.x86_64
        rpm-libs.x86_64
        rpm-python.x86_64
        rpm.x86_64
        rsyslog.x86_64
        sed.x86_64
        selinux-policy-targeted.noarch
        selinux-policy.noarch
        setools-libs.x86_64
        setup.noarch
        sg3_utils-libs.x86_64
        sg3_utils.x86_64
        shadow-utils.x86_64
        shared-mime-info.x86_64
        slang.x86_64
        sqlite.x86_64
        sudo.x86_64
        systemd-libs.x86_64
        systemd-sysv.x86_64
        systemd.x86_64
        sysvinit-tools.x86_64
        tar.x86_64
        tcp_wrappers-libs.x86_64
        tmpwatch.x86_64
        tzdata.noarch
        uname26.x86_64
        usermode.x86_64
        ustr.x86_64
        util-linux.x86_64
        vim-minimal.x86_64
        which.x86_64
        xfsprogs.x86_64
        xz-libs.x86_64
        xz.x86_64
        yum-metadata-parser.x86_64
        yum-plugin-ulninfo.noarch
        yum-rhn-plugin.noarch
        yum-utils.noarch
        yum.noarch
        zlib.x86_64

2. Creating an Oracle Linux KVM Guest Virtual Machine using Oracle Linux Virtualization Manager
============================================================================================

        Detailed instructions are public available at:
        https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/getstart/template-vm-creation.html#template-ol-vm-create

        1) Copy the OVA file to a directory on the Oracle Linux KVM Host server with read/write permissions for vdsm user and kvm group (36:36).
        2) Navigate to Compute > Virtual Machines
        3) Click on the 'Menu Icon' or the 'kebab' button (three vertical dots next to the Create Snapshot) and select Import
        4) Select the Data Center to which the OVA should be imported.
        5) Select the source as Virtual Appliance (OVA)
        6) Select the Host which contains the OVA file and provide the full absolute path to the file.
        7) Then click Load
        8) This will list the VM present in the OVA file. Select the VM name and move it to the right hand side "Virtual Machines to Import" section of the window. Then click Next
        9) Check the Clone box and set the configuration for the VM, such as, Operating System, Network Interfaces, Disks, etc. Then click OK
           * A VM will be created from the OVA file in the Data Center selected while importing.

        With the Virtual Machine Created edit the same and Navigate to "Initial Run" Tab, select "Enable Cloud-Init/Sysprep" and supply following information (optional):
                *) VM Hostname
                *) Configure Timezone
                *) Authentication
                        *) Username
                        *) Password
                        *) Verify Password
                        *) SSH Authorized Keys
                        *) Regenerate SSH Keys
                *) Networks
                        *) DNS Servers
                        *) DNS Search Domains
                        *) In-guest Network Interface Name
                *) Custom script

        With options configured, proceed to start the Virtual Machine.

3. Known Issues
===============
        
        While trying to start a Virtual Machine based on an Oracle Linux KVM template using Oracle Linux Virtualization Manager, the following error appears:

        Error while executing action:
        - Cannot run VM. Selected display type is not supported by the operating system.
        Oracle Bug ==> 30429549 and 30500887
        
        Workaround / Solution ==> Edit the Virtual Machine Settings, open "Console" TAB and select "VGA" as "Video Type".