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
Alex Crawford
cf1ffad533
chore(coreos-cloudinit): bump to 0.7.4+git
2014-06-03 14:14:47 -07:00
Alex Crawford
82706b1d5f
chore(coreos-cloudinit): bump to 0.7.4
2014-06-03 14:13:56 -07:00
Alex Crawford
38c8fda0d1
Merge pull request #124 from crawford/networkd
...
feat(networkd): Adding support for debian-interface-to-networkd conversion
2014-06-03 13:55:06 -07:00
Alex Crawford
48df1be793
feat(convertNetconf): Add support for network config conversion
...
Adding the flag -convertNetconf which is used to specify the config
format to convert from (right now, only 'debian' is supported).
Once the network configs are generated, they are written to
systemd's runtime network directory and the network is restarted.
2014-06-02 15:31:30 -07:00
Alex Crawford
f8a823cf7e
refactor(userdata): Move userdata processing into a function
2014-06-02 14:59:01 -07:00
Alex Crawford
a4035cffea
feat(config-drive): Add support for reading user-data from config-drive
...
The -config-drive flag tells cloudinit to read the user-data from
within the config-drive (./openstack/latest/user-data).
2014-06-02 14:58:57 -07:00
Jonathan Boulle
ded6d94180
chore(coreos-cloudinit): bump to 0.7.3+git
2014-05-29 14:55:34 -07:00
Jonathan Boulle
a9a910b5c4
chore(coreos-cloudinit): bump to 0.7.3
2014-05-29 14:52:58 -07:00
Michael Marineau
e317c7eb9a
chore(coreos-cloudinit): bump to 0.7.2+git
2014-05-27 14:02:11 -07:00
Michael Marineau
974de943e0
chore(coreos-cloudinit): bump to 0.7.2
2014-05-27 13:37:58 -07:00
Brandon Philips
5b1145c044
Merge pull request #118 from c4milo/log-timestamp-fix
...
chore(logging): Removes duplicated timestamp during booting
2014-05-17 16:31:07 -07:00
Michael Marineau
a49877b99f
chore(coreos-cloudinit): bump to 0.7.1+git
2014-05-16 21:23:34 -07:00
Michael Marineau
24f181f7a3
chore(coreos-cloudinit): bump to 0.7.1
2014-05-16 21:21:47 -07:00
Brandon Philips
140682350d
chore(coreos-cloudinit): bump to 0.7.0+git
2014-05-16 18:22:22 -07:00
Brandon Philips
289ada4668
chore(coreos-cloudinit): bump to 0.7.0
2014-05-16 18:22:22 -07:00
Camilo Aguilar
5d58c6c1c1
chore(logging): Removes duplicated timestamp during booting
2014-05-16 17:35:31 -04:00
Jonathan Boulle
e3117269cb
chore(cloudinit): remove superfluous check
2014-05-09 20:32:51 -07:00
Brandon Philips
47b536532d
chore(coreos-cloudinit): version +git
2014-05-06 21:09:40 -07:00
Brandon Philips
7df5cf761e
chore(coreos-cloudinit): bump to 0.6.0
...
The major feature in this release is coreos.update.reboot-strategy
2014-05-06 21:05:42 -07:00
Michael Marineau
4e84180ad5
chore(release): Bump version to v0.5.2+git
2014-05-05 14:09:08 -07:00
Michael Marineau
0f1717bf26
chore(release): Bump version to v0.5.2
2014-05-05 14:07:50 -07:00
Brian Waldon
8201d75115
chore(release): Bump version to v0.5.1+git
2014-04-22 18:22:35 -07:00
Brian Waldon
1d024af4c1
chore(release): Bump version to v0.5.1
2014-04-22 18:22:24 -07:00
Brian Waldon
46b046c82e
chore(release): Bump version to v0.5.0+git
2014-04-22 16:48:32 -07:00
Brian Waldon
e64b61b312
chore(release): Bump version to v0.5.0
2014-04-22 16:48:21 -07:00