Commit Graph

199 Commits

Author SHA1 Message Date
Fedora Release Engineering
be1468ab0c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:46:38 +00:00
Fedora Release Engineering
c11cd77cef - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:54:17 +00:00
Miro Hrončok
81695b7a32 Rebuilt for Python 3.7 2018-06-18 17:56:17 +02:00
Lars Kellogg-Stedman
d41feb88d2 Enable dhcp on ec2 interfaces with only local ipv4 addresses [RH:1569321]
Cherry pick upstream commit eb292c1.

https://bugzilla.redhat.com/show_bug.cgi?id=1569321

Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
2018-04-22 22:55:03 -04:00
Patrick Uiterwijk
8bc9d61636 Make sure the patch does not add infinitely many entries
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-03-27 00:38:32 +02:00
Patrick Uiterwijk
6164e0aea9 Add patch to retain old values of /etc/sysconfig/network
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-03-26 22:11:14 +02:00
Fedora Release Engineering
b32f621899 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 05:09:16 +00:00
Garrett Holmstrom
536667c88b Update to 17.1 2017-10-06 10:11:24 -07:00
Dusty Mabe
371f80e504
add in hook-dhclient script to enable azure
https://bugzilla.redhat.com/show_bug.cgi?id=1477333
2017-09-15 13:39:37 -04:00
Dusty Mabe
604f560b00
Add in upstream patch to fix call to xfs_growfs
https://bugzilla.redhat.com/show_bug.cgi?id=1490505
2017-09-15 11:56:45 -04:00
Fedora Release Engineering
eb25daa1c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 05:00:05 +00:00
Garrett Holmstrom
75af4c1acd Fix broken sysconfig file writing on DigitalOcean
https://bugzilla.redhat.com/show_bug.cgi?id=1465440
2017-06-27 15:45:45 -07:00
Garrett Holmstrom
02e0391010 Fix broken fs_setup cmd option handling
https://bugs.launchpad.net/cloud-init/+bug/1687712
https://git.launchpad.net/cloud-init/commit/?id=4f0f171c29bb9abb5cbb6f9adbe68015089aeed9
https://git.launchpad.net/cloud-init/commit/?id=951863c211ab0f8c43a9443d080dbbe0f6b454a6
2017-06-21 15:56:52 -07:00
Garrett Holmstrom
7d14faf3fc Resolve a conflict between cloud-init and NetworkManager writing resolv.conf
https://bugzilla.redhat.com/show_bug.cgi?id=1454491
https://bugzilla.redhat.com/show_bug.cgi?id=1461959
https://bugs.launchpad.net/cloud-init/+bug/1693251
https://git.launchpad.net/cloud-init/commit/?id=67bab5bb804e2346673430868935f6bbcdb88f13
2017-06-21 15:17:36 -07:00
Garrett Holmstrom
7fd3480596 Fix NameError in package module
https://git.launchpad.net/cloud-init/commit/?id=a3daf184fd47dede8d91588281437453bd38fc1c
https://bugzilla.redhat.com/show_bug.cgi?id=1447708
2017-06-21 15:00:48 -07:00
Garrett Holmstrom
724a45640a Use %py3_build, %py3_install macros 2017-04-17 16:15:46 -07:00
Garrett Holmstrom
e3d962ecb4 Use if index to assign DigitalOcean IPv4 LL addrs
Systemd's interface naming makes assigning link-local addresses to the
interface that a DigitalOcean guest may use to obtain metadata
unreliables, so instead, we select which one to assign the address to
based on its index instead.

https://bugzilla.redhat.com/show_bug.cgi?id=1442463
https://git.launchpad.net/cloud-init/commit/?id=dad97585be0f30202a5a351800f20d4432b94694
2017-04-17 15:56:41 -07:00
Garrett Holmstrom
8939822a56 Configure all NICs presented in DigitalOcean metadata
https://bugzilla.redhat.com/show_bug.cgi?id=1442463
https://git.launchpad.net/cloud-init/commit/?id=ff44056771416cb811879b13b97f88d8f2057071
2017-04-17 15:56:41 -07:00
Garrett Holmstrom
78a0f3861c Make DigitalOcean data sources handle DNS servers similar to OpenStack
https://bugzilla.redhat.com/show_bug.cgi?id=1442463
https://bugs.launchpad.net/cloud-init/+bug/1675571
https://git.launchpad.net/cloud-init/commit/?id=493f6c3e923902d5d4f3d87e1cc4c726ea90ada4
2017-04-17 15:56:40 -07:00
Garrett Holmstrom
4c7b74f907 Merge branch 'f25'
Conflicts:
	cloud-init.spec
