Install hotplug udev rules¶
These examples show how to install the necessary udev rules to enable hotplugging (if supported by the datasource).
For a full list of keys, refer to the install hotplug module schema.
Enable network device hotplugging¶
1#cloud-config
2updates:
3 network:
4 when: [hotplug]
Enable hotplug alongside boot events¶
1#cloud-config
2updates:
3 network:
4 when: [boot, hotplug]