5b08af
%if %{rhel} >= 8
5b08af
%global __python %{__python3}
5b08af
%else
5b08af
%global __python %{__python2}
5b08af
%endif
5b08af
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
5b08af
Version:        19.4
4a46eb
Release:        7%{?dist}.2
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
5b08af
Patch0005: 0005-sysconfig-Don-t-write-BOOTPROTO-dhcp-for-ipv6-dhcp.patch
5b08af
Patch0006: 0006-DataSourceAzure.py-use-hostnamectl-to-set-hostname.patch
5b08af
Patch0007: 0007-include-NOZEROCONF-yes-in-etc-sysconfig-network.patch
5b08af
Patch0008: 0008-Fix-for-network-configuration-not-persisting-after-r.patch
5b08af
# For bz#1549638 - [RHEL7]cloud-user added to wheel group and sudoers.d causes 'sudo -v' prompts for passphrase
5b08af
Patch9: ci-Removing-cloud-user-from-wheel.patch
5b08af
# For bz#1748015 - [cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok)
5b08af
Patch10: ci-Remove-race-condition-between-cloud-init-and-Network.patch
5b08af
# 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]
5b08af
Patch11: ci-cc_set_password-increase-random-pwlength-from-9-to-2.patch
5b08af
# For bz#1812173 - CVE-2020-8631 cloud-init: Use of random.choice when generating random password [rhel-7]
5b08af
Patch12: ci-utils-use-SystemRandom-when-generating-random-passwo.patch
5b08af
# For bz#1574338 - CVE-2018-10896 cloud-init: SSH host keys are not regenerated for the new instances [rhel-7]
5b08af
Patch13: ci-Enable-ssh_deletekeys-by-default.patch
5b08af
# For bz#1772505 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init
5b08af
Patch14: ci-Do-not-use-fallocate-in-swap-file-creation-on-xfs.-7.patch
5b08af
# For bz#1772505 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init
5b08af
Patch15: ci-swap-file-size-being-used-before-checked-if-str-315.patch
5b08af
# For bz#1748015 - [cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok)
5b08af
Patch16: ci-Remove-race-condition-between-cloud-init-and-Network-v2.patch
5b08af
# For bz#1772505 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init
5b08af
Patch17: ci-cc_mounts-fix-incorrect-format-specifiers-316.patch
5b08af
# For bz#1748015 - [cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok)
5b08af
Patch18: ci-Use-reload-or-try-restart-instead-of-try-reload-or-r.patch
5b08af
# For bz#1821999 - [RHEL7.9] Do not log IMDSv2 token values into cloud-init.log
5b08af
Patch19: ci-ec2-Do-not-log-IMDSv2-token-values-instead-use-REDAC.patch
5b08af
# For bz#1821999 - [RHEL7.9] Do not log IMDSv2 token values into cloud-init.log
5b08af
Patch20: ci-ec2-only-redact-token-request-headers-in-logs-avoid-.patch
4a46eb
# For bz#1839619 - [ESXi][RHEL7.9][cloud-init]ERROR log in cloud-init.log after clone VM on ESXi platform [rhel-7.9.z]
4a46eb
Patch21: ci-When-tools.conf-does-not-exist-running-cmd-vmware-to.patch
4a46eb
# For bz#1839619 - [ESXi][RHEL7.9][cloud-init]ERROR log in cloud-init.log after clone VM on ESXi platform [rhel-7.9.z]
4a46eb
Patch22: ci-Changing-notation-of-subp-call.patch
4a46eb
# For bz#1871916 - [Azure][RHEL 7.9] cloud-init Permission denied with the use of mount option noexec [rhel-7.9.z]
4a46eb
Patch23: ci-DHCP-sandboxing-failing-on-noexec-mounted-var-tmp-52.patch
c67f0e
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
5b08af
cp -p systemd/cloud-init-generator.tmpl $RPM_BUILD_ROOT/usr/lib/systemd/system-generators/cloud-init-generator
5b08af
sed -i '1d' $RPM_BUILD_ROOT/usr/lib/systemd/system-generators/cloud-init-generator
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
4a46eb
* Fri Oct 23 2020 Jon Maloy <jmaloy@redhat.com> - 19.4-7.el7_9.2
4a46eb
- ci-When-tools.conf-does-not-exist-running-cmd-vmware-to.patch [bz#1839619]
4a46eb
- ci-Changing-notation-of-subp-call.patch [bz#1839619]
4a46eb
- ci-DHCP-sandboxing-failing-on-noexec-mounted-var-tmp-52.patch [bz#1871916]
4a46eb
- Resolves: bz#1839619
4a46eb
  ([ESXi][RHEL7.9][cloud-init]ERROR log in cloud-init.log after clone VM on ESXi platform [rhel-7.9.z])
4a46eb
- Resolves: bz#1871916
4a46eb
  ([Azure][RHEL 7.9] cloud-init Permission denied with the use of mount option noexec [rhel-7.9.z])
4a46eb
5b08af
* Wed May 20 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-7.el7
5b08af
- ci-ec2-only-redact-token-request-headers-in-logs-avoid-.patch [bz#1821999]
5b08af
- Resolves: bz#1821999
5b08af
  ([RHEL7.9] Do not log IMDSv2 token values into cloud-init.log)
5b08af
5b08af
* Mon May 11 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-6.el7
5b08af
- ci-Use-reload-or-try-restart-instead-of-try-reload-or-r.patch [bz#1748015]
5b08af
- ci-ec2-Do-not-log-IMDSv2-token-values-instead-use-REDAC.patch [bz#1821999]
5b08af
- Resolves: bz#1748015
5b08af
  ([cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok))
5b08af
- Resolves: bz#1821999
5b08af
  ([RHEL7.9] Do not log IMDSv2 token values into cloud-init.log)
5b08af
5b08af
* Mon Apr 27 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-5.el7
5b08af
- ci-Remove-race-condition-between-cloud-init-and-Network-v2.patch [bz#1748015]
5b08af
- ci-cc_mounts-fix-incorrect-format-specifiers-316.patch [bz#1772505]
5b08af
- Resolves: bz#1748015
5b08af
  ([cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok))
5b08af
- Resolves: bz#1772505
5b08af
  ([RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init)
5b08af
5b08af
* Wed Apr 15 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-4.el7
5b08af
- ci-swap-file-size-being-used-before-checked-if-str-315.patch [bz#1772505]
5b08af
- Resolves: bz#1772505
5b08af
  ([RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init)
5b08af
5b08af
* Mon Mar 30 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-3.el7
5b08af
- ci-Do-not-use-fallocate-in-swap-file-creation-on-xfs.-7.patch [bz#1772505]
5b08af
- Resolves: bz#1772505
5b08af
  ([RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init)
5b08af
5b08af
* Thu Mar 19 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-2.el7
5b08af
- ci-Removing-cloud-user-from-wheel.patch [bz#1549638]
5b08af
- ci-Remove-race-condition-between-cloud-init-and-Network.patch [bz#1748015]
5b08af
- ci-cc_set_password-increase-random-pwlength-from-9-to-2.patch [bz#1812170]
5b08af
- ci-utils-use-SystemRandom-when-generating-random-passwo.patch [bz#1812173]
5b08af
- ci-Enable-ssh_deletekeys-by-default.patch [bz#1574338]
5b08af
- Resolves: bz#1549638
5b08af
  ([RHEL7]cloud-user added to wheel group and sudoers.d causes 'sudo -v' prompts for passphrase)
5b08af
- Resolves: bz#1574338
5b08af
  (CVE-2018-10896 cloud-init: SSH host keys are not regenerated for the new instances [rhel-7])
5b08af
- Resolves: bz#1748015
5b08af
  ([cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok))
5b08af
- Resolves: bz#1812170
5b08af
  (CVE-2020-8632 cloud-init: Too short random password length in cc_set_password in config/cc_set_passwords.py [rhel-7])
5b08af
- Resolves: bz#1812173
5b08af
  (CVE-2020-8631 cloud-init: Use of random.choice when generating random password [rhel-7])
5b08af
5b08af
* Tue Mar 17 2020 Miroslav Rezanina <mrezanin@redhat.com> - 19.4-1.el7
5b08af
- Rebase to 19.4 [bz#1803094]
5b08af
- Resolves: bz#1803094
5b08af
  ([RHEL-7.9] cloud-init rebase to 19.4)
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)