I tried. But it doesn't work. Here my vm template :

CPU="1"
GRAPHICS=[
  LISTEN="0.0.0.0",
  TYPE="vnc" ]
MEMORY="2048"
NAME="test2014"
NIC=[
  NETWORK="toto",
  NETWORK_UNAME="oneuser" ]
OS=[
  BOOT="network" ]
RAW=[
  TYPE="kvm" ]
TEMPLATE_ID="33"
VCPU="1"

And here my error message :

Mon Feb 25 15:21:24 2013 [DiM][I]: New VM state is ACTIVE.
Mon Feb 25 15:21:24 2013 [LCM][I]: New VM state is PROLOG.
Mon Feb 25 15:21:24 2013 [VM][I]: Virtual Machine has no context
Mon Feb 25 15:21:24 2013 [LCM][I]: New VM state is BOOT
Mon Feb 25 15:21:24 2013 [VMM][I]: Generating deployment file:
/var/lib/one/62/deployment.0
Mon Feb 25 15:21:24 2013 [VMM][I]: ExitCode: 0
Mon Feb 25 15:21:24 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Mon Feb 25 15:21:28 2013 [VMM][I]: Command execution fail:
/var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/62/deployment.0
180.169.76.4 62 180.169.76.4Mon Feb 25 15:21:28 2013 [VMM][E]: deploy:
Error executing: virsh -c
'esx://180.169.76.4/?no_verify=1&auto_answer=1' define
/var/lib/one/62/deployment.0 err: ExitCode: 1
Mon Feb 25 15:21:28 2013 [VMM][I]: out:
Mon Feb 25 15:21:28 2013 [VMM][I]: error: Failed to define domain from
/var/lib/one/62/deployment.0
Mon Feb 25 15:21:28 2013 [VMM][I]: error: internal error Domain XML
doesn't contain any disks, cannot deduce datastore and path for VMX
file
Mon Feb 25 15:21:28 2013 [VMM][I]:
Mon Feb 25 15:21:28 2013 [VMM][I]: ExitCode: 255
Mon Feb 25 15:21:28 2013 [VMM][I]: Failed to execute virtualization
driver operation: deploy.Mon Feb 25 15:21:28 2013 [VMM][E]: Error
deploying virtual machine
Mon Feb 25 15:21:29 2013 [DiM][I]: New VM state is FAILED


2013/2/25 Tobias Honacker <t.honac...@googlemail.com>

> Hi,
>
> did you try to boot from network? Use this template:
>
> OS = [
>    BOOT = network
> ]
>
>
> Best Regards,
> Tobias
>
>
> Von: Alexandre De Carvalho <alexandre7.decarva...@gmail.com>
> Datum: Mon, 25 Feb 2013 15:03:09 +0100
> An: Users OpenNebula <users@lists.opennebula.org>
> Betreff: [one-users] using pxe to boot vm
>
> Hi !
>
> How can i do to boot a vm using pxe, please ? I don't find any documents.
>
> --
> Best regards,
> Alexandre
>
>
> _______________________________________________ Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Cordialement,
Alexandre DE CARVALHO
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to