Commit Graph

137 Commits

Author SHA1 Message Date
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
Matthew Miller
9670285f31 switch ec2-user to "fedora" -- see bugzilla #971439.
To use another name, use #cloud-config option "users:" in userdata in cloud
metadata service.

Also, add that user to systemd-journal group
2013-06-15 13:00:11 -04:00
Steven Hardy
c695a1d486 update to release 0.7.2 2013-05-17 17:20:13 +01:00
Steven Hardy
f9b1697668 add dependency on python-requests 2013-05-02 18:21:55 +01:00
Steven Hardy
da2ae0160a update to upstream revision 809 to fix various issues
The most major problem is that it no longer seems possible to define a user
via the user-defined cloud-config data and have that user get an SSH
authorized_keys correctly installed, when the SSH key comes from the Ec2
datasource.  This is a regression from the version shipped in F17 AFAICS,
and it's fixed upstream[1].

There are a number of other F18 related fixes upstream which would be
valuable, including:
- Improved hostname handling (doesn't truncate hostnames containing ".")[2]
- Fedora locale, hostname and tz related fixes[3]
- Fedora systemd, blkid and sysconfig fixes (rev 809)[3]

[1] https://bugs.launchpad.net/cloud-init/+bug/1100920
[2] https://bugs.launchpad.net/heat/+bug/1164400
[3] http://bazaar.launchpad.net/~gpadgett/cloud-init/ovirt/revision/802
2013-05-02 18:20:40 +01:00
Orion Poplawski
3eb2ef9003 Don't ship tests 2013-04-06 22:10:15 -06:00
Dennis Gilmore
d726a2a093 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 12:39:41 -06:00
Garrett Holmstrom
bf4ebef871 Add default_user to cloud.cfg (this is required for ssh keys to work) 2012-12-13 13:35:27 -08:00
Garrett Holmstrom
fac1467953 Fix "resize_root: noblock"
https://launchpad.net/bugs/1080985
2012-11-21 13:55:04 -08:00
Garrett Holmstrom
82213acfcc Fix broken sudoers file generation 2012-11-21 13:49:33 -08:00
Garrett Holmstrom
e8a08074fe Rebase against version 0.7.1 2012-11-21 13:46:21 -08:00
Garrett Holmstrom
a851231a0c Fix / filesystem resizing
cloud-init previously failed to resize / correctly because it creates a
temporary device node in /run, which Fedora happens to mount with the
nodev option.  This fix makes it use /dev for this purpose instead.
2012-10-09 18:47:24 -07:00
Garrett Holmstrom
4e9b7b0b0b Rebase against version 0.7.0 2012-10-09 18:47:24 -07:00
Garrett Holmstrom
7eb4f98ffe Add dmidecode dependency for DataSourceAltCloud 2012-09-22 20:06:58 -07:00
Garrett Holmstrom
cd4f6f47aa Fix sudoers file permissions 2012-09-22 19:53:03 -07:00
Garrett Holmstrom
bb974cc9d2 Fix ssh key printing 2012-09-22 19:53:03 -07:00
Garrett Holmstrom
dcf5001c0a Fix hostname persistence 2012-09-22 19:53:03 -07:00
Garrett Holmstrom
b7925548d6 Rebase against upstream rev 659 2012-09-22 19:53:03 -07:00
Garrett Holmstrom
0dcf658a87 Rebase against upstream rev 650 2012-09-18 11:36:02 -07:00
Garrett Holmstrom
e6cb1a9d3b Bump n-v-r 2012-09-13 21:30:16 -07:00
Garrett Holmstrom
26a577bba2 Send output to the console
https://bugzilla.redhat.com/show_bug.cgi?id=854654
2012-09-13 20:51:55 -07:00
Garrett Holmstrom
1e6bbb98d7 Shut off systemd timeouts
https://bugzilla.redhat.com/show_bug.cgi?id=836269
2012-09-13 20:51:55 -07:00
Garrett Holmstrom
4a01ffd874 Use a FQDN for instance data URL fallback
https://bugzilla.redhat.com/show_bug.cgi?id=850916
https://bugs.launchpad.net/cloud-init/+bug/1040200
2012-09-13 20:18:25 -07:00
Garrett Holmstrom
d1b4930153 Add missing patch commentary 2012-09-13 20:17:38 -07:00
Dennis Gilmore
3c73e4f741 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 14:12:24 -05:00
Pádraig Brady
7dfb05653c Add support for installing yum packages 2012-06-27 17:49:24 +01:00
Andy Grimm
83d60c4dec Fixed incorrect interpretation of relative path for
AuthorizedKeysFile (BZ #735521)
2012-03-31 15:54:53 -04:00
Garrett Holmstrom
1829b52a19 Fix runparts() compabitility with Fedora 2012-03-05 14:09:13 -08:00
Garrett Holmstrom
2f7ad55032 Rebase against upstream rev 532 2012-03-05 14:07:04 -08:00
Dennis Gilmore
0c4c3bafb5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 17:29:57 -06:00
Garrett Holmstrom
87f33190f4 Disable SSH key-deleting on startup 2011-10-05 11:31:19 -07:00
Garrett Holmstrom
974de09f58 Deal with differences from Ubuntu's sshd 2011-10-04 11:43:25 -07:00
Garrett Holmstrom
f354744043 Update sshkeytypes patch 2011-09-28 18:15:39 -07:00
Garrett Holmstrom
56f9947292 Fix cloud-init.service dependencies 2011-09-28 15:48:21 -07:00
Garrett Holmstrom
a2171c6d7b Consolidate selinux file context patches 2011-09-28 15:46:10 -07:00
Garrett Holmstrom
ae2090cde8 Fix the release tag's latest bump 2011-09-24 16:18:15 -07:00
Garrett Holmstrom
0be1c66900 Minor spec file cleanup 2011-09-24 16:02:46 -07:00
Garrett Holmstrom
a6c1636eb4 Add missing dependencies 2011-09-24 16:02:39 -07:00
Garrett Holmstrom
655e31633a Rebase against upstream rev 457 2011-09-24 16:02:17 -07:00
Garrett Holmstrom
7ce36c0c7d Add more macros to the spec file 2011-09-24 16:02:07 -07:00
Garrett Holmstrom
52ff5252cc Note that the botobundle patch was submitted upstream 2011-09-24 16:01:55 -07:00
Garrett Holmstrom
de68608047 Fix failures due to empty script dirs [LP:857926] 2011-09-24 16:01:46 -07:00
Garrett Holmstrom
c3384820a7 Disable the grub_dpkg module 2011-09-24 16:01:37 -07:00
Garrett Holmstrom
924e2ab0b4 Update localefile patch 2011-09-24 16:01:17 -07:00
Garrett Holmstrom
1d49adcb8d Fix a bad method call in FQDN-guessing [LP:857891] 2011-09-24 16:01:08 -07:00
Garrett Holmstrom
f3b8d56e59 Fix SSH key generation 2011-09-24 16:00:39 -07:00
Garrett Holmstrom
313587125f Fix logfile permission checking 2011-09-24 16:00:30 -07:00
Garrett Holmstrom
dace9fa111 Minor spec file fixes 2011-09-24 15:59:51 -07:00
Garrett Holmstrom
c29b44528c Updated tzsysconfig patch 2011-09-24 15:59:42 -07:00
Garrett Holmstrom
4907847669 Initial build (0.6.2-0.1.bzr450) 2011-09-24 15:59:01 -07:00