[libvirt-users] How to ifup nic automaticly after hotplug nic for lxc

Jackie hzguanqiang at gmail.com
Tue Sep 8 09:41:14 UTC 2015


Hi experts,

When I hotplug nic into lxc, the nic in lxc seemed to be down status as 
following:

1224: vnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
     link/ether fa:16:3e:fc:e5:96 brd ff:ff:ff:ff:ff:ff


It seems mechanism such as udev is needed here. But I found udev is not 
supported well in lxc.
So how can I get a 'up' nic after hotplug into lxc ?

Very appreciate for your help.

Jackie




More information about the libvirt-users mailing list