Ubuntu Pastebin

Paste from csmith at Fri, 8 Sep 2017 17:04:23 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/cloudinit/config/cc_runcmd.py b/cloudinit/config/cc_runcmd.py
index 7c3ccd4..0644efd 100644
--- a/cloudinit/config/cc_runcmd.py
+++ b/cloudinit/config/cc_runcmd.py
@@ -8,7 +8,7 @@
 
 """Runcmd: run arbitrary commands at rc.local with output to the console"""
 
-from cloudinit.config.schema import validate_cloudconfig_schema
+from cloudinit.config.schema import validate_cloudconfig_schema, get_schema_doc
 from cloudinit.settings import PER_INSTANCE
 from cloudinit import util
 
@@ -67,6 +67,9 @@ schema = {
     }
 }
 
+__doc__ = get_schema_doc(schema)
+
+
 
 def handle(name, cfg, cloud, log, _args):
     if "runcmd" not in cfg:
Download as text