<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 21, 2018 at 8:40 AM, Mike Wright <span dir="ltr"><<a href="mailto:nobody@nospam.hostisimo.com" target="_blank">nobody@nospam.hostisimo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Is there a way to set a network device's host side name?<br>
<br>
e.g. with lxc style configs:<br>
<br>
#myContainer<br>
lxc.net.0.type = veth<br>
lxc.net.0.veth.pair = host-side-name<br>
lxc.net.0.link = myBridge<br>
<br></blockquote><div><br></div><div><br></div><div>Are you asking the equivalent of l<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">xc.net.0.veth.pair in lxd?</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Try:</span></div><div><div>devices:</div><div> eth0:</div><div> host_name: host-side-name</div><div> name: eth0<br></div><div> nictype: bridged</div><div> parent: myBridge</div><div> type: nic</div></div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>