<div dir="ltr"><div class="gmail_quote"><div>Hi.<br><br>I rewrite functions taken from vzctl in the new patch, so this:<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div class="gmail_quote"><div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote">
<div><br>Here is the patch, that implements the following behaviour<br><br>* interface name inside container is automatically generated and equals ethN,<br>   where N is the number of that interface within current domain<br>


* mac address of that interface inside container is generated automatically by<br>   function openvzGenerateMac<br>* if <target dev=""> is specified, use it; otherwise, use the default openvz name,<br>   i.e., vethN.M for interface ethM in container with veid N<br>


* if <mac address='...'> specified, use it; otherwise, vzctl will generate it automatically<br>* <target dev> and <mac address> are (re)stored (from)to $veid.conf<br></div></div></div></blockquote>
</div></div></div></div></blockquote><div dir="ltr"><br>is true, while that: <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">
<div class="gmail_quote"><div><div class="Wj3C7c">
</div></div><div><br>the functions openvzGenerateMac and<br>openvzGenerateVethName are taken from vzctl sources and slightly changed then<br></div></div></div></blockquote><div dir="ltr"><br>is not true anymore.<br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</blockquote></div></div>