2017-03-14 16:14:20 -07:00
Garrett Holmstrom
7174dafa09 Bump Release 2017-03-14 16:13:46 -07:00
Garrett Holmstrom
cb80d7a5f6 Merge branch 'f25'
Conflicts:
	cloud-init-0.7.8-before-nm.patch
	cloud-init.spec
2017-03-14 16:02:40 -07:00
Garrett Holmstrom
115ce31543 Do not cache IAM instance profile credentials on disk
https://bugs.launchpad.net/cloud-init/+bug/1638312
https://git.launchpad.net/cloud-init/commit/?id=b71592ce0e0a9f9f9f225315015ca57b312ad30d
2017-03-14 15:55:18 -07:00
Garrett Holmstrom
7c131a37b4 Order cloud-init.service after network.service and NetworkManager.service
cloud-init.service is meant to run when networking is up, but before
network-online.target unleashes other services in case people want to
set up networking customizations that run before those services do.

https://bugzilla.redhat.com/show_bug.cgi?id=1400249
2017-03-14 15:55:18 -07:00
Garrett Holmstrom
301b9c5515 Order cloud-init.service after network.service and NetworkManager.service
cloud-init.service is meant to run when networking is up, but before
network-online.target unleashes other services in case people want to
set up networking customizations that run before those services do.

https://bugzilla.redhat.com/show_bug.cgi?id=1400249
2017-03-14 15:16:37 -07:00
Garrett Holmstrom
31e1cd1a40 Re-enable all tests
Fixed in python-httpretty-0.8.14-2.20161011git70af1f8
https://bugzilla.redhat.com/show_bug.cgi?id=1417029
2017-03-14 14:58:18 -07:00
Garrett Holmstrom
7388b5291b Fix IPv6 gateways in network sysconfig
https://bugs.launchpad.net/cloud-init/+bug/1669504
https://git.launchpad.net/cloud-init/commit/?id=1d751a6f46f044e3c3827f3cef0e4a2e71d50fe7
2017-03-14 14:53:46 -07:00
Garrett Holmstrom
7c43c8ea82 Make > 3 name servers a warning, not a fatal error
This is useful when both IPv4 and IPv6 name servers are present.

https://bugs.launchpad.net/cloud-init/+bug/1670052
https://git.launchpad.net/cloud-init/commit/?id=657fd40f9ee692a817ec4614cd0d6cb0539ffabf
2017-03-14 14:48:59 -07:00
Garrett Holmstrom
c416b9ac65 Fix errors in network sysconfig handling
https://bugzilla.redhat.com/show_bug.cgi?id=1389530
https://bugs.launchpad.net/cloud-init/+bug/1665441
https://git.launchpad.net/cloud-init/commit/?id=f81d6c7bde2af206d449de593b35773068270c84
2017-03-14 14:48:59 -07:00
Garrett Holmstrom
27b10acec6 Fix systemd dependency cycle with cloud-init and multi-user.target
https://bugzilla.redhat.com/show_bug.cgi?id=1428492
https://bugzilla.redhat.com/show_bug.cgi?id=1430511
2017-03-14 14:48:52 -07:00
Garrett Holmstrom
0ee6a1e21f Fix systemd dependency cycle with cloud-final and os-collect-config
https://bugzilla.redhat.com/show_bug.cgi?id=1420946
https://bugzilla.redhat.com/show_bug.cgi?id=1428492
2017-03-14 14:29:24 -07:00
Fedora Release Engineering
d8203eaece - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:36:16 +00:00
Garrett Holmstrom
65d7e7be3d Fix calls to hostnamectl occuring before dbus is up
https://bugzilla.redhat.com/show_bug.cgi?id=1417025
2017-01-26 18:43:20 -08:00
Garrett Holmstrom
a366807dc3 Remove old cruft 2017-01-26 18:22:27 -08:00
Garrett Holmstrom
610f5f5ac3 Normalize patch file names 2017-01-26 18:11:11 -08:00
Garrett Holmstrom
6a4665fa53 Remove disable-failing-tests.patch
I can't seem to reproduce this failure locally or in koji.
2017-01-26 18:09:42 -08:00
Garrett Holmstrom
8edfbaca38 Merge branch 'f25'
Conflicts:
	cloud-init.spec
