<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I'm trying to get the ubuntu image from the marketplace running, but
the VM doesn't seem to get an IP.<br>
(I don't get another IP in this net even if I scan with nmap.)<br>
<br>
This is my virtual net:<br>
<br>
oneadmin@Arbeitsrechner:~/one-templates$ ifconfig virbr0<br>
<b>virbr0</b> Link encap:Ethernet Hardware Adresse
00:00:00:00:00:00 <br>
inet Adresse:<b>192.168.122.1</b> Bcast:192.168.122.255
Maske:<b>255.255.255.0</b><br>
UP BROADCAST MULTICAST MTU:1500 Metrik:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:2726 errors:0 dropped:0 overruns:0 carrier:0<br>
Kollisionen:0 Sendewarteschlangenlänge:0 <br>
RX-Bytes:0 (0.0 B) TX-Bytes:191341 (191.3 KB)<br>
<br>
This is the template for "onevnet create small_network.net":<br>
<br>
oneadmin@Arbeitsrechner:~/one-templates$ cat
network/small_network.net <br>
NAME = "public"<br>
TYPE = FIXED<br>
<br>
BRIDGE = virbr0<br>
LEASES = [ IP="192.168.122.5"]<br>
LEASES = [ IP="192.168.122.6"]<br>
LEASES = [ IP="192.168.122.7"]<br>
<br>
NETWORK_ADDRESS=192.168.122.0<br>
NETWORK_MASK=255.255.255.0<br>
GATEWAY=192.168.122.1<br>
DNS=192.168.122.1<br>
<br>
<br>
And finally this is the template for "onevm create ubuntu.one"<br>
<br>
oneadmin@Arbeitsrechner:~/one-templates$ cat ubuntu.one <br>
NAME = ubuntu<br>
<br>
CPU = 0.7 <br>
MEMORY = 1024<br>
<br>
DISK = [ IMAGE = "ubuntu" ]<br>
NIC = [ NETWORK = "public" ]<br>
<br>
FEATURES = [ acpi="no" ]<br>
<br>
CONTEXT=[<br>
ETH0_IP = "$NIC[IP, NETWORK=\"public\"]",<br>
ETH0_NETWORK = "$NETWORK[NETWORK_ADDRESS, NETWORK=\"public\"]",<br>
ETH0_MASK = "$NETWORK[NETWORK_MASK, NETWORK=\"public\"]",<br>
ETH0_GATEWAY = "$NETWORK[GATEWAY, NETWORK=\"public\"]",<br>
ETH0_DNS = "$NETWORK[DNS, NETWORK=\"public\"]",<br>
SSH_PUBLIC_KEY = "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCo0VdfEFgPO6fzNYiKvH19jmF/6ARD0O41VyKal8fE0WpBL54SzwbnP5TjjIojDPF4BHKeAQ7P9DehUZHWsrOzpEe862AsDBjeJXK3MPO8pSztS11fUb84sxFoPlrvzX6VkiVD7D1CDVV8Jq4cudOe+DGAreQXV408mF9RAMT7G4jkawd99YF4a5NmvnCxqSp+Fi6GBW/g36w0p6JKYzSKnqzGQZ8phrE6FL63lfO/OnlDgD/xntJ+bVx4MUI/MJS0OKoDvMsjfirYtOLNeuaH6SFDHlK/EJE2jocLrzB+BhalFgfsCm3oCuIyzi+AHRy9F3dNME+4K96PyJsCPZ/T
oneadmin@Arbeitsrechner"<br>
]<br>
<br>
(infos are from here
<a class="moz-txt-link-freetext" href="http://opennebula.org/documentation:rel3.8:context_overview#preparing_the_template">http://opennebula.org/documentation:rel3.8:context_overview#preparing_the_template</a>
)<br>
<br>
(The image is registered:<br>
oneadmin@Arbeitsrechner:/var/log/one$ oneimage list<br>
ID USER GROUP NAME DATASTORE SIZE TYPE
PER STAT RVMS<br>
3 oneadmin oneadmin ubuntu default 11G OS
No used 1<br>
)<br>
<br>
Onebody knows what I'm doing wrong?<br>
<br>
Cheers,<br>
Marco<br>
</body>
</html>