SHA256
1
0
forked from pool/cloud-init
cloud-init/cloud-init-handle-not-implemented-query.patch

14 lines
401 B
Diff
Raw Normal View History

--- cloudinit/cmd/main.py.orig
+++ cloudinit/cmd/main.py
@@ -681,6 +681,10 @@ def main(sysv_args=None):
rname, rdesc = ("dhclient-hook",
"running dhclient-hook module")
+ elif name == 'query':
+ print 'Action query is not yet implemented'
+ sys.exit(1)
+
args.reporter = events.ReportEventStack(
rname, rdesc, reporting_enabled=report_on)