[one-users] Xen images
Carlos Martín Sánchez
cmartin at opennebula.org
Wed Oct 10 04:17:36 PDT 2012
Hi,
Is that image working if you use xen directly?
Some hints about your template:
- KERNEL and INITRD paths must be accesible in the Host, not the front-end
[1].
- The SOURCE attribute does not mean anything to opennebula, it is ignored.
- NIC: It's easier to create a vnet [2] and then use that inside the NIC,
with NETWORK or NETWORK_ID [3].
The way you have the NIC defined, the interface won't get a MAC, and the
opennebula guests rely on the MAC address to configure their IP though
contextualization [4] or via the virtual router [5]. Besides, there is a
typo, 'bridg' should be 'bridge'
Regards
[1]
http://opennebula.org/documentation:rel3.6:xeng#considerations_limitations
[2] http://opennebula.org/documentation:rel3.6:vgg
[3] http://opennebula.org/documentation:rel3.6:template#network_section
[4]
http://opennebula.org/documentation:rel3.6:cong#using_virtual_network_leases_within_a_virtual_machine
[5] http://opennebula.org/documentation:rel3.6:router
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Tue, Oct 9, 2012 at 11:14 AM, Gandalf Corvotempesta <
gandalf.corvotempesta at gmail.com> wrote:
> Hi,
> i'm, trying to create a Xen test machine with no success.
> I've made an image with ubuntu vm-builder.
>
> This is the image template:
>
> $ cat ubuntu-xen.conf
> CPU = 0.5
> MEMORY = 128
> NAME = "Ubuntu 10.04.4"
> SOURCE = "/tmp/ubuntu-xen/ubuntu-10.4.0.img"
> OS = [ KERNEL = /vmlinuz,
> INITRD = /initrd.img,
> ROOT = xvda1,
> KERNEL_CMD = "ro xencons=tty console=tty1"]
> DISK = [ IMAGE = "Ubuntu 10.04.4" ]
> NIC = [ip="192.168.0.101",bridg="br0"]
> GRAPHICS = [type="vnc",listen="127.0.0.1",port="5900"]
>
>
> but there is no way to get this working.
> Do you have any guide to follow step by step about image creation for Xen ?
> I would like to create an ubuntu 10.04.4 (this exact version) image
> starting from a debootstrap.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121010/648b5dfd/attachment-0002.htm>
More information about the Users
mailing list