2017-01-26 18:08:38 -08:00
Garrett Holmstrom
b707ab6462 Update changelog for systemd loop fix 2017-01-26 18:04:55 -08:00
Dusty Mabe
5bfa86fab4 fix systemd unit dependency cycle
backported from the following upstream commit:
https://git.launchpad.net/cloud-init/commit/?id=3705bb5964a2ff3f9a67265e6d090a112b35e40c

fixes the following bz:
https://bugzilla.redhat.com/show_bug.cgi?id=1393094
2017-01-26 18:04:55 -08:00
Garrett Holmstrom
38d515ffe0 Disable unit tests broken by httpretty update
python-httpretty-0.8.14-1.20161011git70af1f8, pushed stable on
2017-01-24, broke three of GCE's unit tests for reasons I have not yet
investigated.
2017-01-26 18:04:55 -08:00
Garrett Holmstrom
53358a79a1 Re-apply rsyslog configuration fixes 2017-01-26 17:36:49 -08:00
Lars Kellogg-Stedman
be823e52f2 limit tests in %check to unittests
this commit limits the tests run in %check to tests/unittests, which
is the same behavior configured in cloud-init's tox.ini
2017-01-26 17:34:25 -08:00
Lars Kellogg-Stedman
7517444746 limit tests in %check to unittests
this commit limits the tests run in %check to tests/unittests, which
is the same behavior configured in cloud-init's tox.ini
2017-01-20 17:02:44 -05:00
Colin Walters
9785285421 Update to 0.7.9
Rebased some of our patches that look like they still need upstreaming.
Deleted others that were merged.

I disabled a few tests that I couldn't figure out quickly why they were
failing.  From looking at the Debian packaging, it looks like they
turn off a bunch of tests too because they require networking.

The LXD one I just nuked since I don't care right now.

The nosetest bit I need to send upstream.
2017-01-20 12:56:07 -05:00
Charalampos Stratakis
7b9ea14183 Rebuild for Python 3.6 2016-12-13 23:54:04 +01:00
Garrett Holmstrom
01c4b43009 Enable the DigitalOcean metadata provider by default
https://git.launchpad.net/cloud-init/commit/?id=7ae2011
https://bugzilla.redhat.com/show_bug.cgi?id=1388568
2016-10-25 09:59:06 -07:00
Garrett Holmstrom
b48cb59de2 Do not write NM_CONTROLLED=no in generated interface config files
https://bugzilla.redhat.com/show_bug.cgi?id=1385172
2016-10-14 14:08:02 -07:00
Garrett Holmstrom
10d7e75053 Add xfsprogs dependency
XFS is Fedora Server's default filesystem, so we should ensure images
with cloud-init preinstalled have support for that.
2016-09-29 18:40:01 -07:00
Garrett Holmstrom
83956db826 Backport DigitalOcean network config support
https://git.launchpad.net/cloud-init/commit/?id=9f83bb8
https://bugzilla.redhat.com/show_bug.cgi?id=1380489
2016-09-29 18:40:01 -07:00
Garrett Holmstrom
6565dcf95d Order cloud-init-local before NetworkManager
https://git.launchpad.net/cloud-init/commit/?id=1b71b47
2016-09-29 18:40:01 -07:00
Garrett Holmstrom
1bd98b8ce6 Drop run-parts dependency
https://bugzilla.redhat.com/show_bug.cgi?id=1355917
2016-09-29 18:40:01 -07:00
Garrett Holmstrom
090f91029a Update to 0.7.8 2016-09-29 18:40:01 -07:00
Garrett Holmstrom
1508f89def Update to 0.7.7 2016-08-30 16:58:35 -07:00
Fedora Release Engineering
4aeff115de - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 06:46:48 +00:00
Garrett Holmstrom
45ef3b0bcc Update to bzr snapshot 1245 2016-07-06 18:38:38 -07:00
Dennis Gilmore
f4abf80d55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:46:47 +00:00
Peter Robinson
7246df9fc6 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 14:11:44 +00:00
Garrett Holmstrom
4175f1c874 Update to bzr snapshot 1137 2015-08-15 20:46:03 -07:00
Dennis Gilmore
e758014acd - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 02:48:43 +00:00
Garrett Holmstrom
70a100ebc6 Drop dmidecode depencency, switch back to noarch 2015-02-23 14:20:03 -08:00
Miro Hrončok
31b10292ec Require iproute for tests 2015-02-23 14:18:04 -08:00
Miro Hrončok
4d2d775a12 Change shebangs 2015-02-23 14:18:04 -08:00
Miro Hrončok
ec4b2b3606 Switch to python 3 and add a %check section
https://bugzilla.redhat.com/show_bug.cgi?id=1024357
2015-02-23 14:18:04 -08:00
Garrett Holmstrom
640ca562bb Update to bzr snapshot 1060 for python 3 support 2015-02-23 14:18:04 -08:00
Garrett Holmstrom
37c3202f99 Switch to dnf instead of yum when available
https://bugzilla.redhat.com/show_bug.cgi?id=1194451
2015-02-19 18:14:45 -08:00
Garrett Holmstrom
469555be6b Stop enabling services in %post
Since we enable cloud-init services in the cloud product kickstart
enabling the service in %post is no longer necessary.  This also makes
now a convenient time to switch to systemd's rpm script macros as well.

