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
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
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
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
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
Alex Crawford
8eca10200e
coreos-cloudinit: bump to 0.8.6+git
2014-07-01 16:17:00 -07:00
Alex Crawford
43be8c8996
coreos-cloudinit: bump to 0.8.6
2014-07-01 16:16:41 -07:00
Alex Crawford
7d89aefb82
coreos-cloudinit: bump to 0.8.5+git
2014-07-01 15:45:49 -07:00
Alex Crawford
2369e2a920
coreos-cloudinit: bump to 0.8.5
2014-07-01 15:45:23 -07:00
Jonathan Boulle
92bd5ca5d4
coreos-cloudinit: bump to 0.8.4+git
2014-07-01 12:16:09 -07:00
Jonathan Boulle
5b5ffea126
coreos-cloudinit: bump to 0.8.4
2014-07-01 12:15:48 -07:00
Jonathan Boulle
1b3cabb035
coreos-cloudinit: apply environment to userdata string
2014-07-01 12:08:42 -07:00
Jonathan Boulle
1be2bec1c2
coreos-cloudinit: bump to 0.8.3+git
2014-06-30 22:12:13 -07:00
Jonathan Boulle
f3bd5f543e
coreos-cloudinit: bump to 0.8.3
2014-06-30 22:11:15 -07:00
Jonathan Boulle
9673dbe12b
coreos-cloudinit: fix ordering error in merge invocation
2014-06-30 22:07:05 -07:00
Alex Crawford
2be435dd83
coreos-cloudinit: bump to 0.8.2+git
2014-06-30 18:11:14 -07:00
Alex Crawford
2d91369596
coreos-cloudinit: bump to 0.8.2
2014-06-30 18:10:20 -07:00
Jonathan Boulle
d4e048a1f4
ParseUserData: return nil on empty input string
2014-06-30 11:27:33 -07:00
Jonathan Boulle
1aabacc769
cloudinit: merge cloudconfig info from user-data and meta-data
...
This attempts to retrieve cloudconfigs from two sources: the meta-data
service, and the user-data service. If only one cloudconfig is found,
that is applied to the system. If both services return a cloudconfig,
the two are merged into a single cloudconfig which is then applied to
the system.
Only a subset of parameters are merged (because the meta-data service
currently only partially populates a cloudconfig). In the event of any
conflicts, parameters in the user-data cloudconfig take precedence over
those in the meta-data cloudconfig.
2014-06-27 23:48:48 -07:00
Alex Crawford
6a2927d701
coreos-cloudinit: bump to 0.8.1+git
2014-06-27 15:00:05 -07:00
Alex Crawford
126188510b
coreos-cloudinit: bump to 0.8.1
2014-06-27 14:59:56 -07:00
Alex Crawford
c7081b9918
coreos-cloudinit: bump to 0.8.0+git
2014-06-27 11:33:56 -07:00
Alex Crawford
9ba3b18b59
coreos-cloudinit: bump to 0.8.0
2014-06-27 11:32:52 -07:00
Alex Crawford
c089216cb5
datasources: Add support for specifying multiple datasources
...
If multiple sources are specified, the first available source is used.
2014-06-26 22:32:39 -07:00
Jonathan Boulle
fbdece2762
coreos-cloudinit: restrict convert-netconf to configdrive
2014-06-25 14:28:11 -07:00
Alex Crawford
fae81c78f3
metadataService: Check both ec2 and openstack urls more explicitly
...
Remove the root url parameter for -from-metadata-service since this
is a guarenteed value. Additionally, check for both ec2 and openstack
urls for the metadata and userdata. Fix a bug with the -from-url
option and a panic on an empty response.
2014-06-25 11:19:11 -07:00
Alex Crawford
a5dec7d7bd
cloudconfig: Process metadata before userdata
...
This gives the options in userdata a higher precedence over metadata.
2014-06-25 10:35:26 -07:00
Jonathan Boulle
80d00cde94
Merge pull request #158 from jonboulle/nettttt
...
cloudinit: retrieve IPv4 addresses from metadata
2014-06-24 19:11:15 -07:00
Jonathan Boulle
ba1c1e97d0
cloudinit: retrieve IPv4 addresses from metadata
...
This uses the new MetadataService implementation to retrieve values for
$private_ipv4 and $public_ipv4 substitutions, instead of using
environment variables.
2014-06-24 17:46:06 -07:00
Alex Crawford
361edeebc6
metadata-service: Add metadata-service datasource
...
Move the old metadata-service datasource to url datasource. This new datasource
checks for the existance of meta-data.json and if it doesn't exist, walks the
meta-data directory to build a metadata blob.
2014-06-24 15:08:03 -07:00
Jonathan Boulle
13a91c9181
coreos-cloudinit: clean up flag handling
2014-06-24 14:19:55 -07:00
Alex Crawford
5c89afc18a
Merge pull request #152 from crawford/metadata
...
feat(meta_data): Add partial support for meta_data.json
2014-06-20 17:47:08 -07:00
Michael Marineau
376cc4bcac
chore(coreos-cloudinit): bump to 0.7.7+git
2014-06-18 15:01:13 -07:00
Michael Marineau
d0a6d6f92f
chore(coreos-cloudinit): bump to 0.7.7
2014-06-18 14:55:38 -07:00
Alex Crawford
e6cf83a2e5
refactor(netconf): Move netconf processing and handle metadata
2014-06-18 12:43:41 -07:00
Alex Crawford
840c208b60
feat(metadata): Distinguish between userdata and metadata for datasources
2014-06-18 12:34:31 -07:00
Alex Crawford
29ed6b38bd
refactor(env): Add the config root and netconf type to datasource and env
2014-06-18 12:27:15 -07:00
Alex Crawford
259c7e1fe2
fix(sshKeyName): Use the SSH key name provided
2014-06-18 11:47:17 -07:00
Michael Marineau
160668284c
chore(coreos-cloudinit): bump to 0.7.6+git
2014-06-07 16:04:33 -04:00
Michael Marineau
41b9dfcb1c
chore(coreos-cloudinit): bump to 0.7.6
2014-06-07 16:01:31 -04:00
Jonathan Boulle
c6a1412f6b
chore(coreos-cloudinit): bump to 0.7.5+git
2014-06-06 11:14:39 -07:00
Jonathan Boulle
d0cbbd2007
chore(coreos-cloudinit): bump to 0.7.5
2014-06-06 11:10:48 -07:00