Show the handle method for the cc_ubuntu_init_switch module
This commit is contained in:
parent
45cab1d498
commit
e67cfc3a37
|
@ -88,6 +88,7 @@ fi
|
|||
|
||||
|
||||
def handle(name, cfg, cloud, log, args):
|
||||
"""Handler method activated by cloud-init."""
|
||||
|
||||
if not isinstance(cloud.distro, ubuntu.Distro):
|
||||
log.debug("%s: distro is '%s', not ubuntu. returning",
|
||||
|
|
|
@ -303,6 +303,7 @@ Ubuntu Init Switch
|
|||
**Internal name:** ``cc_ubuntu_init_switch``
|
||||
|
||||
.. automodule:: cloudinit.config.cc_ubuntu_init_switch
|
||||
:members:
|
||||
|
||||
Update Etc Hosts
|
||||
----------------
|
||||
|
|
Loading…
Reference in New Issue