Logo
| Product Documentation

Hybrid Control Panel (v10)

Preparing Ubuntu Guest OS Template

To prepare Ubuntu Guest OS template, follow the steps as:

  1. Disable Ubuntu Firewall on OSTemplate: Ubuntu Firewall should be disabled on OSTemplate. To disable ufw follow the instructions given below:
    sudo ufw disable

  2. Enable root User on Ubuntu OSTemplate: To enable root user in Ubuntu , run the following commands in sequence:
    • sudo passwd root  ( This command will prompt you to enter root user password twice in order to confirm the password is correctly entered )
    • sudo passwd -u root ( The second command will unlock the root user )

  3. Install HC Hyper-V components on Ubuntu OSTemplate: Follow the instructions given below in order to install HC Hyper-V Components for your Ubuntu Server.
  4. Install Linux Integration Service (LIS): if you run lsmod | grep hv_ command, it will show that these are installed properly. However, to install the latest updated LIS tools, following steps are required to be run on the OSTemplate in the following sequence:

    • sudo apt-get install "linux-tools-$(uname -r)" "linux-cloud-tools-$(uname -r)"
    • sudo update-initramfs -u
    • reboot

    This will update LIS updated tools on your OSTemplate.

  5. HC Panel Level Configurations for Ubuntu OSTemplates: In order to configure Ubuntu Guest OSTemplate, follow the steps given below:
    • Open HC panel as Global Admin user
    • Navigate to the menu : Configurations >> Virt. Module Conf. >> OSTemplates. Here click on Add OS Template button
    • Now specify all the details which are related to your Ubuntu OSTemplate like its Generation, Template Size, root user and password etc. A sample of Ubuntu OSTemplate is given below just for example to give you an idea about the settings. These settings will differ according to the settings of your custom created OSTemplate for Ubuntu.