Jonathan Boulle
be68a8e5cc
*: switch to line comments for copyright
...
Build tags are not compatible with block comments. Also adds copyright
header to a few places it was missing.
2015-01-24 19:32:33 -08:00
Jonathan Boulle
6c1ba590aa
*: add license header to all source files
2014-10-17 15:36:22 -07:00
Alex Crawford
7dec922618
env: add support for escaping environment substitutions
2014-09-11 15:30:33 -07:00
Alex Crawford
56815a6756
metadata: add support for IPv6 variable substitution
2014-09-11 10:43:02 -07:00
Jonathan Boulle
f1c97cb4d5
environment: write new keys in consistent order
2014-08-11 18:24:58 -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
Jonathan Boulle
f0dba2294e
initialize/env: handle nil substitution maps properly
2014-06-25 12:07:48 -07:00
Jonathan Boulle
2805d70ece
initialize/env: add notes about tests
2014-06-24 18:52:08 -07:00
Jonathan Boulle
439b7e8b98
initialize/env: fall back to COREOS_*_IPV4 env variables
2014-06-24 18:49:49 -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
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
Brian Waldon
ddd035aaa7
feat($ip): Substitute $[public|private]_ipv4 in whole user-data
2014-03-21 11:01:16 -07:00