Jonathan Boulle
c428ce2cc5
Merge pull request #200 from jonboulle/fu
...
initialize: use correct heuristic to check if etcdenvironment is set
2014-08-11 17:44:44 -07:00
Jonathan Boulle
dfb5b4fc3a
initialize: use correct heuristic to check if etcdenvironment is set
...
In some circumstances (e.g. nova-agent-watcher) cloudconfig files will
be created where the EtcdEnvironment is an empty map, and hence != nil.
If this is the case we should not do anything at all (because the user
hasn't explicitly asked us to configure etcd). This change standardises
behaviour with the check that we already do for FleetEnvironment.
2014-08-11 16:01:08 -07:00
Alex Crawford
97d5538533
Merge pull request #197 from crawford/ec2
...
datasource: Fix ec2 URLs
2014-08-06 22:45:03 -07:00
Alex Crawford
6b8f82b5d3
datasource: Fix ec2 URLs
...
_ vs -
2014-08-06 21:31:43 -07:00
Alex Crawford
facde6609f
Merge pull request #194 from crawford/metadata
...
datasource: Refactoring datasources
2014-08-06 15:55:13 -07:00
Alex Crawford
d68ae84b37
metadata: Refactor metadata service into ec2 metadata
...
Added more testing.
2014-08-05 17:19:43 -07:00
Alex Crawford
54aa39543b
timeouts: Use After() instead of Tick()
2014-08-04 15:10:14 -07:00
Alex Crawford
8566a2c118
datasource: Move datasources into their own packages.
2014-08-04 15:10:07 -07:00
Alex Crawford
49ac083af5
coreos-cloudinit: bump to 0.9.1+git
2014-08-04 14:14:24 -07:00
Alex Crawford
5d65ca230a
coreos-cloudinit: bump to 0.9.1
2014-08-04 14:13:51 -07:00
Alex Crawford
38b3e1213a
Merge pull request #188 from crawford/configdrive
...
configdrive: Use the EC2 metadata over OpenStack
2014-08-04 11:12:06 -07:00
Alex Crawford
4eedca26e9
configdrive: Use the EC2 metadata over OpenStack
...
Standardize on specific EC2 and OpenStack versions and add tests.
2014-08-04 10:18:29 -07:00
Brian Waldon
f2b342c8be
doc: escape user.home example
2014-08-01 13:20:44 -07:00
Michael Marineau
c19d8f6b61
Merge pull request #193 from benjic/cloudconfig_variables
...
docs(quick-start): Clarified use of fields in cloud config
2014-07-24 11:02:03 -07:00
Benjamin Campbell
7913f74351
docs(quick-start) Enumerated supported platforms
...
Following suggestion a list of platforms that *do* support cloud config variables. In addition minor mark up formatting is added.
2014-07-24 11:54:31 -06:00
Benjamin Campbell
5593408be8
docs(quick-start): Clarified use of fields in cloud config
...
Updated the language to illustrate that fields in a cloud config is not
supported in all environments. This is expressed explicitly in PXE and
install to disk pages. The quick start lacked this information and is
inconsistent.
2014-07-24 11:27:35 -06:00
Alex Crawford
7fc67c2acf
Merge pull request #191 from crawford/panic
...
config: Verify that type assertions are valid
2014-07-22 11:51:39 -07:00
Alex Crawford
b093094292
config: Verify that type assertions are valid
2014-07-22 11:39:20 -07:00
Michael Marineau
9a80fd714a
Merge pull request #181 from robszumski/docs-startup
...
fix(docs): clarity around boot behavior and unit usage
2014-07-21 22:12:19 -07:00
Rob Szumski
fef5473881
fix(docs): clarity around boot behavior and unit usage
2014-07-21 21:41:00 -07:00
Alex Crawford
bf5a2b208f
coreos-cloudinit: bump to 0.9.0+git
2014-07-21 19:17:14 -07:00
Alex Crawford
364507fb75
coreos-cloudinit: bump to 0.9.0
2014-07-21 19:16:11 -07:00
Alex Crawford
08d4842502
Merge pull request #190 from crawford/logs
...
Logs
2014-07-21 12:22:41 -07:00
Alex Crawford
21e32e44f8
system: Add more logging for networkd
2014-07-21 11:25:22 -07:00
Alex Crawford
7a06dee16f
system: Cleanup redundant code
2014-07-21 11:24:42 -07:00
Alex Crawford
ff9cf5743d
Merge pull request #187 from crawford/order
...
networkd: Reverse lexicographic order of generated unit files
2014-07-18 13:23:58 -07:00
Alex Crawford
1b10a3a187
networkd: Reverse lexicographic order of generated unit files
2014-07-17 20:47:37 -07:00
Michael Marineau
10838e001d
Merge pull request #186 from robszumski/add-highlighting
...
feat(docs): add syntax highlighting
2014-07-15 15:26:33 -07:00
Rob Szumski
96370ac5b9
feat(docs): add syntax highlighting
2014-07-14 16:16:14 -07:00
Michael Marineau
0b82cd074d
Merge pull request #180 from marineam/systemd_testing
...
chore(*): split out unit processing from config.Apply
2014-07-11 20:09:08 -07:00
Alex Crawford
a974e85103
Merge pull request #174 from crawford/teeth
...
networkd: Fix issues with bonding and VLANs
2014-07-11 15:48:02 -07:00
Michael Marineau
f0450662b0
Merge pull request #183 from marineam/fix
...
tests: fix error messages, use Fatalf
2014-07-11 15:40:54 -07:00
Michael Marineau
03e29d1291
tests: fix error messages, use Fatalf
2014-07-11 15:38:04 -07:00
Michael Marineau
98ae5d88aa
coreos-cloudinit: bump to 0.8.9+git
2014-07-11 14:40:57 -07:00
Michael Marineau
bf5d3539c9
coreos-cloudinit: bump to 0.8.9
2014-07-11 14:40:34 -07:00
Michael Marineau
5e4cbcd909
Merge pull request #182 from marineam/fix
...
env_file: fix broken test cases
2014-07-11 14:38:56 -07:00
Michael Marineau
a270c4c737
env_file: fix broken test cases
...
TestWriteEnvFileDos2Unix had a copy/paste bug, it shouldn't have
asserted that mtime doesn't change because the file is actually being
modified in this test. This didn't come up earlier because the actual
comparison wasn't using Time.Equal as it should have.
Instead switch to comparing inode numbers which is the actual thing I
wanted to test for in the first place, just accessing them is much more
awkard. Now all tests where it is relevant check the inode in addition
to the contents.
2014-07-11 13:35:10 -07:00
Michael Marineau
f356a8a690
coreos-cloudinit: bump to 0.8.8+git
2014-07-11 11:13:01 -07:00
Michael Marineau
b1a897d75c
coreos-cloudinit: bump to 0.8.8
2014-07-11 11:12:15 -07:00
Jonathan Boulle
be51f4eba0
chore(*): split out unit processing from config.Apply
2014-07-11 10:44:19 -07:00
Michael Marineau
a55e2cd49b
Merge pull request #178 from marineam/env
...
Write /etc/environment
2014-07-11 10:39:33 -07:00
Michael Marineau
983501e43b
environment: add support for updating /etc/environment with IP values
...
To maintain the behavior of the coreos-setup-environment that has
started to move into cloudinit we need to write out /etc/environment
with the public and private addresses, if known. The file is updated so
that other contents are not replaced. This behavior is disabled entirely
if /etc/environment was written by a write_files entry.
2014-07-11 10:34:44 -07:00
Alex Crawford
e3037f18a6
networkd: Restart networkd twice to work around race
...
https://bugs.freedesktop.org/show_bug.cgi?id=76077
2014-07-10 23:40:42 -07:00
Alex Crawford
fe388a3ab6
networkd: Create config directory before writing config
2014-07-10 23:40:42 -07:00
Alex Crawford
c820f2b1cf
bonding: Add support for probing the bonding module with parameters
...
Until support for bonding params is added to networkd, this will be
neccessary in order to use bonding parameters (i.e. miimon, mode).
This also makes it such that the 8012q module will only be loaded if
the network config makes use of VLANs.
2014-07-10 23:40:42 -07:00
Michael Marineau
81824be3bf
system: new file writer for updating env-style files
...
This can be used to safely update config files cloudinit does not have
exclusive control over. For example update.conf or /etc/environment.
2014-07-10 15:53:32 -07:00
Michael Marineau
98c26440be
Merge pull request #176 from jayofdoom/master
...
Document need for #cloud-config in cloud-config.yml
2014-07-09 16:41:00 -07:00
Jay Faulkner
3b5fcc393b
Document need for #cloud-config in cloud-config.yml
...
- cloud-config.yml does not work if it's missing the #cloud-config
directive at the top. This is undocumented, except in the examples.
2014-07-09 16:36:11 -07:00
Alex Crawford
9528077340
coreos-cloudinit: bump to 0.8.7+git
2014-07-02 15:20:45 -07:00
Alex Crawford
4355a05d55
coreos-cloudinit: bump to 0.8.7
2014-07-02 15:20:26 -07:00