Question : Ubuntu Virtual Machines on VMWare are not creating properly via HC10 panel. What could be the reason ?
Answer : Such issue occurs if Ubuntu OSTemplate is not properly prepared. To configure the Ubuntu OSTemplate the following steps must be followed :
- Disable Ubuntu Firewall on OSTemplate
- Enable root User on Ubuntu OSTemplate
- Install HC Hyper-V components on Ubuntu OSTemplate
- Install Vmware tools on Ubuntu OSTemplate
- Install net-tools package
- HC Panel Level Configurations for Ubuntu OSTemplates
All these steps are explained in detail below in this kb article.
Disable Ubuntu Firewall on OSTemplate : Ubuntu Firewall should be disabled on OSTemplate. To disable ufw follow the instructions given below:
sudo ufw disable
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 )
Install VMWare tools on Ubuntu OSTemplate :
VMWare tools are required to be installed on Ubuntu OSTemplate which can be confirmed by checking the flag against VMWare Tools as shown in below diagram. If it does not show Yes
against VMWare Tools then follow the instructions given in this URL
to install these tools on the OSTemplate VM.
Install net-tools package : This package is mandatory to be installed on the Ubuntu Guest OSTemplate. To install the package you can run the following command :
apt-get install net-tools
Note: After performing all above tasks, Ubuntu OSTemplate is now ready to be used for provisioning of Virtual Machines via HC10 panel.
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.
Note: SCSI controller of type “LSI Logic Parallel” is also supported for VMWare VM creation using HC panel.