1400 Commits

Author SHA1 Message Date
Michael Marineau
67f1ae115e feat(coreos-base/coreos-au-key): Install signing key in SDK
This just means tools looking for the test key don't need to point at
the long and screwy path into the coreos-overlay repo.
2014-05-01 09:54:04 -07:00
Michael Marineau
b3789e2f41 fix(coreos-base/update_engine): Install update signing key via ebuild.
This removes the need to perform this step during build_image.
2014-04-30 16:31:11 -07:00
Michael Marineau
c0b34b285c fix(coreos-base/oem-vagrant): Fix up comments
Fix some comments that were written for a previous iteration of code.
2014-04-29 03:26:54 -04:00
Michael Marineau
def1901f7e fix(coreos-base/oem-vagrant): Create directory for vagrant user-data.
This fixes compatibility with the existing Vagrantfile in
coreos-vagrant which expected the plugin code to create this directory.
Also, the units can be runtime since they are always written at boot.
2014-04-29 02:44:19 -04:00
Michael Marineau
d7cfb39436 bump(coreos-base/oem-vagrant): Update revision, include box configs. 2014-04-28 21:44:37 -04:00
Michael Marineau
8ac5099b3a fix(coreos-base/oem-vagrant): Add hook to make it easy to set base_mac
The file `base_mac.rb` will be re-written when packing this into a box.
2014-04-28 21:44:37 -04:00
Michael Marineau
f16d776db2 fix(coreos-base/oem-vagrant): Add timeout for /etc/environment
The environment file will not be written if there are no public or
private networks defined since the configure_networks hook is never run.
Report an error after one minute to make this situation less confusing.
2014-04-28 21:44:36 -04:00
Michael Marineau
8b1ff15435 fix(coreos-base/oem-vagrant): Rework network configuration code.
- Only write configs for static networks, DHCP will work by default.
 - Match interfaces by MAC address if possible.
 - Use the configured netmask instead of always using a /24
 - Define default addresses in /etc/environment based on the type of
   network. Now using both a private and a public network works!
2014-04-28 21:44:36 -04:00
Michael Marineau
b1294b062d fix(coreos-base/oem-vagrant): Split up plugin, use change_host_name hook.
The old override-plugin.rb didn't actually properly monkey patch the
change host name function because it was missing a requires line
pointing to the file it is defined in upstream. To clarify things split
the code into two files that match the upstream names. Additionally
using this hook as it is intended means it works if a host name is
defined but additional networks are not.

As part of the split switch to starting the units directly. The
indirection through a path unit just adds complexity.
2014-04-28 21:44:36 -04:00
Michael Marineau
9424a28ec3 fix(coreos-base/oem-vagrant): Move user config handling out of ruby code
There's no reason for handling vagrantfile-user-data in the Vagrant
plugin, move it to the OEM cloud-config.yml along side the user-data
handler. Use the generic user-config@ unit as well.
2014-04-28 16:54:30 -04:00
Michael Marineau
e6244ef10c add(coreos-base/oem-vagrant): Import code from coreos-vagrant
Import override-plugin.rb and some VirtualBox fixups from our published
Vagrantfile repo. The current Vagrant OEM depends on this code, making
it impossible to boot without using our special Vagrantfile. Using the
box as a stand-alone entity worked up until recently and is something
users expect to work.

Also bump the minimum Vagrant version to 1.5, matching our current
documentation.

Fixes https://github.com/coreos/bugs/issues/5
2014-04-28 16:54:30 -04:00
Michael Marineau
500e9c2693 add(coreos-base/coreos-vagrant): Import Vagrantfile template
This is the static piece of the Vagrantfile previously defined in
scripts/build_library/virtualbox_ovf.sh. Moving it here so we can start
maintaining the major Vagrant OEM pieces together.
2014-04-28 16:54:30 -04:00
Michael Marineau
e90664189d cleanup(coreos-base/oem-vagrant): Move ssh key into cloud config.
The old behavior of loading authorized_keys from /usr/share/oem is
deprecated, so lets switch vagrant to the new config driven world. :)
2014-04-28 16:54:29 -04:00
Michael Marineau
7af2b92c29 maint(profiles): Merge usr profile back into generic target.
coreos/amd64/usr remains as an alias to coreos/amd64/generic for now.
2014-04-26 15:06:08 -07:00
Michael Marineau
32fa9c4708 maint(sys-apps/systemd): Replace reload patch with upstream version. 2014-04-26 13:41:09 -07:00
Michael Marineau
c2e02f63bd maint(sys-apps/systemd): Cleanup old version. 2014-04-26 13:38:59 -07:00
Michael Marineau
89878edf95 fix(sys-apps/systemd): Add patch for daemon-reload bug.
This should fix our issue with hung jobs. Patch from here:
http://lists.freedesktop.org/archives/systemd-devel/2014-April/018361.html

Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=77066
2014-04-25 10:55:48 -07:00
Michael Marineau
6493111740 bump(coreos-base/coreos-init): Purge amd64-generic, fix btrfs-resize 2014-04-24 13:29:44 -07:00
Michael Marineau
cf02fb1d6b bump(coreos-base/coreos-cloudinit): Workaround config source conflict
https://github.com/coreos/coreos-cloudinit/pull/87
https://github.com/coreos/coreos-cloudinit/issues/86
2014-04-23 14:58:47 -07:00
Brian Waldon
8f67fc5996 bump(coreos-cloudinit): Upgrade to v0.5.1 2014-04-22 18:27:08 -07:00
Michael Marineau
49c74da722 bump(coreos-base/update_engine): Use system SSL certs.
Pulls in https://github.com/coreos/update_engine/pull/27
Fixes breakage caused by https://github.com/coreos/scripts/pull/218
2014-04-22 16:04:08 -07:00
Michael Marineau
fe3e2d13fa bump(coreos-base/coreos-init): Skip OEM on diskless systems 2014-04-21 19:39:29 -07:00
Michael Marineau
fd6e6d2b6f Merge pull request #558 from marineam/btrfs
fix(sys-kernel/bootengine): Set +x on btrfs script.
2014-04-21 09:44:57 -07:00
Michael Marineau
80289fccac fix(sys-kernel/bootengine): Set +x on btrfs script.
Didn't pull this patch into 7b160f27 by mistake.
2014-04-21 09:39:04 -07:00
Michael Marineau
146343ca0d Merge pull request #557 from marineam/env
fix(coreos-base/oem-vagrant): Add coreos-setup-environment
2014-04-18 18:54:24 -07:00
Michael Marineau
4649f7fa12 fix(coreos-base/oem-vagrant): Add coreos-setup-environment
In vagrant /etc/environment is set up by cloudinit but other services
still depend on the coreos-setup-environment.service unit as a signal
that /etc/environment is valid. Also the OEM needs to provide this
script in order to block the likely to be broken defaults from being
written. This just provides a dumb script that blocks.