https://bugzilla.redhat.com/show_bug.cgi?id=850058
2015-02-19 18:10:33 -08:00
Garrett Holmstrom
c33ce8c1e0 Ensure cloud-init.service doesn't write all over the login prompt
http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/1050
2015-02-19 17:02:36 -08:00
Garrett Holmstrom
851688f459 Change network.target systemd deps to network-online.target
https://bugzilla.redhat.com/show_bug.cgi?id=1110731
https://bugzilla.redhat.com/show_bug.cgi?id=1112817
https://bugzilla.redhat.com/show_bug.cgi?id=1147613
2015-02-19 17:02:27 -08:00
Garrett Holmstrom
a510c9bf09 Fix handling of user group lists that contain spaces
https://bugs.launchpad.net/cloud-init/+bug/1354694
https://bugzilla.redhat.com/show_bug.cgi?id=1126365
2015-02-19 16:24:11 -08:00
Garrett Holmstrom
0a23a4d1f9 Add recognition of 3 ecdsa-sha2-nistp* ssh key types
This makes disabling root logins work for newly-approved types of keys.

https://bugzilla.redhat.com/show_bug.cgi?id=1151824
2015-02-19 16:02:21 -08:00
Garrett Holmstrom
22dbc1a7cc Stop implicitly listing doc files twice
Ever since doc dirs stopped including version numbers the %doc entry for
%_datadir/doc/cloud-init has effectively been listing everything in that
directory twice, so at this point we can just remove that.
2015-02-19 15:14:24 -08:00
Garrett Holmstrom
daa1660761 Stop depending on git to build
The packaging guidelines recommend against supplying a specific init
system to %autosetup, so we simply replace -Sgit with -p1 instead.
2015-02-19 15:13:28 -08:00
Colin Walters
69ff73f601 Update changelog to match current release 2015-02-19 14:35:21 -05:00
Colin Walters
4b64923485 New upstream version [RH:974327]
- Drop python-cheetah dependency (same as above bug)
2014-11-14 14:34:45 -05:00
Garrett Holmstrom
fe9243f2b4 Drop rsyslog dependency
cloud-init currently requires rsyslog for its /etc/rsyslog.d directory,
but it does not require rsyslog to be installed or running to function.
The current packaging guidelines now allow for multiple packages to own
directories when they are not required for proper functionality, so we
can now drop this dependency.

