HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux mail.btech-izolacje.pl 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
User: pewna6876 (1017)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //snap/core/17247/etc/init/network-interface-container.conf
# 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