forked from canonical/cloud-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cc_install_hotplug): trigger hook on known ec2 drivers (canonica…
…l#4799) Add extra logic to only trigger hook-hotplug on NICs with known drivers on EC2. This aviods the hook being triggered on any add/remove event on net devices, causing uneeded CPU usage, as on instance that start and stop a lot of docker containers, see [1]. Rename 10-cloud-init-hook-hotplug.rules to 99-cloud-init-hook-hotplug.rules as ID_NET_DRIVER was not yet defined at matching-time. References: [1] https://bugs.launchpad.net/cloud-init/+bug/1946003
- Loading branch information
Showing
5 changed files
with
84 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters