install ubuntu 14.04 on xenserver 6.2

1 – create template based on Lucid

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 Tahir 14.04 (64-bit)”`
xe  template-param-set other-config:install-methods=cdrom,http,ftp  other-config:default_template=true other-config:debian-release=trusty uuid=$NEW_TEMPLATE_UUID

2 – Modify /usr/lib/python2.4/site-packages/grub/GrubConf.py on the XenServer machine

Line 428, change:

if arg.strip() == “${saved_entry}”:

to

if arg.strip() == “${saved_entry}” or arg.strip() == “${next_entry}”:

http://ubuntuforums.org/showthread.php?t=2216358&page=2&p=13006428#post13006428

http://softlit.blogspot.com.br/2014/05/xenserver-62-and-ubuntu-1404-lts.html