Show the handle method for the cc_ubuntu_init_switch module

This commit is contained in:
Joshua Harlow 2014-10-23 18:01:06 -07:00
parent 45cab1d498
commit e67cfc3a37
2 changed files with 2 additions and 0 deletions

View File

@ -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",

View File

@ -303,6 +303,7 @@ Ubuntu Init Switch
**Internal name:** ``cc_ubuntu_init_switch``
.. automodule:: cloudinit.config.cc_ubuntu_init_switch
:members:
Update Etc Hosts
----------------