ef3f20
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
ef3f20
%{!?license: %global license %%doc}
ef3f20
ef3f20
# The only reason we are archful is because dmidecode is ExclusiveArch
ef3f20
# https://bugzilla.redhat.com/show_bug.cgi?id=1067089
ef3f20
%global debug_package %{nil}
ef3f20
ef3f20
Name:           cloud-init
738010
Version:        18.5
e9f087
Release:        6%{?dist}.5.0.1
ef3f20
Summary:        Cloud instance init scripts
ef3f20
ef3f20
Group:          System Environment/Base
ef3f20
License:        GPLv3
ef3f20
URL:            http://launchpad.net/cloud-init
ef3f20
Source0:        https://launchpad.net/cloud-init/trunk/%{version}/+download/%{name}-%{version}.tar.gz
c60dcd
Source1:        cloud-init-tmpfiles.conf
c60dcd
c60dcd
Patch0001: 0001-Add-initial-redhat-setup.patch
c60dcd
Patch0002: 0002-Do-not-write-NM_CONTROLLED-no-in-generated-interface.patch
c60dcd
Patch0003: 0003-limit-permissions-on-def_log_file.patch
c60dcd
Patch0004: 0004-remove-tee-command-from-logging-configuration.patch
738010
Patch0005: 0005-azure-ensure-that-networkmanager-hook-script-runs.patch
738010
Patch0006: 0006-sysconfig-Don-t-write-BOOTPROTO-dhcp-for-ipv6-dhcp.patch
738010
Patch0007: 0007-DataSourceAzure.py-use-hostnamectl-to-set-hostname.patch
738010
Patch0008: 0008-sysconfig-Don-t-disable-IPV6_AUTOCONF.patch
738010
Patch0009: 0009-net-Wait-for-dhclient-to-daemonize-before-reading-le.patch
738010
Patch0010: 0010-cloud-init-per-don-t-use-dashes-in-sem-names.patch
738010
Patch0011: 0011-azure-Filter-list-of-ssh-keys-pulled-from-fabric.patch
738010
Patch0012: 0012-include-NOZEROCONF-yes-in-etc-sysconfig-network.patch
738010
# For bz#1687565 - cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7]
738010
Patch13: ci-Azure-Ensure-platform-random_seed-is-always-serializ.patch
738010
# For bz#1687565 - cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7]
738010
Patch14: ci-DatasourceAzure-add-additional-logging-for-azure-dat.patch
738010
# For bz#1687565 - cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7]
738010
Patch15: ci-Azure-Changes-to-the-Hyper-V-KVP-Reporter.patch
738010
# For bz#1687565 - cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7]
738010
Patch16: ci-DataSourceAzure-Adjust-timeout-for-polling-IMDS.patch
738010
# For bz#1687565 - cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7]
738010
Patch17: ci-cc_mounts-check-if-mount-a-on-no-change-fstab-path.patch
738010
# For bz#1707725 - [WALA][cloud] cloud-init dhclient-hook script has some unexpected side-effects on Azure
738010
Patch18: ci-Revert-azure-ensure-that-networkmanager-hook-script-.patch
1badc6
# For bz#1726701 - [Azure] [RHEL 7.8] Cloud-init fixes to support fast provisioning for Azure
1badc6
Patch19: ci-Azure-Return-static-fallback-address-as-if-failed-to.patch
1badc6
# For bz#1593010 - [cloud-init][RHVM]cloud-init network configuration does not persist reboot [RHEL 7.8]
1badc6
Patch20: ci-Fix-for-network-configuration-not-persisting-after-r.patch
1badc6
# For bz#1744526 - [cloud-init][OpenStack] cloud-init can't persist instance-data.json
1badc6
Patch21: ci-util-json.dumps-on-python-2.7-will-handle-UnicodeDec.patch
faf1e5
# For bz#1810064 - cloud-init Azure byte swap (hyperV Gen2 Only) [rhel-7.8.z]
faf1e5
Patch22: ci-azure-avoid.patch
faf1e5
# For bz#1802173 - [cloud-init][rhel-7.8.z]cloud-init cloud-final.service fail with KeyError: 'modules-init' after upgrade to version 18.2-1.el7_6.1 in RHV
faf1e5
Patch23: ci-cmd-main.py-Fix-missing-modules-init-key-in-modes-di.patch
faf1e5
# For bz#1801094 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init [rhel-7.8.z]
faf1e5
Patch24: ci-Do-not-use-fallocate-in-swap-file-creation-on-xfs.-7.patch
faf1e5
# For bz#1801094 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init [rhel-7.8.z]
faf1e5
Patch25: ci-swap-file-size-being-used-before-checked-if-str-315.patch
faf1e5
# For bz#1801094 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init [rhel-7.8.z]
faf1e5
Patch26: ci-cc_mounts-fix-incorrect-format-specifiers-316.patch
faf1e5
# For bz#1827207 - Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z]
faf1e5
Patch27: ci-New-data-source-for-the-Exoscale.com-cloud-platform.patch
faf1e5
# For bz#1827207 - Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z]
faf1e5
Patch28: ci-Add-support-for-publishing-host-keys-to-GCE-guest-at.patch
faf1e5
# For bz#1827207 - Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z]
faf1e5
Patch29: ci-exoscale-fix-sysconfig-cloud_config_modules-override.patch
faf1e5
# For bz#1827207 - Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z]
faf1e5
Patch30: ci-exoscale-Increase-url_max_wait-to-120s.patch
faf1e5
# For bz#1827207 - Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z]
faf1e5
Patch31: ci-ec2-Add-support-for-AWS-IMDS-v2-session-oriented-55.patch
faf1e5
# For bz#1832177 - [Azure] cloud-init provisioning failed in Azure [rhel-7.8.z]
faf1e5
Patch32: ci-url_helper-read_file_or_url-should-pass-headers-para.patch
f9db36
e9f087
Patch9998: 9998-Enable-IPV6_AUTOCONF-if-ipv6.patch
7c4cc3
Patch9999: cloud-init-centos-user.patch
7c4cc3
7c4cc3
ef3f20
# Deal with noarch -> arch
ef3f20
# https://bugzilla.redhat.com/show_bug.cgi?id=1067089
ef3f20
Obsoletes:      cloud-init < 0.7.5-3
ef3f20
ef3f20
BuildRequires:  python-devel
c60dcd
BuildRequires:  python-requests
ef3f20
BuildRequires:  python-setuptools
c60dcd
BuildRequires:  python-six
c60dcd
BuildRequires:  python-yaml
ef3f20
BuildRequires:  systemd-units
ef3f20
BuildRequires:  git
ef3f20
ef3f20
%ifarch %{?ix86} x86_64 ia64
ef3f20
Requires:       dmidecode
ef3f20
%endif
ef3f20
Requires:       e2fsprogs
ef3f20
Requires:       iproute
ef3f20
Requires:       libselinux-python
ef3f20
Requires:       net-tools
ef3f20
Requires:       policycoreutils-python
ef3f20
Requires:       procps
ef3f20
Requires:       python-configobj
ef3f20
Requires:       python-jinja2
ef3f20
Requires:       python-jsonpatch
ef3f20
Requires:       python-prettytable
ef3f20
Requires:       python-requests
ef3f20
Requires:       python-setuptools
c60dcd
Requires:       python-six
ef3f20
Requires:       PyYAML
ef3f20
Requires:       pyserial
ef3f20
Requires:       shadow-utils
ef3f20
Requires(post):   systemd-units
ef3f20
Requires(preun):  systemd-units
ef3f20
Requires(postun): systemd-units
ef3f20
ef3f20
%description
ef3f20
Cloud-init is a set of init scripts for cloud instances.  Cloud instances
ef3f20
need special scripts to run during initialization to retrieve and install
ef3f20
ssh keys and to let the user run various scripts.
ef3f20
ef3f20
ef3f20
%prep
ef3f20
# on el7, autosetup -S git was failing with patches that
c60dcd
# # create new files.  rpm 4.11.3 and later has -S git_am, but
c60dcd
# # el7 only has 4.11.1.
ef3f20
%autosetup -p1 -n %{name}-%{version} -S git
ef3f20
ef3f20
%build
ef3f20
%{__python} setup.py build
ef3f20
ef3f20
ef3f20
%install
ef3f20
rm -rf $RPM_BUILD_ROOT
ef3f20
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
ef3f20
ef3f20
# Don't ship the tests
c60dcd
#rm -r $RPM_BUILD_ROOT%{python_sitelib}/tests
ef3f20
ef3f20
mkdir -p $RPM_BUILD_ROOT/var/lib/cloud
ef3f20
ef3f20
# /run/cloud-init needs a tmpfiles.d entry
ef3f20
mkdir -p $RPM_BUILD_ROOT/run/cloud-init
ef3f20
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
ef3f20
cp -p rhel/cloud-init-tmpfiles.conf $RPM_BUILD_ROOT/%{_tmpfilesdir}/%{name}.conf
ef3f20
ef3f20
# We supply our own config file since our software differs from Ubuntu's.
ef3f20
cp -p rhel/cloud.cfg $RPM_BUILD_ROOT/%{_sysconfdir}/cloud/cloud.cfg
ef3f20
ef3f20
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d
ef3f20
cp -p tools/21-cloudinit.conf $RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d/21-cloudinit.conf
ef3f20
ef3f20
# Make installed NetworkManager hook name less generic
ef3f20
mv $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/hook-network-manager \
ef3f20
   $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/cloud-init-azure-hook
