| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/systemd/system/ |
Upload File : |
# Paired with cloud-init-hotplugd.socket to read from the FIFO
# hook-hotplug-cmd which is created during a udev network
# add or remove event as processed by 90-cloud-init-hook-hotplug.rules.
# On start, read args from the FIFO, process and provide structured arguments
# to `cloud-init devel hotplug-hook` which will setup or teardown network
# devices as configured by user-data.
# Known bug with an enforcing SELinux policy: LP: #1936229
# cloud-init-hotplud.service will read args from file descriptor 3
[Unit]
Description=Cloud-init: Hotplug Hook
After=cloud-init-hotplugd.socket
After=cloud-init.target
Requires=cloud-init-hotplugd.socket
ConditionPathExists=!/etc/cloud/cloud-init.disabled
ConditionKernelCommandLine=!cloud-init=disabled
ConditionEnvironment=!KERNEL_CMDLINE=cloud-init=disabled
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'read args <&3; echo "args=$args"; \
exec /usr/bin/cloud-init devel hotplug-hook $args; \
exit 0'
SyslogIdentifier=cloud-init-hotplugd
TimeoutStopSec=5