Use system-cloudinit@.service because it does not depend on
coreos-setup-environment.service. Otherwise we would dead lock on a
circular dependency.
2014-04-18 15:32:50 -07:00
Greg Kroah-Hartman
2557633af6 Merge pull request #556 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel): bump to 3.14.1
2014-04-18 14:50:40 -07:00
Greg Kroah-Hartman
265aefffd3 bump(sys-kernel/coreos-kernel): bump to 3.14.1 2014-04-18 12:19:50 -07:00
Michael Marineau
72829fedf7 Merge pull request #555 from marineam/btrfs
fix(profiles): Use latest btrfs-progs
2014-04-18 10:02:17 -07:00
Michael Marineau
90136cd61e fix(profiles): Use latest btrfs-progs 2014-04-17 18:48:48 -07:00
Alex Crawford
12dc15bfaf fix(coreos-base/oem-ec2-compat): Correcting ebuild symlink 2014-04-17 17:54:14 -07:00
Alex Crawford
ee16b5f8ec feat(sys-apps/baselayout): Adding new LD_PATH to env.d 2014-04-17 11:34:54 -07:00
Alex Crawford
f3674d3f4b feat(coreos-base/coreos-init): Added ldsocache.service
This one-shot service is responsible for generating the ld.so cache
2014-04-17 11:34:54 -07:00
Michael Marineau
ad876335a8 bump(coreos-base/coreos-init): Fix sshd host key generation 2014-04-16 17:20:22 -07:00
Michael Marineau
5b8e87cf0b bump(sys-apps/baselayout): Include sbin in path 2014-04-16 17:18:21 -07:00
Michael Marineau
b1fb592053 fix(sys-apps/systemd): Don't prune systemd dirs
Assorted config directories in /etc are normally empty but without them
users generally have no idea that they can actually use them. Switch to
installing them again and add tmpfiles rules to recreate them.
2014-04-16 15:40:08 -07:00
Michael Marineau
7d6dd11fe3 cleanup(sys-apps/systemd): Remove unused files.
These are installed by gentoo-systemd-integration these days.
2014-04-16 15:40:06 -07:00
Michael Marineau
d2509255c3 Merge pull request #536 from marineam/systemd
Systemd 212
2014-04-16 15:19:20 -07:00
Michael Marineau
06ae3bc5dd bump(sys-kernel/bootengine): Add experimental diskless btrfs support. 2014-04-16 10:26:04 -07:00
Greg Kroah-Hartman
3166c33d4b Merge pull request #548 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel) update to 3.13.10
2014-04-15 23:36:10 -07:00
Greg Kroah-Hartman
73387f3485 bump(sys-kernel/coreos-kernel) update to 3.13.10 2014-04-15 15:56:02 -07:00
Michael Marineau
16d004d5f6 bump(coreos-base/coreos-cloudinit): relax deps in unit files 2014-04-15 18:23:13 -04:00
Michael Marineau
50358447a8 fix(coreos-base/oem-vagrant): Use generic cloud config unit. 2014-04-15 18:14:47 -04:00
Michael Marineau
8d2164c922 fix(coreos-base/oem-rackspace): Rely on generic configdrive units.
Config drive is now supported on all VM platforms so it doesn't need to
be in the rackspace OEM any more.
2014-04-15 18:14:47 -04:00
Michael Marineau
15aca86c01 bump(coreos-base/coreos-init): Deprecate old addon units. 2014-04-15 18:14:46 -04:00
Michael Marineau
65820676f6 churn(coreos-base/coreos-cloudinit): Move units into cloudinit repo. 2014-04-15 18:14:46 -04:00
Alex Crawford
0646a54672 Merge pull request #545 from crawford/master
feat(sys-apps/portage): Syncing with upstream and adding 'disabled attribute' patch.

Keep the ebuild in the overlay disabled for now.
2014-04-14 19:20:56 -07:00
Alex Crawford
edf92a8b5e feat(sys-apps/portage): Adding repos.conf patch to ebuild
Pulling in the patch mentioned here
(https://bugs.gentoo.org/show_bug.cgi?id=507284). This adds support for the
'disabled' attribute in repository sections within repos.conf.
2014-04-14 19:18:12 -07:00
Alex Crawford
631063b1cf bump(sys-apps/portage): sync with upstream
portage-2.2.8-r1 is stable, but keep the ebuild in the overlay disabled
for now.
2014-04-14 19:17:30 -07:00
Michael Marineau
27e34e6773 feat(coreos-base/coreos): Add XenServer compatibility hack 2014-04-14 19:58:27 -04:00