SHA256
1
0
forked from pool/cloud-init
cloud-init/cloud-init-handle-not-implemented-query.patch
Robert Schweikert 315f729f37 - Modify cloud-init-finalbeforelogin.patch (bsc#1047363)
+ Support user processes running in coud-init-final to consume a
    large number of threads.
- Modify cloud-init-service.patch (bsc#1055649)
  + Start after dbus.service, needed by hotnamectl
- Modify cloud-init-handle-not-implemented-query.patch
  + print needs () for Python3
- Add cloud-init-spceandtabs-clean.patch
  + Fix inconsistent use of spaces and tabs in various files
- Modify suseIntegratedHandler.patch
  + Fix mode setting passed to function for file writing
- Set packag up to build with Python 3 for distros later than SLE 12

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=82
2017-08-31 20:02:18 +00:00

14 lines
409 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)