Jonathan Boulle
e413a97741
feat(update): add more configuration options for update.conf
2014-05-14 13:13:19 -07:00
Jonathan Boulle
919298e545
feat(fleet): add basic fleet configuration to cloud-config
2014-05-14 12:28:20 -07:00
Jonathan Boulle
e93911344d
refactor(init): rename locksmith to update
2014-05-14 11:40:39 -07:00
Jonathan Boulle
cdee32d245
refactor(systemd): don't allow users to set DropIn=true yet
2014-05-14 11:34:13 -07:00
Jonathan Boulle
31cfad91e3
refactor(*): rework cloudconfig for better extensibility and consistency
...
This change creates a few simple interfaces for coreos-specific
configuration options and moves things to them wherever possible; so if
an option needs to write a file, or create a unit, it is acted on
exactly the same way as every other file/unit that needs to be written
during the cloud configuration process.
2014-05-14 11:34:07 -07:00
Brian Waldon
cb4d9e81a4
fix(coreos-cloudinit): Ensure /etc/coreos exists before writing to it
2014-05-14 10:47:18 -07:00
Brandon Philips
9f38792d43
fix(initialize): use REBOOT_STRATEGY in update.conf
...
Change from STRATEGY to REBOOT_STRATEGY and update the function names to
reflect that this is a config now.
2014-05-06 20:57:29 -07:00
Alex Polvi
7e4fa423e4
feat(initialize): add locksmith configuration
...
configure locksmith strategy based on the cloud config.
2014-05-06 20:57:28 -07:00
Brandon Philips
aea5ca5252
chore(initialize): code cleanups and gofmt
2014-05-06 16:13:21 -07:00
Michael Marineau
6a9aa60a8d
Merge pull request #93 from marineam/reload
...
Revert "fix(units): Drop automatic daemon-reload"
2014-05-05 14:02:16 -07:00
Michael Marineau
7cacb2e127
Revert "fix(units): Drop automatic daemon-reload"
...
daemon-reload should be fixed now and the latest CoreOS with locksmith
is causing the etcd unit to get lazy-loaded before all the cloudinit
processes have finished configuring etcd via dropin files. In short,
the luck we were relying on to get by without daemon-reload has
officially run out. Cross your fingers!
This reverts commit 580460ff3f
.
2014-05-05 13:16:07 -07:00
Brian Waldon
f6d8190e8f
test(crlf): Add test that parses user-data with carriage returns
2014-05-05 10:49:02 -07:00
Brian Waldon
e98c58c656
fix(userdata): Strip \r when checking header
...
Fix #68
2014-04-21 13:40:26 -07:00
Brian Waldon
61bb63b6e6
feat(unit): Allow units to be enabled even if contents not provided
2014-04-15 09:00:53 -07:00
Brian Waldon
476761cf62
refactor(unit): Separate UnitDestination from PlaceUnit
2014-04-15 09:00:53 -07:00
Brian Waldon
5981e12ac0
feat(unit): Allow user to control enabling units
...
Fix #69 - A user may provide an `enable` attribute of a unit in their
cloud config document. If true, coreos-cloudinit will instruct systemd
to enable the associated unit. If false, the unit will not be enabled.
Fix #71 - The default enable behavior has been changed from on to off.
2014-04-15 09:00:52 -07:00
Brian Waldon
ba7cf90315
fix(manage_etc_hosts): Append newline to /etc/hosts
2014-04-07 11:01:17 -07:00
Brandon Philips
7015338aef
fix(initialize): don't quote version or ID
...
The update_engine parsing and XML generation code is very naive. Instead
of trying to implement a correct parser and generater in C++ just
generate a file that doesn't have quote's around fields that we know
won't have spaces.
2014-04-07 09:56:57 -07:00
Gabriel Monroy
4d02e1da8e
feat(etc-hosts) add support for manage_etc_hosts: localhost
...
This feature is based on https://github.com/number5/cloud-init/blob/master/doc/examples/cloud-config.txt#L447:L482
2014-04-01 16:02:12 -06:00
Brian Waldon
f3ba47ac89
Merge pull request #48 from calavera/key_import_url
...
feat(ssh-import): Add ssh-import-url user attribute.
2014-03-27 20:16:10 -07:00
David Calavera
7d814396b7
feat(ssh-import): Add ssh-import-url user attribute.
2014-03-28 09:39:47 +08:00
Brian Waldon
580460ff3f
fix(units): Drop automatic daemon-reload
2014-03-27 17:30:05 -07:00
Brian Waldon
477ae29135
fix(systemd): Fail if daemon-reload returns error
2014-03-25 18:50:48 -07:00
Brian Waldon
b778fe6f41
fix(unit): Default unit command to NOP
2014-03-24 14:12:59 -07:00
Brian Waldon
3d01211937
feat(coreos.oem): Write coreos.oem fields to /etc/oem-release
2014-03-24 13:42:35 -07:00
Brian Waldon
ddd035aaa7
feat($ip): Substitute $[public|private]_ipv4 in whole user-data
2014-03-21 11:01:16 -07:00
Brian Waldon
88a6e77449
feat(unit.command): Add command field to units
2014-03-19 15:56:29 -07:00
Brian Waldon
09c473a6cb
fix(fleet): Drop coreos.fleet from cloud-config
2014-03-19 14:43:25 -07:00
Brian Waldon
6f5acf53cb
feat(github): add coreos-ssh-import-github user attribute
2014-03-19 08:54:45 -07:00
Brian Waldon
01542ecec7
fix(etcd): Transform DISCOVERY_URL to DISCOVERY
2014-03-18 13:04:07 -07:00
Brian Waldon
9818565c7d
feat(etcd): Fall back to hostname if no machine-id
2014-03-18 10:58:47 -07:00
Brian Waldon
f5765e4dde
feat(etcd): Default etcd name to /etc/machine-id
2014-03-18 10:58:47 -07:00
Brian Waldon
cfa17ca2d2
fix(etcd): Place etcd.service drop-in in /run
2014-03-18 10:36:34 -07:00
Brian Waldon
d2dabee0c6
refactor(*): Break apart packages
2014-03-18 09:14:11 -07:00