https://bugzilla.redhat.com/show_bug.cgi?id=986511
2014-11-07 13:26:00 -08:00
Garrett Holmstrom
02b4985492 Drop python-boto dependency
https://bugzilla.redhat.com/show_bug.cgi?id=1161257
2014-11-07 13:19:33 -08:00
Peter Robinson
99b14b3d0b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 00:29:26 +00:00
Dennis Gilmore
30d3081689 fix typo in settings.py preventing metadata being fecthed in ec2 2014-06-12 19:48:24 -05:00
Garrett Holmstrom
a4207cd56e Stop calling ``udevadm settle'' with --quiet since systemd 213 removed it 2014-06-09 16:06:02 -07:00
Dennis Gilmore
b30bf1efd3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:03:43 -05:00
Garrett Holmstrom
5a5cb08958 Merge branch 'f20'
Conflicts:
	cloud-init.spec
2014-06-02 19:20:23 -07:00
Garrett Holmstrom
5913670140 BuildRequire python-setuptools, not python-setuptools-devel 2014-06-02 19:18:19 -07:00
Garrett Holmstrom
2ddd8f250f Use the %license rpm macro 2014-06-02 19:18:19 -07:00
Garrett Holmstrom
880fe2ba82 Add tmpfiles.d configuration for /run/cloud-init
https://bugzilla.redhat.com/show_bug.cgi?id=1103761
2014-06-02 19:18:19 -07:00
Garrett Holmstrom
5e3db3da62 Write /etc/locale.conf instead of /etc/sysconfig/i18n
https://bugzilla.redhat.com/show_bug.cgi?id=1008250#c13
2014-06-02 19:18:19 -07:00
Garrett Holmstrom
8146eb3f43 Make dmidecode dependency arch-dependent
https://bugzilla.redhat.com/show_bug.cgi?id=1025071
2014-06-02 19:14:33 -07:00
Garrett Holmstrom
782450385e Mention which bug asked us to require jsonpatch
https://bugzilla.redhat.com/show_bug.cgi?id=1103281
2014-06-02 18:39:28 -07:00
Matthew Miller
095988f980 add missing python-jsonpatch dependency 2014-05-30 11:22:32 -04:00
Sam Kottler
d0075a9a85 Add missing day of the week in the changelog 2014-04-29 02:27:09 -04:00
Sam Kottler
729a213e1b Update to 0.7.5 and rename associate patches
Removing unnecessary patches will be in a subsequent commit.
2014-04-29 02:23:51 -04:00
Sam Kottler
063a33c0ad Remove patch to the Puppet service unit nane [RH:1057860] 2014-01-25 13:28:33 +00:00
Garrett Holmstrom
aec0ad38e1 Actually bump the release number :) 2013-09-24 19:47:51 -07:00
Garrett Holmstrom
56c5500cb2 Drop xfsprogs dependency
https://bugzilla.redhat.com/show_bug.cgi?id=974329
2013-09-24 19:46:39 -07:00
Garrett Holmstrom
af5c5087a3 Add yum-add-repo module 2013-09-24 19:15:35 -07:00
Garrett Holmstrom
d15a872ce7 Add missing modules
https://bugzilla.redhat.com/show_bug.cgi?id=966888
2013-09-24 17:44:34 -07:00
Garrett Holmstrom
4bfe36704a Fix rsyslog log filtering
https://code.launchpad.net/~gholms/cloud-init/rsyslog-programname/+merge/186906
2013-09-24 17:44:34 -07:00
Garrett Holmstrom
48cd58f9a0 Fix restorecon failure when selinux is disabled
https://bugzilla.redhat.com/show_bug.cgi?id=967002
https://bugs.launchpad.net/bugs/1228441
2013-09-24 17:44:34 -07:00
Garrett Holmstrom
1b39f6bbcf Let systemd handle console output
https://bugzilla.redhat.com/show_bug.cgi?id=977952
https://bugs.launchpad.net/bugs/1228434
2013-09-24 17:44:34 -07:00
Garrett Holmstrom
f048ee2476 Fix puppet agent service name
https://bugzilla.redhat.com/show_bug.cgi?id=1008250
2013-09-24 17:44:34 -07:00
Dennis Gilmore
c4c2955541 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 00:11:53 -05:00