File: install_hotplug.rst

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (25 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _cce-install-hotplug:

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
:ref:`install hotplug module <mod_cc_install_hotplug>` schema.

Enable network device hotplugging
=================================

.. literalinclude:: ../../../module-docs/cc_install_hotplug/example1.yaml
   :language: yaml
   :linenos:

Enable hotplug alongside boot events
====================================

.. literalinclude:: ../../../module-docs/cc_install_hotplug/example2.yaml
   :language: yaml
   :linenos: