/etc/init/network-interface-container.conf is in ifupdown 0.7.47.2ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # network-interface-container - woarkound for missing events in container
#
# This service emits missing net-device-added events for containers.
# It's needed in cases where devices are created before the container
# starts and so won't get a udev event.
description "workaround for missing events in container"
start on container
emits net-device-added
task
script
case "$CONTAINER" in
lxc|lxc-libvirt|openvz)
initctl emit --no-wait net-device-added INTERFACE=lo || true
;;
esac
end script
|