forked from pool/cloud-init
Robert Schweikert
5c5fa1bc9c
+ based on work by Thomas Abraham - Add cloud-init-handle-not-implemented-query.patch (boo#1017832) OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=76
14 lines
401 B
Diff
14 lines
401 B
Diff
--- 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)
|
|
|