It´s solved.

 
My problem was with pygrub.
I changed from:
bootloader = '/usr/bin/pygrub'
to
kernel = '/vmlinuz'
ramdisk = '/initrd.img'
 
Thanks to all.
 


De: Ruben S. Montero < rsmont...@opennebula.org >
Enviada: Sexta-feira, 13 de Setembro de 2013 07:54
Para: kenny.ke...@bol.com.br
Assunto: Re: [one-users] domU.cfg and deployment.0

ROOT in OS, Take a look at the examples at:
 
http://opennebula.org/documentation:rel4.2:template#os_and_boot_options_section


On Thu, Sep 12, 2013 at 6:06 AM, <kenny.ke...@bol.com.br> wrote:
Hello,
Im having a problem with deployment.0
 
I can create a domU, by xm create with this domU.cfg:
 

bootloader = '/usr/bin/pygrub'
vcpus       = '1'
memory      = '512'
root        = '/dev/xvda1 ro'
disk        = [
                  'file:/var/lib/one//datastores/0/89/disk.0,xvda1,w',
              ]
#
name        = 'ubuntu'
#  Networking
dhcp        = 'dhcp'
vif         = [ 'mac=00:16:3E:8F:D9:05' ]

This is my opennebula template:
 
CLUSTER_100="100"
CPU="1"
DISK=[DRIVER="file:",IMAGE_ID="16",READONLY="no",TARGET="xvda1"]
GRAPHICS=[LISTEN="0.0.0.0",PASSWD="123456",TYPE="VNC"]
MEMORY="256"
NIC=[NETWORK_ID="1"]
OS=[BOOT="xvda1",BOOTLOADER="/usr/lib/xen/bin/pygrub",ROOT="/dev/xvda1 ro"]
REQUIREMENTS="CLUSTER_ID=\"100\""
VCPU="1"
 
and this is my deployment.0
name = 'one-89'
#O CPU_CREDITS = 256
memory  = '256'
vcpus  = '1'
bootloader = "/usr/lib/xen/bin/pygrub"
disk = [
    'file:/var/lib/one//datastores/0/89/disk.0,xvda1,w',
]
vif = [
    ' mac=02:00:0a:00:03:6c,ip=10.40.3.108,bridge=virbr0',
]
vfb = ['type=vnc,vnclisten=0.0.0.0,vncdisplay=89,vncpasswd=123456']

My domU dont load when i try it by opennebula (igot initramfs error).
the deployment.0 is just missing this "root        = '/dev/xvda1 ro'" , how can i pass it to opennebula by template ?
thanks.
 
 

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


 
--
-- 
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
 
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to