Issue with Ubunti 14.x install with Template on Xenserver 6.2

Xenserver 6.2 doesn't support Ubuntu 14.x by default.
To get Ubuntu 14.x installed a  small modification is needed on Xenserver.
Please follow the steps when installling Ubuntu 14.x with Template on Xenserver 6.2.

TEMPLATE_UUID=`xe template-list name-label="Ubuntu Lucid Lynx 10.04 (64-bit)" params=uuid --minimal`
NEW_TEMPLATE_UUID=`xe vm-clone uuid=$TEMPLATE_UUID new-name-label="Ubuntu Trusty 14.04 (64-bit)"`
xe template-param-set other-config:default_template=true other-config:debian-release=trusty uuid=$NEW_TEMPLATE_UUID

Once above is done. Follow these steps:
  1. Login to the XenServer via ssh
  2. Copy the file you're about to edit as a backup:
    cp /usr/lib/python2.4/site-packages/grub/GrubConf.py /usr/lib/python2.4/site-packages/grub/GrubConf.py.bak
  3. vi /usr/lib/python2.4/site-packages/grub/GrubConf.py
  4. Modify line 428 (Press Esc, type 428, Shift-g)
  5. Insert (i): or arg.strip() == "${next_entry}"
    to the line: 
    if arg.strip() == "${saved_entry}":
    so the line looks like this:
    if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":
  6. Save and exit (Esc :wq)
In XenCenter start the “New VM? wizard and select the new template then choose a suitable mirror for the URL from where you can get the Ubuntu. 

You are done!

  • 101 Users Found This Useful
Was this answer helpful?

Related Articles

Do I Need a VPS?

VPS stands for Virtual Private Server. When your website has outgrown your shared hosting plan...

Who Manages My VPS?

All our VPS plans come completely unmanaged unless you buy a managed service addon. What it means...

Do you help to setup Control Panels and Operating Systems?

All VPS packages come with the operating system of customer choice preinstalled. The customer can...

How do I Reboot my VPS?

Step 1:   To reboot your virtual machine, go to the client area, and click the "My Services"...

How Do I Monitor Traffic on my Virtual Machine?

      To monitor your traffic on your virtual machine, go to the client area, and click the...