SHA256
1
0
forked from pool/cloud-init
Commit Graph

191 Commits

Author SHA256 Message Date
d3536e70a5 - Add cloud-init-use-different-random-src.diff (bsc#1162937, CVE-2020-8631)
+ Use non-deterministic generator for password generation.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=162
2020-02-12 22:40:02 +00:00
3bb80bd89a - Update cloud-init-write-routes.patch (bsc#1163178)
+ Entries in the routes definition have changed causing a traceback
    during rout config file writing. This patch update addresses the
    issue by extracting the new entries properly.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=161
2020-02-12 19:33:31 +00:00
5a5220c868 - Add cloud-init-no-tempnet-oci.patch (bsc#1161132, bsc#1161133)
+ Do not attempt to configure an ephemeral network on OCI. We
    boot off iSCSI and the network is up. Just read the data.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=160
2020-01-17 21:33:13 +00:00
d21979739c Accepting request 764340 from home:scarabeus_iv:branches:Cloud:Tools
- Add patch to build properly with python 3.8:
  * 0001-Make-tests-work-with-Python-3.8-139.patch

OBS-URL: https://build.opensuse.org/request/show/764340
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=159
2020-01-17 12:38:50 +00:00
152b453122 - Update to version 19.4
+ Remove patches included upstream:
    - cloud-init-after-wicked.patch
    - cloud-init-noresolv-merge-no-dns-data.diff
    - cloud-init-renderer-detect.patch
    - cloud-init-trigger-udev.patch
  + Removed patches merged with cloud-init-mix-static-dhcp.patch
    - cloud-init-proper-ipv6-setting.patch
    - cloud-init-static-net.patch
  + Added cloud-init-mix-static-dhcp.patch (bsc#1157894)
  + Forward port cloud-init-sysconf-path.patch
  + doc: specify _ over - in cloud config modules
  + [Joshua Powers] (LP: #1293254)
  + tools: Detect python to use via env in migrate-lp-user-to-github
  + [Adam Dobrawy]
  + Partially revert "fix unlocking method on FreeBSD" (#116)
  + tests: mock uid when running as root (#113)
  + [Joshua Powers] (LP: #1856096)
  + cloudinit/netinfo: remove unused getgateway (#111)
  + docs: clear up apt config sections (#107) [Joshua Powers] (LP: #1832823)
  + doc: add kernel command line option to user data (#105)
  + [Joshua Powers] (LP: #1846524)
  + config/cloud.cfg.d: update README [Joshua Powers] (LP: #1855006)
  + azure: avoid re-running cloud-init when instance-id is byte-swapped
  + (#84) [AOhassan]
  + fix unlocking method on FreeBSD [Igor Galić] (LP: #1854594)
  + debian: add reference to the manpages [Joshua Powers]
  + ds_identify: if /sys is not available use dmidecode (#42)
  + [Igor Galić] (LP: #1852442)
  + docs: add cloud-id manpage [Joshua Powers]

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=158
2020-01-16 12:06:38 +00:00
7c5eaf65d4 - Add cloud-init-proper-ipv6-setting.patch (bsc#1156139)
+ Set proper IPv6 interface variable in ifcfg file

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=157
2019-11-25 19:38:14 +00:00
675e6061ec Accepting request 746152 from home:PPavlu:branches:Cloud:Tools
- Update cloud-init-write-routes.patch (bsc#1155376)
  + Write a route's destination network in CIDR notation instead of using the
    netmask. This provides support for correctly recording IPv6 routes.

OBS-URL: https://build.opensuse.org/request/show/746152
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=156
2019-11-08 15:05:12 +00:00
40d14c4774 - Add cloud-init-renderer-detect.patch (bsc#1154092, boo#1142988)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=152
2019-10-22 20:06:25 +00:00
0e6e7e2b35 - Add cloud-init-renderer-detect.patch (bsc#1154092)
+ Short curcuit the conditional for identifying the sysconfig renderer.
    If we find ifup/ifdown accept the renderer as available.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=151
2019-10-22 20:01:12 +00:00
e61b62e5b9 - Add cloud-init-break-resolv-symlink.patch (bsc#1151488)
+ If /etc/resolv.conf is a symlink break it. This will avoid netconfig
    from clobbering the changes cloud-init applied.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=150
2019-10-22 12:15:54 +00:00
0cb1bb89c1 - Update to cloud-init 19.2 (bsc#1099358)
+ Remove, included upstream
    - cloud-init-detect-nova.diff
    - cloud-init-add-static-routes.diff
  + net: add rfc3442 (classless static routes) to EphemeralDHCP
    (LP: #1821102)
  + templates/ntp.conf.debian.tmpl: fix missing newline for pools
    (LP: #1836598)
  + Support netplan renderer in Arch Linux [Conrad Hoffmann]
  + Fix typo in publicly viewable documentation. [David Medberry]
  + Add a cdrom size checker for OVF ds to ds-identify
    [Pengpeng Sun] (LP: #1806701)
  + VMWare: Trigger the post customization script via cc_scripts module.
    [Xiaofeng Wang] (LP: #1833192)
  + Cloud-init analyze module: Added ability to analyze boot events.
    [Sam Gilson]
  + Update debian eni network configuration location, retain Ubuntu setting
    [Janos Lenart]
  + net: skip bond interfaces in get_interfaces
    [Stanislav Makar] (LP: #1812857)
  + Fix a couple of issues raised by a coverity scan
  + Add missing dsname for Hetzner Cloud datasource [Markus Schade]
  + doc: indicate that netplan is default in Ubuntu now
  + azure: add region and AZ properties from imds compute location metadata
  + sysconfig: support more bonding options [Penghui Liao]
  + cloud-init-generator: use libexec path to ds-identify on redhat systems
    (LP: #1833264)
  + tools/build-on-freebsd: update to python3 [Gonéri Le Bouder]
  + Allow identification of OpenStack by Asset Tag
    [Mark T. Voelker] (LP: #1669875)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=149
2019-10-14 18:50:21 +00:00
eb8686803a - Follow up to update cloud-init-trigger-udev.patch (bsc#1144363)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=148
2019-09-26 10:33:25 +00:00
4977fc7a3b - Add cloud-init-after-wicked.patch
- Change the service order, the cloud-init service wants to run after
    networking is started

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=147
2019-09-24 19:53:38 +00:00
fcf843e6dd - Add cloud-init-noresolv-merge-no-dns-data.diff
- Avoid writing resolv.conf if the network configuration contains no
    dns entries.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=146
2019-09-24 19:32:45 +00:00
7b9c2a101f - Follow up to (bsc#1144363)
- In this implementation the "name" is not yet an attribute, use
    get() to obtain the value from a dict. Source code version confusion.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=145
2019-09-23 13:07:29 +00:00
ddfb957280 - Add cloud-init-add-static-routes.diff (bsc#1141969)
+ Properly handle static routes. The EphemeralDHCP context manager did
    not parse or handle rfc3442 classless static routes which prevented
    reading datasource metadata in some clouds.

- Update cloud-init-trigger-udev.patch (bsc#1144363)
  - The __str__ implementation no longer delivers the name of the interface,
    use the "name" attribute instead to form a proper path in the
    sysfs tree

- Update cloud-init-write-routes.patch (bsc#1144881)
  + If no routes are set for a subnet but the subnet has a gateway
    specified, set the gateway as the default route for the interface

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=144
2019-09-05 13:32:10 +00:00
cd23205773 - Follow the ever changing inconsistencies of version definitions and
detection in the build service.
  + No more suse_version in SUSE internal instance for SLES 15 SP1

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=142
2019-07-05 18:59:55 +00:00
4eef7cf985 Accepting request 709156 from home:dimstar:Factory
Allow OBS to pick better candidates to shorten rebuild queues

OBS-URL: https://build.opensuse.org/request/show/709156
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=141
2019-06-11 12:45:15 +00:00
5fb133e521 - Update to version 19.1 (bsc#1136440)
+ Remove, included upstream
    - fix-default-systemd-unit-dir.patch
    - cloud-init-sysconf-ethsetup.patch
    - cloud-init-handle-def-route-set.patch
    - cloud-init-no-empty-resolv.patch
    - cloud-init-proper-ipv6-varname.patch
  + Forward port
    - cloud-init-trigger-udev.patch
  + Add cloud-init-detect-nova.diff (bsc#1136440)
  + Modify cloud-init-python2-sigpipe.patch, import signal and constants
  + Update spec to account for new location of bash completion
  + freebsd: add chpasswd pkg in the image [Gonéri Le Bouder]
  + tests: add Eoan release [Paride Legovini]
  + cc_mounts: check if mount -a on no-change fstab path
    [Jason Zions (MSFT)] (LP: #1825596)
  + replace remaining occurrences of LOG.warn [Daniel Watkins]
  + DataSourceAzure: Adjust timeout for polling IMDS [Anh Vo]
  + Azure: Changes to the Hyper-V KVP Reporter [Anh Vo]
  + git tests: no longer show warning about safe yaml.
  + tools/read-version: handle errors [Chad Miller]
  + net/sysconfig: only indicate available on known sysconfig distros
    (LP: #1819994)
  + packages: update rpm specs for new bash completion path
    [Daniel Watkins] (LP: #1825444)
  + test_azure: mock util.SeLinuxGuard where needed
    [Jason Zions (MSFT)] (LP: #1825253)
  + setup.py: install bash completion script in new location [Daniel Watkins]
  + mount_cb: do not pass sync and rw options to mount
    [Gonéri Le Bouder] (LP: #1645824)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=138
2019-06-09 11:04:38 +00:00
23723c1216 - Update cloud-init-write-routes.patch (bsc#1132692)
+ Properly accumulate all the defined routes for a given network device.
    Previously only the last defined route was written to the routes file.

- Update cloud-init-trigger-udev.patch (bsc#1125950)
  + Write the udev rules to a different file than the default
  + Settle udev if not all configured devices are in the device tree to
    avoid race condition between udev and cloud-init
  + Fix the order of calls, the SUSE implementation of route config file

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=137
2019-04-30 20:39:13 +00:00
f30a915a55 - Add cloud-init-trigger-udev.patch (bsc#1125950)
+ When the user configures a new rules file for network devices
    the rules may not apply immediately, trigger udevadm

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=136
2019-02-22 22:18:27 +00:00
64e78007b9 - Modify cloud-init-write-routes.patch (bsc#1125992)
+ Fix the order of calls, the SUSE imaplementation of route config file
    writing must clobber the default implementation.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=135
2019-02-22 16:22:45 +00:00
ba0d82f7d8 - Add cloud-init-proper-ipv6-varname.patch (bsc#1126101)
+ Use the proper name to designate IPv6 addresses in ifcfg-* files

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=134
2019-02-22 00:43:56 +00:00
e833f3b188 - Modify cloud-init-write-routes.patch (boo#1123694)
+ Drop a '-' in the route file for the last column

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=133
2019-01-31 17:15:08 +00:00
343fb12d7e - Add cloud-init-no-empty-resolv.patch (bsc#1119397)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=129
2019-01-22 13:07:42 +00:00
8d961f3718 + Add cloud-init-handle-def-route-set.patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=127
2019-01-19 22:32:31 +00:00
1064b17095 - Update to version 18.5 (bsc#1121878, boo#1116767)
+ Remove 
    0001-Fix-the-service-order-for-SUSE-distributions.patch
    0001-Follow-the-ever-bouncing-ball-for-openSUSE-distribut.patch
    0002-Add-tests-for-additional-openSUSE-distro-condition-m.patch
    included upstream
  + Forward port cloud-init-sysconf-ethsetup.patch
  + Add cloud-init-write-routes.patch
  + tests: add Disco release [Joshua Powers]
  + net: render 'metric' values in per-subnet routes (LP: #1805871)
  + write_files: add support for appending to files. [James Baxter]
  + config: On ubuntu select cloud archive mirrors for armel, armhf, arm64.
    (LP: #1805854)
  + dhclient-hook: cleanups, tests and fix a bug on 'down' event.
  + NoCloud: Allow top level 'network' key in network-config. (LP: #1798117)
  + ovf: Fix ovf network config generation gateway/routes (LP: #1806103)
  + azure: detect vnet migration via netlink media change event
    [Tamilmani Manoharan]
  + Azure: fix copy/paste error in error handling when reading azure ovf.
  + [Adam DePue]
  + tests: fix incorrect order of mocks in test_handle_zfs_root.
  + doc: Change dns_nameserver property to dns_nameservers. [Tomer Cohen]
  + OVF: identify label iso9660 filesystems with label 'OVF ENV'.
  + logs: collect-logs ignore instance-data-sensitive.json on non-root user
    (LP: #1805201)
  + net: Ephemeral*Network: add connectivity check via URL
  + azure: _poll_imds only retry on 404. Fail on Timeout (LP: #1803598)
  + resizefs: Prefix discovered devpath with '/dev/' when path does not
    exist [Igor Galić]
  + azure: retry imds polling on requests.Timeout (LP: #1800223)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=125
2019-01-18 09:50:54 +00:00
a76ae619ee - Add cloud-init-ostack-metadat-dencode.patch (bsc#1101894)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=124
2018-11-02 14:21:08 +00:00
37fdad8a72 - Add cloud-init-static-net.patch (boo#1114160)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=123
2018-10-31 14:41:17 +00:00
3ed6919cb4 - Update to version 18.4 (bsc#1087331, bsc#1097388, boo#1111427, bsc#1095627)
+ Remove cloud-init-no-user-lock-if-already-locked.patch
    cloud-init 18.4 is not supported on SLE 11 code base
  + Remove 0001-Support-chrony-configuration-lp-1731619.patch
    Included upstream
  + Remove 0003-Distro-dependent-chrony-config-file.patch
    Included upstream
  + Remove 0001-switch-to-using-iproute2-tools.patch
    Included upstream
  + Remove cloud-init-no-python-linux-dist.patch
    Included upstream
  + Remove cloud-init-no-trace-empt-sect.patch
    Included upstream
  + Remove cloud-init-setpath-dsitentify.patch
    Included upstream
  + Modify fix-default-systemd-unit-dir.patch
    Use pkg-config, only modify the generator
  + Remove cloud-init-sysconfig-netpathfix.patch
    Fixed upstream
  + Removed cloud-init-skip-ovf-tests.patch
    Fixed upstream
  + Removed cloud-init-translate-netconf-ipv4-keep-gw.patch
    Fixed upstream
  + Add cloud-init-template-py2.patch avoid Python 3 dependency when we build
    for distros with Python 2 support
  + Add 0001-Follow-the-ever-bouncing-ball-for-openSUSE-distribut.patch
  + Add 0002-Add-tests-for-additional-openSUSE-distro-condition-m.patch
  + Add cloud-init-sysconf-path.patch
  + Add cloud-init-sysconf-ethsetup.patch
  + Add 0001-Fix-the-service-order-for-SUSE-distributions.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=121
2018-10-25 18:58:19 +00:00
6c4efe240a - Add a modified version of fix-default-systemd-unit-dir.patch
+ Removed pre-maturely, still needs 1 part of the patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=120
2018-08-24 21:43:32 +00:00
7010c372a1 - Remove fix-default-systemd-unit-dir.patch
+ No longer needed, proper systemd config dir is queried from pckg-config

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=119
2018-08-24 19:30:11 +00:00
8d7f0cbbcb - The distribution inidcator is set to suse during template expansion,
we do not replace anything set to ubuntu
- Do not run cloud-init after network-online, this breaks functionality in
  cloud-init. Certain parts of the code running in this phase expect to run
  before the network is on-line. This "re-introduces" boo#1097388. But the
  changes made are not generic enough.
- Root should not be enabled by default. For image builders/users that want
  root access by default they should provide an appropriate configuration
  file during image build or image setup

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=117
2018-07-05 18:00:50 +00:00
2c6cb5534d Run metadata detection after network-online (boo#1097388)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=116
2018-06-28 13:45:43 +00:00
6802141718 - do not disable root user to make it easier to work with
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=115
2018-06-28 13:35:10 +00:00
009866fc9d Let distribution default to opensuse/sles (boo#1099340)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=114
2018-06-27 15:45:17 +00:00
0edc4d2a0e - Re-add generator (bsc#1089824, boo#1093501)
+ Add cloud-init-setpath-dsitentify.patch, upstream solution to
    hanle PATH issue
  + Re-enable th egenerator to reduce effort in cloud-init configuration

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=113
2018-05-22 19:44:33 +00:00
9ef5d09e98 - Drop the generator (bsc#1089824, boo#1093501)
+ The generator spawns a script called ds-identify which in turn calls
    blkid. When the generator executes the environment may or may not be
    ready. The generator speeds up the boot process in cases where
    cloud-init is enabled but we are not in an environment where cloud-init
    should run -> Don't do that.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=112
2018-05-16 15:27:17 +00:00
07647c7388 - Update to version 18.2 (bsc#1092637, bsc#1084509)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=111
2018-05-14 16:36:19 +00:00
c083c6be27 - Update to version 18.1 (bsc#1092637, bsc#1084509)
+ 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
2018-05-11 20:14:40 +00:00
9eb10721c4 - Update to version 18.1 (bsc#1085787, bsc#1084749)
+ Forward port cloud-init-python2-sigpipe.patch
  + Forward port 0003-Distro-dependent-chrony-config-file.patch
    partial integration into 0001-Support-chrony-configuration-lp-1731619.patch
  + Forward port cloud-init-no-python-linux-dist.patch
  + Remove 0002-Disable-method-deprecation-warning-for-pylint.patch
    use new cloud-init internal distro detection code
  + Remove cloud-init-resize-ro-btrfs.patch included upstream
  + Remove 0001-Set-syslog_fix_perms-for-SUSE-distro-addresses-bsc-1.patch
    included upstream
  + OVF: Fix VMware support for 64-bit platforms. [Sankar Tanguturi]
  + ds-identify: Fix searching for iso9660 OVF cdroms. (LP: #1749980)
  + SUSE: Fix groups used for ownership of cloud-init.log [Robert Schweikert]
  + ds-identify: check /writable/system-data/ for nocloud seed.
    (LP: #1747070)
  + tests: run nosetests in cloudinit/ directory, fix py26 fallout.
  + tools: run-centos: git clone rather than tar.
  + tests: add support for logs with lxd from snap and future lxd 3.
    (LP: #1745663)
  + EC2: Fix get_instance_id called against cached datasource pickle.
    (LP: #1748354)
  + cli: fix cloud-init status to report running when before result.json
    (LP: #1747965)
  + net: accept network-config in netplan format for renaming interfaces
    (LP: #1709715)
  + Fix ssh keys validation in ssh_util [Tatiana Kholkina]
  + docs: Update RTD content for cloud-init subcommands.
  + OVF: Extend well-known labels to include OVFENV. (LP: #1698669)
  + Fix potential cases of uninitialized variables. (LP: #1744796)
  + tests: Collect script output as binary, collect systemd journal, fix lxd.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=109
2018-03-25 17:01:07 +00:00
ed9aa9f0d8 - update cloud-init-sysconfig-netpathfix.patch:
* skip checking for files in /etc/sysconfig that never exist
  on a wickedd based system

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=108
2018-02-16 13:24:07 +00:00
00cc602280 - Fix logfile permission settings (bsc#1080595)
+ Add 0001-Set-syslog_fix_perms-for-SUSE-distro-addresses-bsc-1.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=107
2018-02-13 19:43:58 +00:00
7c005924d3 - drop dependency on boto (only used in examples, and
should really be ported to botocore/boto3 instead)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=106
2018-01-30 13:21:16 +00:00
fb31094f97 - Update to version 17.2 (boo#1069635, bsc#1072811)
+ Add cloud-init-skip-ovf-tests.patch
  + Add cloud-init-no-python-linux-dist.patch
  + Add 0001-switch-to-using-iproute2-tools.patch
  + Add 0001-Support-chrony-configuration-lp-1731619.patch
  + Add 0002-Disable-method-deprecation-warning-for-pylint.patch
  + Add 0003-Distro-dependent-chrony-config-file.patch
  + removed cloud-init-add-variant-cloudcfg.patch replaced by
    cloud-init-no-python-linux-dist.patch
  + removed zypp_add_repos.diff included upstream
  + removed zypp_add_repo_test.patch included upstream
  + removed cloud-init-hosts-template.patch included upstream
  + removed cloud-init-more-tasks.patch included upstream
  + removed cloud-init-final-no-apt.patch included upstream
  + removed cloud-init-ntp-conf-suse.patch included upstream
  + removed cloud-init-break-cycle-local-service.patch included upstream
  + removed cloud-init-reproduce-build.patch included upstream
  + For the complete changelog see https://launchpad.net/cloud-init/trunk/17.2

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=105
2018-01-29 21:11:23 +00:00
4ecd177c3e add cloud-init-add-variant-cloudcfg.patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=104
2018-01-24 20:31:20 +00:00
b8b0f503ea Accepting request 568727 from home:gmoro:branches:Cloud:Tools
- patch distribution detection until a fix is delivered to python3 (bsc#997614)

OBS-URL: https://build.opensuse.org/request/show/568727
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=103
2018-01-24 20:28:15 +00:00
6ee1dc660c Accepting request 566321 from home:dimstar:Factory
- Fix usage of fdupes macro: there is no '-n' parameter to the
  macro (there would be to fdupes, the command, though).

Removing -n here results in the same package we had before; RPM prior to 4.14 reported this as warning in the buildlog, RPM 4.14 now marks it as error.

OBS-URL: https://build.opensuse.org/request/show/566321
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=102
2018-01-16 13:57:10 +00:00
529dfe1b71 - Add cloud-init-reproduce-build.patch (boo#1069635)
+ Make builds reproducible

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=101
2017-12-06 13:10:41 +00:00
4f395199c1 Accepting request 545985 from home:kukuk:branches:Cloud:Tools
- Add cloud-init-resize-ro-btrfs.patch
  + cc_resizefs fails if the current root is a read-only btrfs
    subvolume, use an always writeable subvolume instead [bsc#1042913]

OBS-URL: https://build.opensuse.org/request/show/545985
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=99
2017-11-27 23:54:11 +00:00
cc9a47a4b7 - Add cloud-init-translate-netconf-ipv4-keep-gw.patch (boo#1064854)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=98
2017-11-19 21:10:16 +00:00
100e3dffbf - Add cloud-init-break-cycle-local-service.patch
+ Let systemd pull in the default targets. This breaks a cycle

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=97
2017-11-19 20:45:04 +00:00
fa9ea3d43e - Fix variable name in cloud-init-translate-netconf-ipv4-keep-gw.patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=95
2017-11-17 17:10:35 +00:00
56e2c9145a - Add cloud-init-translate-netconf-ipv4-keep-gw.patch (bsc#1064854)
+ Properly insert the gateway information for v1 json network config data

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=94
2017-11-16 22:51:16 +00:00
e03ed2d736 - Add cloud-init-ntp-conf-suse.patch
+ ntp configuration was broken on sles and opensuse lp#1726572

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=93
2017-11-11 12:33:43 +00:00
6927c014db - Add cloud-init-hosts-template.patch (bsc#1064594)
+ Properly expand the /etc/hosst file when manage_etc_hosts is set

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=92
2017-11-08 21:31:54 +00:00
f65f28891b - Fix sed expression to set distro properly (boo#1063716)
+ Remove suseSysVInit.diff, included upstream

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=91
2017-11-02 13:34:18 +00:00
b710a65ad2 + Remove skip-argparse-on-python3.patch
+ Add zypp_add_repo_test.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=90
2017-10-05 05:21:11 +00:00
df5785e52d - Update to version 17.1 (bsc#1035106)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=89
2017-10-05 03:37:38 +00:00
738f268769 - Update to version 17.1
+ Version numbering scheme change now YY.NUMBER_OF_RELESE_THAT_YEAR
  + Remove cloud.cfg.suse, use generated default config file
  + Remove addopenSUSEBase.patch, included upstream
  + Remove suseIntegratedHandler.patch, included upstream
  + Remove openSUSEhostsTemplate.diff, included upstream
  + Remove cloud-init-handle-no-carrier.patch, included upstream
  + Remove cloud-init-digital-ocean-datasource.patch,
    use upstream implementation
  + Remove cloud-init-digital-ocean-datasource-enable-by-default.patch,
    use upstream implementation
  + Remove cloud-init-fix-unicode-handling-binarydecode.patch,
    included upstream
  + Remove cloud-init-no-dmidecode-on-ppc64.patch, included upstream
  + Remove dataSourceOpenNebula.patch, use upstream implementation
  + Remove setupSUSEsysVInit.diff, included upstream
  + Remove SUSEsysVInit.diff, included upstream
  + Remove cloud-init-finalbeforelogin.patch, don't block login 
  + Remove cloud-init-handle-not-implemented-query.patch, query option removed
  + Remove cloud-init-spceandtabs-clean.patch, indentation fixed upstream
  + Remove dynamicInitCmd.diff, different solution from upstream
  + Added cloud-init-more-tasks.patch, (bsc#1047363)
    replace cloud-init-finalbeforelogin.patch
  + Forward port cloud-init-python2-sigpipe.patch
  + Remove cloud-init-net-eni.patch, included upstream
  + Remove cloud-init-service.patch, included upstream
  + Forward port cloud-init-sysconfig-netpathfix.patch
  + Remove cloud-init-net-sysconfig-lp1665441.patch, included upstream
  + Remove cloud-init-python26.patch, included upstream
  + Add cloud-init-tests-set-exec.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=88
2017-10-04 15:50:46 +00:00
606be11fa1 - add skip-argparse-on-python3.patch: don't depend on argparse
for python3, it is builtin there (as of python 3.2, so the
  patch should be good enough)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=86
2017-09-20 10:15:01 +00:00
c46fc7308d Accepting request 526948 from home:kukuk:branches:Cloud:Tools
- python_sitelib does not seem to exist for non single-spec
  python modules, use python2_sitelib and python3_sitelib instead.

OBS-URL: https://build.opensuse.org/request/show/526948
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=85
2017-09-18 14:45:35 +00:00
dc611ddc9e - Drop argparse as dependency for Py3 build
+ argparse is built into Python

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=84
2017-09-11 18:25:17 +00:00
520d9897a2 - Drop python-cheetah as requirement
+ Cheetah is no maintained and cloud-init switches to Jinja2 as
    templating engine if Cheetah is not available

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=83
2017-09-11 18:23:14 +00:00
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
05e6d5eec2 Accepting request 478652 from home:kukuk:branches:Cloud:Tools
- On Tumbleweed we need net-tools-deprecated to setup the network

OBS-URL: https://build.opensuse.org/request/show/478652
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=81
2017-03-13 13:21:58 +00:00
0875a89e89 - add cloud-init-net-sysconfig-lp1665441.patch (lp#1665441)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=80
2017-02-27 11:56:24 +00:00
12fd4cfe01 Accepting request 459170 from home:kukuk:branches:Cloud:Tools
- Don't call insserv if we use systemd

OBS-URL: https://build.opensuse.org/request/show/459170
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=79
2017-02-24 20:32:54 +00:00
d77b515e86 - Do not set mount options for ephemeral drive, use the defaults
that are built into the code (bsc#930524)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=77
2017-02-16 20:57:30 +00:00
5c5fa1bc9c - Update fix-default-systemd-unit-dir.patch (bsc#1024709)
+ 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
2017-02-16 19:42:20 +00:00
c332cc9b7b Accepting request 452032 from home:kukuk:branches:Cloud:Tools
- Require net-tools for network setup

net-tools are no longer installed by default on Tumbleweed,
so network setup will not work otherwise.

OBS-URL: https://build.opensuse.org/request/show/452032
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=75
2017-01-23 21:09:34 +00:00
bfaae07655 - Configuration split (bsc#1016160)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=74
2016-12-17 13:16:41 +00:00
b820e2a987 Accepting request 445580 from home:kukuk:branches:Cloud:Tools
- fix syntax error in datasource LocalDisk (fix got somehow lost)

OBS-URL: https://build.opensuse.org/request/show/445580
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=73
2016-12-14 14:17:17 +00:00
ccc9212914 - adjust license (as of 0.7.8 AGPL-3.0 was added)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=72
2016-12-12 12:50:46 +00:00
1b1a43da03 - fix unintentional edit in last change again
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=71
2016-12-12 11:25:18 +00:00
ef7ff0197f Accepting request 445052 from home:jgleissner:branches:Cloud:Tools
fix handling of user maintained hostname

OBS-URL: https://build.opensuse.org/request/show/445052
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=70
2016-12-09 12:50:46 +00:00
0548ac26cd - fix the cloud.cfg split, cyclic non-versioned dependencies are
bad. also fix changelog entries
- add datasourceLocalDisk.patch:
  * Fix datasourceLocalDisk module in case directory exists but is

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=69
2016-12-08 12:36:16 +00:00
60ccce8b3e - Add LocalDisk datasource datasourceLocalDisk.patch [FATE#321107]
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=68
2016-12-06 13:47:20 +00:00
1609354cf9 Accepting request 443055 from home:kukuk:branches:Cloud:Tools
- Fix datasourceLocalDisk module in case directory exists but is
  empty.
- Add Conflicts for otherproviders of cloud-init-config.
- Add require for python-six (used by several modules)
- Add LocalDisk datasource [FATE#321107]
- Reworked zypp_add_repos.diff to behave similar to zypper ar
- Move cloud.cfg into an own sub-package, so that we can have
  a product specific version. [FATE#322039]

OBS-URL: https://build.opensuse.org/request/show/443055
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=67
2016-12-06 13:17:52 +00:00
a8ad7745b2 Accepting request 440148 from home:kukuk:branches:Cloud:Tools
- Add zypp_add_repos.diff to support repos for zypper [FATE#322038]

OBS-URL: https://build.opensuse.org/request/show/440148
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=66
2016-11-17 14:38:59 +00:00
1bf8793650 - Modify suseIntegratedHandler.patch (bsc#1007529)
+ Fall back to the previous method of writing network information
    We have to work out upstream how to have distro specific renderer
    for sysconfig

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=65
2016-11-01 15:58:23 +00:00
4eeb8d512a - Add cloud-init-sysconfig-netpathfix.patch (bsc#1007529)
+ Fix the default path for network scripts
- Cosmetic changes to suseIntegratedHandler.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=64
2016-10-31 12:45:48 +00:00
56f8466848 - Update cloud-init-no-dmidecode-on-ppc64.patch (bsc#1005616)
+ aarch64 does support dmidecode

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=61
2016-10-29 13:26:03 +00:00
69c1ec4bb4 - Update cloud-init-service.patch
+ Break another cycle this one in -final

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=60
2016-10-29 12:41:33 +00:00
19c29b64a4 - Update cloud-init-service.patch
+ Better match upstream intend Ubuntu networking.service is equivalent
    to SUSE wicked, thus we cannot translate networking to network, but need
    to translate it to wicked

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=59
2016-10-28 20:16:14 +00:00
ad94d4c4c4 - Update cloud-init-service.patch
+ We need the following order:
    - something brings networking fully up (in our case wicked)
    - cloud-init.service runs
    - network-online.target is reached

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=58
2016-10-28 19:38:58 +00:00
9c42ade550 - Update cloud-init-service.patch
+ The network must be up an running in order to get ssh key injected

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=57
2016-10-28 19:21:24 +00:00
10e8058495 - Update cloud-init-service.patch
+ Had self reference and thus cloud-init.service was never executed
    which caused ssh key loading failure

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=56
2016-10-28 15:24:08 +00:00
163817aa63 Do not own /lib/udev to not conflict with udev rpm
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=55
2016-10-28 04:56:57 +00:00
02e7568f6d - Forward port suseIntegratedHandler.patch
+ Implement new abstract interfaces
  + Some minor implementation fixes

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=54
2016-10-27 19:42:52 +00:00
b0d7643923 - Appease the build service, differences between OBS and IBS,
and own the directories

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=53
2016-10-26 14:28:47 +00:00
d7c17296a2 - Fix package, udev rules should be in /usr for distros after
SLES 11

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=52
2016-10-26 11:32:32 +00:00
8b2fc9d626 - add cloud-init-digital-ocean-datasource-enable-by-default.patch,
cloud-init-digital-ocean-datasource.patch: add DigitalOcean support
- run tests on build

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=49
2016-10-19 13:24:14 +00:00
1d35d9d69b - Add cloud-init-handle-no-carrier.patch (boo#1003977)
- Handle the exception when attempting to detect if the network
    device is up when it is not

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=48
2016-10-11 15:44:56 +00:00
19290fa432 - Update cloud-init-service.patch (boo#999942)
- Backport upstream commits 3705bb5964a and 6e45ffb21e96

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=47
2016-10-10 20:30:30 +00:00
daf356ec1b - Decoding error (boo#998843)
+ Added cloud-init-fix-unicode-handling-binarydecode.patch
- Fix dependencies, depends on oauthlib instead of oauth
- Fix dataSourceOpenNebula.patch, missing closing paren (boo#998836)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=46
2016-09-15 16:41:25 +00:00
58376ea864 - Fix dataSourceOpenNebula.patch, missing closing paren
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=45
2016-09-14 14:24:42 +00:00
2723c2efbb - Fix typo in cloud-init-service.patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=44
2016-09-14 12:25:33 +00:00
8e9fedcf49 - update to version 0.7.8 (bsc#998103)
+ added cloud-init-net-eni.patch based on work by eblock
   - Using config-drive instead of metadata failed because the network 
     translation to Ubuntu-style did not return gateway information to
     opensuse.py
 + added cloud-init-service.patch based on work by eblock
   - The service file cloud-init.service referenced networking.service
     which on SUSE is network.service
 + remove no_logic_change.patch included in updated upstream source
 + forward port suseIntegratedHandler.patch
 + forward port setupSUSEsysVInit.diff
 + forward port cloud-init-no-dmidecode-on-ppc64.patch
 + foward port dataSourceOpenNebula.patch
 + forward port fix-default-systemd-unit-dir.patch
 + forward port cloud-init-finalbeforelogin.patch
 + forward port cloud-init-python2-sigpipe.patch
 + SmartOS: more improvements for network configuration
 + add ntp config module [Ryan Harper]
 + ChangeLog: update changelog for previous commit.
 + Add distro tags on config modules that should have it.
 + NoCloud: fix bug providing network-interfaces via meta-data. (LP: 1577982)
 + ConfigDrive: recognize 'tap' as a link type. (LP: #1610784)
 + Upgrade to a configobj package new enough to work
 + MAAS: add vendor-data support (LP: #1612313)
 + DigitalOcean: use the v1.json endpoint [Ben Howard]
 + Get Azure endpoint server from DHCP client [Brent Baude]
 + Apt: add new apt configuration format [Christian Ehrhardt]
 + distros: fix get_primary_arch method use of os.uname [Andrew Jorgensen]
 + Fix Gentoo net config generation [Matthew Thode]
 + Minor cleanups to atomic_helper and add unit tests.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=43
2016-09-13 16:56:10 +00:00
59f2847b9b Accepting request 401599 from home:jgleissner:branches:Cloud:Tools
fixed potential broken pipe error message when executing user script (bsc#903449)

OBS-URL: https://build.opensuse.org/request/show/401599
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=42
2016-06-13 13:10:49 +00:00