forked from pool/cloud-init
Robert Schweikert
c083c6be27
+ Forward port cloud-init-python2-sigpipe.patch + Forward port cloud-init-no-python-linux-dist.patch + Add cloud-init-no-trace-empt-sect.patch + Hetzner: Exit early if dmi system-manufacturer is not Hetzner. + Add missing dependency on isc-dhcp-client to trunk ubuntu packaging. + (LP: #1759307) + FreeBSD: resizefs module now able to handle zfs/zpool. + [Dominic Schlegel] (LP: #1721243) + cc_puppet: Revert regression of puppet creating ssl and ssl_cert dirs + Enable IBMCloud datasource in settings.py. + IBMCloud: Initial IBM Cloud datasource. + tests: remove jsonschema from xenial tox environment. + tests: Fix newly added schema unit tests to skip if no jsonschema. + ec2: Adjust ec2 datasource after exception_cb change. + Reduce AzurePreprovisioning HTTP timeouts. + [Douglas Jordan] (LP: #1752977) + Revert the logic of exception_cb in read_url. + [Kurt Garloff] (LP: #1702160, #1298921) + ubuntu-advantage: Add new config module to support + ubuntu-advantage-tools + Handle global dns entries in netplan (LP: #1750884) + Identify OpenTelekomCloud Xen as OpenStack DS. + [Kurt Garloff] (LP: #1756471) + datasources: fix DataSource subclass get_hostname method signature + (LP: #1757176) + OpenNebula: Update network to return v2 config rather than ENI. + [Akihiko Ota] + Add Hetzner Cloud DataSource + net: recognize iscsi root cases without ip= on kernel command line. OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=110
13 lines
513 B
Diff
13 lines
513 B
Diff
--- cloudinit/util.py.orig
|
|
+++ cloudinit/util.py
|
|
@@ -1920,7 +1920,8 @@ def subp(args, data=None, rcs=None, env=
|
|
try:
|
|
sp = subprocess.Popen(bytes_args, stdout=stdout,
|
|
stderr=stderr, stdin=stdin,
|
|
- env=env, shell=shell)
|
|
+ env=env, shell=shell,
|
|
+ preexec_fn=lambda: signal(SIGPIPE, SIG_DFL))
|
|
(out, err) = sp.communicate(data)
|
|
except OSError as e:
|
|
if status_cb:
|