ef3f20
ef3f20
# Install our own systemd units (rhbz#1440831)
ef3f20
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
ef3f20
cp rhel/systemd/* $RPM_BUILD_ROOT%{_unitdir}/
ef3f20
1badc6
[ ! -d $RPM_BUILD_ROOT/usr/lib/systemd/system-generators ] && mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system-generators
1badc6
cp -p systemd/cloud-init-generator $RPM_BUILD_ROOT/usr/lib/systemd/system-generators
1badc6
1badc6
[ ! -d $RPM_BUILD_ROOT/usr/lib/%{name} ] && mkdir -p $RPM_BUILD_ROOT/usr/lib/%{name}
1badc6
cp -p tools/ds-identify $RPM_BUILD_ROOT/usr/lib/%{name}/ds-identify
1badc6
ef3f20
ef3f20
%clean
ef3f20
rm -rf $RPM_BUILD_ROOT
ef3f20
ef3f20
ef3f20
%post
ef3f20
if [ $1 -eq 1 ] ; then
ef3f20
    # Initial installation
ef3f20
    # Enabled by default per "runs once then goes away" exception
ef3f20
    /bin/systemctl enable cloud-config.service     >/dev/null 2>&1 || :
ef3f20
    /bin/systemctl enable cloud-final.service      >/dev/null 2>&1 || :
ef3f20
    /bin/systemctl enable cloud-init.service       >/dev/null 2>&1 || :
ef3f20
    /bin/systemctl enable cloud-init-local.service >/dev/null 2>&1 || :
1badc6
    /bin/systemctl enable cloud-init.target        >/dev/null 2>&1 || :
1064ba
elif [ $1 -eq 2 ]; then
1064ba
    # Upgrade. If the upgrade is from a version older than 0.7.9-8,
1064ba
    # there will be stale systemd config
1064ba
    /bin/systemctl is-enabled cloud-config.service >/dev/null 2>&1 &&
1064ba
      /bin/systemctl reenable cloud-config.service >/dev/null 2>&1 || :
1064ba
1064ba
    /bin/systemctl is-enabled cloud-final.service >/dev/null 2>&1 &&
1064ba
      /bin/systemctl reenable cloud-final.service >/dev/null 2>&1 || :
1064ba
1064ba
    /bin/systemctl is-enabled cloud-init.service >/dev/null 2>&1 &&
1064ba
      /bin/systemctl reenable cloud-init.service >/dev/null 2>&1 || :
1064ba
1064ba
    /bin/systemctl is-enabled cloud-init-local.service >/dev/null 2>&1 &&
1064ba
      /bin/systemctl reenable cloud-init-local.service >/dev/null 2>&1 || :
1badc6
1badc6
    /bin/systemctl is-enabled cloud-init.target >/dev/null 2>&1 &&
1badc6
      /bin/systemctl reenable cloud-init.target >/dev/null 2>&1 || :
ef3f20
fi
ef3f20
ef3f20
%preun
ef3f20
if [ $1 -eq 0 ] ; then
ef3f20
    # Package removal, not upgrade
ef3f20
    /bin/systemctl --no-reload disable cloud-config.service >/dev/null 2>&1 || :
ef3f20
    /bin/systemctl --no-reload disable cloud-final.service  >/dev/null 2>&1 || :
ef3f20
    /bin/systemctl --no-reload disable cloud-init.service   >/dev/null 2>&1 || :
ef3f20
    /bin/systemctl --no-reload disable cloud-init-local.service >/dev/null 2>&1 || :
1badc6
    /bin/systemctl --no-reload disable cloud-init.target     >/dev/null 2>&1 || :
ef3f20
    # One-shot services -> no need to stop
ef3f20
fi
ef3f20
ef3f20
%postun
ef3f20
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
ef3f20
# One-shot services -> no need to restart
ef3f20
ef3f20
ef3f20
%files
ef3f20
%license LICENSE
ef3f20
%doc ChangeLog rhel/README.rhel
ef3f20
%config(noreplace) %{_sysconfdir}/cloud/cloud.cfg
ef3f20
%dir               %{_sysconfdir}/cloud/cloud.cfg.d
ef3f20
%config(noreplace) %{_sysconfdir}/cloud/cloud.cfg.d/*.cfg
ef3f20
%doc               %{_sysconfdir}/cloud/cloud.cfg.d/README
ef3f20
%dir               %{_sysconfdir}/cloud/templates
ef3f20
%config(noreplace) %{_sysconfdir}/cloud/templates/*
ef3f20
%{_unitdir}/cloud-config.service
ef3f20
%{_unitdir}/cloud-config.target
ef3f20
%{_unitdir}/cloud-final.service
ef3f20
%{_unitdir}/cloud-init-local.service
ef3f20
%{_unitdir}/cloud-init.service
1badc6
%{_unitdir}/cloud-init.target
ef3f20
%{_tmpfilesdir}/%{name}.conf
ef3f20
%{python_sitelib}/*
ef3f20
%{_libexecdir}/%{name}
ef3f20
%{_bindir}/cloud-init*
ef3f20
%doc %{_datadir}/doc/%{name}
ef3f20
%dir /run/cloud-init
ef3f20
%dir /var/lib/cloud
ef3f20
/etc/NetworkManager/dispatcher.d/cloud-init-azure-hook
ef3f20
%{_udevrulesdir}/66-azure-ephemeral.rules
738010
%{_sysconfdir}/bash_completion.d/cloud-init
738010
%{_bindir}/cloud-id
1badc6
/usr/lib/%{name}/ds-identify
1badc6
/usr/lib/systemd/system-generators/cloud-init-generator
1badc6
ef3f20
ef3f20
%dir %{_sysconfdir}/rsyslog.d
ef3f20
%config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf
ef3f20
ef3f20
%changelog
faf1e5
* Wed May 20 2020 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-6.el7_8.5
faf1e5
- ci-url_helper-read_file_or_url-should-pass-headers-para.patch [bz#1832177]
faf1e5
- Resolves: bz#1832177
faf1e5
  ([Azure] cloud-init provisioning failed in Azure [rhel-7.8.z])
faf1e5
faf1e5
* Tue May 05 2020 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-6.el7_8.4
faf1e5
- ci-New-data-source-for-the-Exoscale.com-cloud-platform.patch [bz#1827207]
faf1e5
- ci-Add-support-for-publishing-host-keys-to-GCE-guest-at.patch [bz#1827207]
faf1e5
- ci-exoscale-fix-sysconfig-cloud_config_modules-override.patch [bz#1827207]
faf1e5
- ci-exoscale-Increase-url_max_wait-to-120s.patch [bz#1827207]
faf1e5
- ci-ec2-Add-support-for-AWS-IMDS-v2-session-oriented-55.patch [bz#1827207]
faf1e5
- Resolves: bz#1827207
faf1e5
  (Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z])
faf1e5
faf1e5
* Tue Apr 28 2020 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-6.el7_8.3
faf1e5
- ci-Do-not-use-fallocate-in-swap-file-creation-on-xfs.-7.patch [bz#1801094]
faf1e5
- ci-swap-file-size-being-used-before-checked-if-str-315.patch [bz#1801094]
faf1e5
- ci-cc_mounts-fix-incorrect-format-specifiers-316.patch [bz#1801094]
faf1e5
- Resolves: bz#1801094
faf1e5
  ([RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init [rhel-7.8.z])
faf1e5
faf1e5
* Tue Apr 14 2020 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-6.el7_8.2
faf1e5
- ci-cmd-main.py-Fix-missing-modules-init-key-in-modes-di.patch [bz#1802173]
faf1e5
- Resolves: bz#1802173
faf1e5
  ([cloud-init][rhel-7.8.z]cloud-init cloud-final.service fail with KeyError: 'modules-init' after upgrade to version 18.2-1.el7_6.1 in RHV)
faf1e5
faf1e5
* Mon Mar 30 2020 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-6.el7_8.1
faf1e5
- ci-azure-avoid.patch [bz#1810064]
faf1e5
- Resolves: bz#1810064
faf1e5
  (cloud-init Azure byte swap (hyperV Gen2 Only) [rhel-7.8.z])
faf1e5
1badc6
* Thu Oct 24 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-6.el7
1badc6
- ci-util-json.dumps-on-python-2.7-will-handle-UnicodeDec.patch [bz#1744526]
1badc6
- Resolves: bz#1744526
1badc6
  ([cloud-init][OpenStack] cloud-init can't persist instance-data.json)
1badc6
1badc6
* Tue Sep 10 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-5.el7
1badc6
- ci-Fix-for-network-configuration-not-persisting-after-r.patch [bz#1593010]
1badc6
- Resolves: bz#1593010
1badc6
  ([cloud-init][RHVM]cloud-init network configuration does not persist reboot [RHEL 7.8])
1badc6
1badc6
* Tue Aug 20 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-4.el7
1badc6
- ci-Azure-Return-static-fallback-address-as-if-failed-to.patch [bz#1726701]
1badc6
- Resolves: bz#1726701
1badc6
  ([Azure] [RHEL 7.8] Cloud-init fixes to support fast provisioning for Azure)
1badc6
738010
* Tue May 28 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-3.el7
738010
- ci-Revert-azure-ensure-that-networkmanager-hook-script-.patch [bz#1707725]
738010
- Resolves: bz#1707725
738010
  ([WALA][cloud] cloud-init dhclient-hook script has some unexpected side-effects on Azure)
738010
738010
* Fri May 17 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-2.el7
738010
- ci-Azure-Ensure-platform-random_seed-is-always-serializ.patch [bz#1687565]
738010
- ci-DatasourceAzure-add-additional-logging-for-azure-dat.patch [bz#1687565]
738010
- ci-Azure-Changes-to-the-Hyper-V-KVP-Reporter.patch [bz#1687565]
738010
- ci-DataSourceAzure-Adjust-timeout-for-polling-IMDS.patch [bz#1687565]
738010
- ci-cc_mounts-check-if-mount-a-on-no-change-fstab-path.patch [bz#1687565]
738010
- Resolves: bz#1687565
738010
  (cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7])
738010
738010
* Thu Mar 28 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.5-1.el7
738010
- Rebase to 18.5 [bz#1687565]
738010
- Resolves: bz#1687565
738010
  (cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 7])
738010
738010
* Mon Mar 25 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.2-5.el7
738010
- ci-include-NOZEROCONF-yes-in-etc-sysconfig-network.patch [bz#1653131]
738010
- Resolves: bz#1653131
738010
  (cloud-init remove 'NOZEROCONF=yes' from /etc/sysconfig/network)
738010
738010
* Tue Mar 19 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.2-4.el7
738010
- ci-azure-Filter-list-of-ssh-keys-pulled-from-fabric.patch [bz#1684040]
738010
- Resolves: bz#1684040
738010
  (CVE-2019-0816 cloud-init: extra ssh keys added to authorized_keys [rhel-7.7])
738010
738010
* Tue Mar 05 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.2-3.el7
738010
- ci-cloud-init-per-don-t-use-dashes-in-sem-names.patch [bz#1664876]
738010
- ci-Enable-cloud-init-by-default-on-vmware.patch [bz#1623281]
738010
- Resolves: bz#1623281
738010
  ([ESXi][RHEL7.6]Enable cloud-init by default on VMware)
738010
- Resolves: bz#1664876
738010
  (cloud-init Storage-Management Functionality Is Erasing Filesystems)
738010
738010
* Thu Jan 31 2019 Miroslav Rezanina <mrezanin@redhat.com> - 18.2-2.el7
738010
- ci-net-Wait-for-dhclient-to-daemonize-before-reading-le.patch [bz#1632967]
738010
- Resolves: bz#1632967
738010
  ([Azure] cloud-init dhcp.py dhcp_discovery() race with dhclient with preprovisioned VM in Azure)
ca58b3
c60dcd
* Thu Jun 21 2018 Miroslav Rezanina <mrezanin@redhat.com>
c60dcd
- Rebase to 18.2
c60dcd
  Resolves: rhbz#1525267
140f72
1064ba
* Tue Feb 13 2018 Ryan McCabe <rmccabe@redhat.com> 0.7.9-24
1064ba
- Set DHCP_HOSTNAME on Azure to allow for the hostname to be
1064ba
  published correctly when bouncing the network.
1064ba
  Resolves: rhbz#1434109
1064ba
1064ba
* Mon Jan 15 2018 Ryan McCabe <rmccabe@redhat.com> 0.7.9-23
1064ba
- Fix a bug tha caused cloud-init to fail as a result of trying
1064ba
  to rename bonds.
1064ba
  Resolves: rhbz#1512247
1064ba
1064ba
* Mon Jan 15 2018 Ryan McCabe <rmccabe@redhat.com> 0.7.9-22
1064ba
- Apply patch from -21
1064ba
  Resolves: rhbz#1489270
1064ba
1064ba
* Mon Jan 15 2018 Ryan McCabe <rmccabe@redhat.com> 0.7.9-21
1064ba
- sysconfig: Fix a potential traceback introduced in the
1064ba
  0.7.9-17 build
1064ba
  Resolves: rhbz#1489270
1064ba
1064ba
* Sun Dec 17 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-20
1064ba
- sysconfig: Correct rendering for dhcp on ipv6
1064ba
  Resolves: rhbz#1519271
5a2e6e
1064ba
* Thu Nov 30 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-19
5a2e6e
- sysconfig: Fix rendering of default gateway for ipv6
1064ba
  Resolves: rhbz#1492726
5a2e6e
1064ba
* Fri Nov 24 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-18
1064ba
- Start the cloud-init init local service after the dbus socket is created
1064ba
  so that the hostnamectl command works.
1064ba
  Resolves: rhbz#1450521
5a2e6e
1064ba
* Tue Nov 21 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-17
1064ba
- Correctly render DNS and DOMAIN for sysconfig
1064ba
  Resolves: rhbz#1489270
1064ba
1064ba
* Mon Nov 20 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-16
5a2e6e
- Disable NetworkManager management of resolv.conf if nameservers
5a2e6e
  are specified by configuration.
1064ba
  Resolves: rhbz#1454491
1064ba
1064ba
* Mon Nov 13 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-15
1064ba
- Fix a null reference error in the rh_subscription module
1064ba
  Resolves: rhbz#1498974
7ecf9d
1064ba
* Mon Nov 13 2017 Ryan McCabe <rmccabe@redhat.com> 0-7.9-14
1064ba
- Include gateway if it's included in subnet configration
1064ba
  Resolves: rhbz#1492726
1064ba
1064ba
* Sun Nov 12 2017 Ryan McCabe <rmccabe@redhat.com> 0-7.9-13
1064ba
- Do proper cleanup of systemd units when upgrading from versions
1064ba
  0.7.9-3 through 0.7.9-8.
1064ba
  Resolves: rhbz#1465730
1064ba
1064ba
* Thu Nov 09 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-12
48a629
- Prevent Azure NM and dhclient hooks from running when cloud-init is
1064ba
  disabled (rhbz#1474226)
1064ba
1064ba
* Tue Oct 31 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-11
1064ba
- Fix rendering of multiple static IPs per interface file
1064ba
  Resolves: rhbz#bz1497954
48a629
1064ba
* Tue Sep 26 2017 Ryan McCabe <rmccabe@redhat.com> 0.7.9-10
1064ba
- AliCloud: Add support for the Alibaba Cloud datasource (rhbz#1482547)
Karanbir Singh 0a9171
ef3f20
* Thu Jun 22 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-9
ef3f20
- RHEL/CentOS: Fix default routes for IPv4/IPv6 configuration. (rhbz#1438082)
ef3f20
- azure: ensure that networkmanager hook script runs (rhbz#1440831 rhbz#1460206)
ef3f20
- Fix ipv6 subnet detection (rhbz#1438082)
ef3f20
ef3f20
* Tue May 23 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-8
ef3f20
- Update patches
ef3f20
ef3f20
* Mon May 22 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-7
ef3f20
- Add missing sysconfig unit test data (rhbz#1438082)
ef3f20
- Fix dual stack IPv4/IPv6 configuration for RHEL (rhbz#1438082)
ef3f20
- sysconfig: Raise ValueError when multiple default gateways are present. (rhbz#1438082)
ef3f20
- Bounce network interface for Azure when using the built-in path. (rhbz#1434109)
ef3f20
- Do not write NM_CONTROLLED=no in generated interface config files (rhbz#1385172)
ef3f20
ef3f20
* Wed May 10 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-6
ef3f20
- add power-state-change module to cloud_final_modules (rhbz#1252477)
ef3f20
- remove 'tee' command from logging configuration (rhbz#1424612)
ef3f20
- limit permissions on def_log_file (rhbz#1424612)
ef3f20
- Bounce network interface for Azure when using the built-in path. (rhbz#1434109)
ef3f20
- OpenStack: add 'dvs' to the list of physical link types. (rhbz#1442783)
ef3f20
ef3f20
* Wed May 10 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-5
ef3f20
- systemd: replace generator with unit conditionals (rhbz#1440831)
ef3f20
ef3f20
* Thu Apr 13 2017 Charalampos Stratakis <cstratak@redhat.com> 0.7.9-4
ef3f20
- Import to RHEL 7
ef3f20
Resolves: rhbz#1427280
ef3f20
ef3f20
* Tue Mar 07 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-3
ef3f20
- fixes for network config generation
ef3f20
- avoid dependency cycle at boot (rhbz#1420946)
ef3f20
ef3f20
* Tue Jan 17 2017 Lars Kellogg-Stedman <lars@redhat.com> 0.7.9-2
ef3f20
- use timeout from datasource config in openstack get_data (rhbz#1408589)
ef3f20
ef3f20
* Thu Dec 01 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.9-1
ef3f20
- Rebased on upstream 0.7.9.
ef3f20
- Remove dependency on run-parts
ef3f20
ef3f20
* Wed Jan 06 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-8
ef3f20
- make rh_subscription plugin do nothing in the absence of a valid
ef3f20
  configuration [RH:1295953]
ef3f20
- move rh_subscription module to cloud_config stage
ef3f20
ef3f20
* Wed Jan 06 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-7
ef3f20
- correct permissions on /etc/ssh/sshd_config [RH:1296191]
ef3f20
ef3f20
* Thu Sep 03 2015 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-6
ef3f20
- rebuild for ppc64le
ef3f20
ef3f20
* Tue Jul 07 2015 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-5
ef3f20
- bump revision for new build
ef3f20
ef3f20
* Tue Jul 07 2015 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-4
ef3f20
- ensure rh_subscription plugin is enabled by default
ef3f20
ef3f20
* Wed Apr 29 2015 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-3
ef3f20
- added dependency on python-jinja2 [RH:1215913]
ef3f20
- added rhn_subscription plugin [RH:1227393]
ef3f20
- require pyserial to support smartos data source [RH:1226187]
ef3f20
ef3f20
* Fri Jan 16 2015 Lars Kellogg-Stedman <lars@redhat.com> - 0.7.6-2
ef3f20
- Rebased RHEL version to Fedora rawhide
ef3f20
- Backported fix for https://bugs.launchpad.net/cloud-init/+bug/1246485
ef3f20
- Backported fix for https://bugs.launchpad.net/cloud-init/+bug/1411829
ef3f20
ef3f20
* Fri Nov 14 2014 Colin Walters <walters@redhat.com> - 0.7.6-1
ef3f20
- New upstream version [RH:974327]
ef3f20
- Drop python-cheetah dependency (same as above bug)