sailesh1993 / rpms / cloud-init

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