VMotion logo
Please Login or Register
SALES: +353 61 503060 | sales@vmotionhost.com
SUPPORT: +353 61 503061 | support@vmotionhost.com

Portal Home > Knowledgebase > VPS (Virtual Private Servers) > Issue with Ubunti 14.x install with Template on Xenserver 6.2


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!



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Do I Need a VPS? (Views: 2021)


Funded by the European Globalisation Fund TRUSTe Privacy Policy
VMotion IT Solutions LTD®, registration number 489707, VAT number IE 9772534C. Copyright © 2010-2017 VMotion IT Solutions
Funded by the European Globalisation Fund