Hi,
I think this is related to: http://dev.opennebula.org/issues/511 The OS Section is not being created properly in Sunstone. Therefore the BOOT option is not recognised and takes the default value in ONE. The patch is ready and should be available in the 2.2 branch soon. Héctor El 11/03/11 04:07, GONG YONGJIE A escribió: > Hi, > > I just test to create one VM to boot from PXEbut > from“deployment.0”the“boot”parameter is still“hd”. > > Please correct me if my configuration is wrong. > > Thanks a lot. > > Logs: > > [root@cloudmanager images]# onevm list > > ID USER NAME STAT CPU MEM HOSTNAME TIME > > 14 root linux-0. runn 1 512M 172.24.178.38 00 21:01:46 > > 19 root OMCP1 runn 10 2G 172.24.178.38 00 17:29:33 > > 23 root CCP5 runn 13 2G 172.24.178.38 00 01:06:19 > > [root@cloudmanager images]# > > [root@cloudmanager images]# onevm show 23 > > VIRTUAL MACHINE 23 > INFORMATION > > ID : 23 > > NAME : CCP5 > > STATE : ACTIVE > > LCM_STATE : RUNNING > > START TIME : 03/11 11:12:00 > > END TIME : - > > DEPLOY ID: : one-23 > > VIRTUAL MACHINE > MONITORING > > USED MEMORY : 2097152 > > USED CPU : 13 > > NET_TX : 0 > > NET_RX : 0 > > VIRTUAL MACHINE > TEMPLATE > > ARCH=i686 > > BOOT=network > > CPU=1 > > EMULATOR=/usr/libexec/qemu-kvm > > GRAPHICS=[ > > LISTEN=127.0.0.1, > > PORT=5915, > > TYPE=vnc ] > > MEMORY=2048 > > NAME=CCP5 > > NIC=[ > > BRIDGE=br0, > > MAC=08:80:42:03:17:8a, > > MODEL=e1000 ] > > NIC=[ > > BRIDGE=br1, > > MAC=08:80:42:03:18:8a, > > MODEL=e1000 ] > > VCPU=1 > > VMID=23 > > ===== > > [root@host1 /]# cat /var/lib/one/23/images/deployment.0 > > <domain type='kvm'> > > <name>one-23</name> > > <vcpu>1</vcpu> > > <memory>2097152</memory> > > <os> > > <type arch='i686'>hvm</type> > > <boot dev='hd'/> > > </os> > > <devices> > > <emulator>/usr/libexec/qemu-kvm</emulator> > > <interface type='bridge'> > > <source bridge='br0'/> > > <mac address='08:80:42:03:17:8a'/> > > <model type='e1000'/> > > </interface> > > <interface type='bridge'> > > <source bridge='br1'/> > > <mac address='08:80:42:03:18:8a'/> > > <model type='e1000'/> > > </interface> > > <graphics type='vnc' listen='127.0.0.1' port='5915'/> > > </devices> > > <features> > > <acpi/> > > </features> > > </domain> > > > === > > [root@cloudmanager images]# cat vm-CCP5.conf > > NAME = CCP5 > > MEMORY = 2048 > > CPU = 1 > > VCPU = 1 > > EMULATOR = /usr/libexec/qemu-kvm > > ARCH = i686 > > BOOT = network > > NIC = [ MAC = "08:80:42:03:17:8a", MODEL ="e1000", BRIDGE = "br0" ] > > NIC = [ MAC = "08:80:42:03:18:8a", MODEL ="e1000", BRIDGE = "br1" ] > > GRAPHICS = [ > > TYPE = "vnc", > > LISTEN = "127.0.0.1", > > PORT = "5915" ] > > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Héctor Sanjuan OpenNebula.org _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org