<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think that I had that problem before: when the script is ran, the
interfaces are already up (because of the ubuntu quick-boot;
read-ahead?). The result is that you must stop and start again the
interfaces once the interfaces file has been created.<br>
<br>
Try to put in the script a pair of lines such as (for each interface
you need; I do not know which context script are you using):<br>
<br>
ifconfig eth0 down <br>
ifup eth0<br>
<br>
just after the interfaces script has been generated.<br>
<br>
Moreover you should delete the
/etc/udev/rules.d/70-persistent-net.rules file just before releasing
the image i.e. the last line before stating a poweroff in the image
that you are going to use as ONE image should be <br>
<br>
$ rm /etc/udev/rules.d/70-persistent-net.rules<br>
<br>
I hope this helps you<br>
<br>
Regards,<br>
Carlos A.<br>
<br>
El 19/06/2011 18:14, fanttazio escribió:
<blockquote
cite="mid:BANLkTim-UXLFwZD5S7A_yWK=a=A1zJ0J5w@mail.gmail.com"
type="cite">
<div dir="ltr"><font size="2"><font face="tahoma,sans-serif">onevnet
shows that the one MAC address has been leased. In VM even
the in interface configuration I see that the IP has been
written correctly but the ifconfig output shows something
different. but after I restart the network service it
assigns the correct IP. Could it be for run level of the
script? I put it in rc2 as it says in the document. <br>
</font></font><br>
<div class="gmail_quote">On Sun, Jun 19, 2011 at 4:47 PM, Steven
Timm <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">I've seen that happen when the virtual
network is out of network<br>
leases.. what does onevnet show tell you. Also it can<br>
happen if the template specifies some nonesense option for
the network,<br>
then ONE will just give you something really random.<br>
<br>
Steve
<div>
<div><br>
<br>
On Sun, 19 Jun 2011, fanttazio wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hi to all,<br>
<br>
I have created a small cloud finally. front-end and
hosts are all Ubuntu<br>
10.04 (KVM virtualisation). I can run VM but when it
boots, it assigns an<br>
strange IP despite the MAC address that ONE has given
to VM but when I<br>
reboot VM it sets the correct IP. so for every VM I
have to reboot it once<br>
to get the correct IP. I used the script that is
provided on the site<br>
(net-context). Any Idea why it acts like that?<br>
<br>
Regards,<br>
Mehdi<br>
<br>
</blockquote>
<br>
</div>
</div>
<font color="#888888">
-- <br>
------------------------------------------------------------------<br>
Steven C. Timm, Ph.D (630) 840-8525<br>
<a moz-do-not-send="true" href="mailto:timm@fnal.gov"
target="_blank">timm@fnal.gov</a> <a
moz-do-not-send="true"
href="http://home.fnal.gov/%7Etimm/" target="_blank">http://home.fnal.gov/~timm/</a><br>
Fermilab Computing Division, Scientific Computing
Facilities,<br>
Grid Facilities Department, FermiGrid Services Group,
Group Leader.<br>
Lead of FermiCloud project.<br>
</font></blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</body>
</html>