Re: [lxc-devel] [PATCH] rename physical nics at shutdown

2012-12-04 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > > @@ -134,9 +133,12 @@ int lxc_execute(const char *name, char *const argv[], > > int quiet, > > .argv = argv, > > .quiet = quiet > > }; > > + int ret; > > > > if (lxc_check_inherited(conf, -1)) > > ret

Re: [lxc-devel] [PATCH] rename physical nics at shutdown

2012-12-04 Thread Stéphane Graber
On 12/04/2012 01:19 PM, Serge Hallyn wrote: > When a physical nic is being set up, store its ifindex and original name > in struct lxc_conf. At reboot, reset the original name. > We can't just go over the original network list in lxc_conf at shutdown > because that may be tweaked in the meantime t