aports/community/cloud-init/cloud-init-hotplugd
Dermot Bradley 9d2f659301 community/cloud-init: upgrade to 21.3
Upgrade to 21.3 release.
Add tzdata dependancy, remove e2fsprogs-extra dependancy.
Add logrotate configuration file.
Add cloud-init-hotplugd init.d script and simple daemon for new network
hotplug functionality in this release.
Remove some more unnecessary (doc) files from package.
Update README.Alpine to add known issue (and solution) for SSH access with
locked user accounts, and to detail how to use hotplug functionality.
2021-09-02 15:45:03 +00:00

15 lines
230 B
Bash

#!/bin/sh
PIPE="/run/cloud-init/hook-hotplug-cmd"
mkfifo -m700 $PIPE
while true; do
# shellcheck disable=SC2162
read args < $PIPE
# shellcheck disable=SC2086
exec /usr/bin/cloud-init devel hotplug-hook $args
done
exit