WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] [XCP] - How to create a VM from network install

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] [XCP] - How to create a VM from network install
From: <cluster@xxxxxxxx>
Date: 2010年4月19日 10:28:33 +0200
Delivery-date: 2010年4月19日 01:29:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acrfmkwsmj+IgICFQtGlXupRS4RLPQ==

Hi all,

is there someone who could share the right steps to create a CentOS 5.4 X86_64 Virtual machine from cli. According to manual I used this:

#Create VM

xe vm-install template="CentOS 5.4 x64" new-name-label="Prima" sr-uuid=7f998a60-e435-3ed8-bb00-51480c26cdb5

retval: 84730e38-de64-d7a1-9769-13d52c6e0d93

#Get disk uuid

xe vbd-list vm-uuid=84730e38-de64-d7a1-9769-13d52c6e0d93 userdevice=0 params=uuid --minimal

retval: ec6c3d30-b7f8-0e1f-1110-dfc0cf004683

#Set boot= false

xe vbd-param-set uuid=ec6c3d30-b7f8-0e1f-1110-dfc0cf004683 bootable=false

#Get cd-list

xe cd-list

retval: CentOS-5.4-x86_64-netinstall.iso

#Add cd

xe vm-cd-add vm=Prima cd-name="CentOS-5.4-x86_64-netinstall.iso" device=3

#Get cdrom uuid

xe vbd-list vm-uuid=84730e38-de64-d7a1-9769-13d52c6e0d93 type=CD params=uuid --minimal

retval: e03b58ed-aa43-8475-1f98-2638111dc11b

#Set cd boot=true

xe vbd-param-set uuid=e03b58ed-aa43-8475-1f98-2638111dc11b bootable=true

#Set default repository

xe vm-param-set uuid=84730e38-de64-d7a1-9769-13d52c6e0d93 other-config:install-repository=cdrom

#Start

xe vm-start vm=Prima

retval:

The bootloader returned an error

vm: c4add69a-f3bb-7e33-ada7-537e30ce0af7 (Prima)

msg: Error from bootloader: Failed to parse the output of bootloader: ()

Thanks for any suggestion/help.

Best regards,

Francesco Gallo

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] dom0 network down after domU destroy , Tapas Mishra
Next by Date: [Xen-users] xm list show other host VMs , Tommy Schneider
Previous by Thread: [Xen-users] on_xend_start: booting, shutting down and vm startup order , Brian Krusic
Next by Thread: Re: [Xen-users] [XCP] - How to create a VM from network install , David Booher
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /