Alex Crawford
c9e8c887b8
test: run go vet
2014-10-23 11:46:40 -07:00
Alex Crawford
8be307de49
*: fix warnings from go vet
2014-10-23 11:46:08 -07:00
Alex Crawford
562c474275
system: embed config within EtcHosts and Update
2014-10-23 11:44:15 -07:00
Jonathan Boulle
5c5834863b
Merge pull request #250 from jonboulle/master
...
*: switch to Godeps
2014-10-20 12:09:04 -07:00
Jonathan Boulle
44f0a949c5
*: switch to Godeps
2014-10-20 12:04:03 -07:00
Jonathan Boulle
106c4e7a2c
Merge pull request #249 from jonboulle/license_header
...
*: add license header to all source files
2014-10-17 15:42:20 -07:00
Jonathan Boulle
6c1ba590aa
*: add license header to all source files
2014-10-17 15:36:22 -07:00
Alex Crawford
45da664c59
Merge pull request #246 from crawford/master
...
Add support for Azure
2014-10-12 21:37:34 -07:00
Alex Crawford
2a71551ef2
azure: add support for azure (via azure agent)
2014-10-11 09:19:47 -07:00
Alex Crawford
84e1cb3242
datasource/waagent: add support for WAAgent metadata
2014-10-11 09:19:47 -07:00
Jonathan Boulle
5214ead926
Merge pull request #245 from jonboulle/units
...
init: simplify CloudConfigUnit interface
2014-10-06 15:26:36 -07:00
Jonathan Boulle
e2c24c4cef
init: simplify CloudConfigUnit interface
2014-10-06 15:14:29 -07:00
Alex Crawford
75e288c553
coreos-cloudinit: bump to 0.10.4+git
2014-09-24 19:25:55 -07:00
Alex Crawford
0785840fe3
coreos-cloudinit: bump to 0.10.4
2014-09-24 19:25:34 -07:00
Alex Crawford
c10bfc2f56
Merge pull request #240 from epankala/euca4_compat_fix
...
AWS: Eucalyptus 4.x compatibility fix
2014-09-24 10:55:39 -07:00
Janne Paenkaelae
2f954dcdc2
AWS: Eucalyptus 4.x compatibility fix
...
For Eucalyptus 4.0.1 requesting metadata seem to work differently as with EC2.
In Euca:
> curl http://169.254.169.254/2009-04-04
<?xml version="1.0"?><Response><Errors><Error><Code>404 Not Found</Code><Message>unknown</Message></Error></Errors><RequestID>unknown</RequestID></Response>core@localhost ~ $
> curl http://169.254.169.254/2009-04-04/
dynamic
meta-data
user-data
In AWS EC2
> curl http://169.254.169.254/2009-04-04
"" (zero bytes)
> curl http://169.254.169.254/2009-04-04/
dynamic
meta-data
user-data
As the isAvailable() function in metadata.go tests only for errorcode
it fails in Euca.
2014-09-24 20:33:29 +03:00
Alex Crawford
cdfc94f4e9
Merge pull request #234 from crawford/validate
...
config: explicitly specify fields and seperate config and application
2014-09-24 07:42:09 -07:00
Alex Crawford
18e2f98414
cloudconfig: refactor config
...
- Move CloudConfig into config package
- Add YAML tags to CloudConfig
2014-09-23 17:59:32 -07:00
Alex Crawford
4b472795c4
user: move User into config package
...
- Add YAML tags for the fields
2014-09-23 17:59:19 -07:00
Alex Crawford
85b8d804c8
file: refactor config
...
- Seperate the config from Permissions()
- Add YAML tags for the fields
2014-09-23 17:59:16 -07:00
Alex Crawford
1fbbaaec19
unit: refactor config
...
- Seperate the config from Destination()
- Add YAML tags for the fields
2014-09-23 17:58:32 -07:00
Alex Crawford
667dbd8fb7
update: refactor config
...
- Explicitly specify all of the valid options for Update
- Seperate the config from File() and Units()
- Add YAML tags for the fields
2014-09-23 17:57:43 -07:00
Alex Crawford
6730cb7227
oem: refactor the config
...
- Seperate the config from File()
- Add YAML tags for the fields
2014-09-23 16:08:23 -07:00
Alex Crawford
9454522033
fleet: refactor config
...
- Explicitly specify all of the valid options for fleet
- Seperate the config from Units()
- Add YAML tags for the fields
2014-09-23 16:07:53 -07:00
Alex Crawford
c255739a93
etcd: refactor config
...
- Explicitly specify all of the valid options for etcd
- Remove the default name generation (ETCD_NAME is set by its unit file now)
- Seperate the etcd config from Units()
- Remove support for DISCOVERY_URL
- Add YAML tags for the fields
2014-09-23 16:07:13 -07:00
Alex Crawford
2051cd3e1c
Merge pull request #238 from crawford/docs
...
docs: fix documentation of coreos.units.command
2014-09-23 11:33:44 -07:00
Alex Crawford
b52cb3fea3
docs: fix documentation of coreos.units.command
2014-09-23 11:32:15 -07:00
Alex Crawford
da5f85b3fb
coreos-cloudinit: bump to 0.10.3+git
2014-09-17 12:19:27 -07:00
Alex Crawford
9999178538
coreos-cloudinit: bump to 0.10.3
2014-09-17 12:19:13 -07:00
Alex Crawford
8f766e4666
Merge pull request #235 from crawford/routes
...
network: add support for CIDR addresses Debian routes
2014-09-17 12:18:16 -07:00
Alex Crawford
2d28d16c92
network: add support for CIDR addresses Debian routes
...
OnMetal is changing their template from:
`route add -net 1.2.3.0 netmask 255.255.255.0 gw 10.1.2.1 || true`
to:
`route add -net 1.2.3.0/24 gw 10.1.2.1 || true`
2014-09-16 17:36:34 -07:00
Alex Crawford
e9cd09dd7b
coreos-cloudinit: bump to 0.10.2+git
2014-09-14 08:19:57 -07:00
Alex Crawford
8370b30aa2
coreos-cloudinit: bump to 0.10.2
2014-09-14 08:19:33 -07:00
Alex Crawford
3e015cc3a1
Merge pull request #233 from crawford/configdrive
...
configdrive: don't fail if no network config was provided
2014-09-14 08:18:14 -07:00
Alex Crawford
a0fe6d0884
configdrive: return an empty network config when filename is empty
...
Additionally, don't bother checking for a network config if it isn't going to
be processed.
2014-09-13 21:51:51 -07:00
Alex Crawford
585ce5fcd9
Revert "metadata: don't fail if no network config was provided"
...
This reverts commit c1f373e648
.
2014-09-13 21:01:42 -07:00
Alex Crawford
72445796ca
coreos-cloudinit: bump to 0.10.1+git
2014-09-12 16:48:15 -07:00
Alex Crawford
7342d91a85
coreos-cloudinit: bump to 0.10.1
2014-09-12 16:47:58 -07:00
Alex Crawford
db1bc51c98
Merge pull request #231 from crawford/netconf
...
metadata: don't fail if no network config was provided
2014-09-12 16:35:24 -07:00
Alex Crawford
c1f373e648
metadata: don't fail if no network config was provided
2014-09-12 16:29:27 -07:00
Alex Crawford
db49a16002
coreos-cloudinit: bump to 0.10.0+git
2014-09-11 17:37:05 -07:00
Alex Crawford
a4a6c281d9
coreos-cloudinit: bump to 0.10.0
2014-09-11 17:36:38 -07:00
Alex Crawford
17f8733121
Merge pull request #228 from crawford/sub
...
env: add support for escaping environment substitutions
2014-09-11 15:34:03 -07:00
Alex Crawford
7dec922618
env: add support for escaping environment substitutions
2014-09-11 15:30:33 -07:00
Alex Crawford
54d3ae27af
Merge pull request #226 from crawford/oem
...
flags: add oem flag
2014-09-11 13:25:21 -07:00
Alex Crawford
ee2416af64
flags: move the flags into their own namespace
2014-09-11 12:00:17 -07:00
Alex Crawford
cda037f9a5
flags: add oem flag
...
The oem flag will allow each of the OEMs to specify one flag only, acting as a
shortcut to their specific configuration. This will allow us to update which
options each OEM uses when running cloudinit.
2014-09-11 12:00:17 -07:00
Alex Crawford
549806cf64
Merge pull request #227 from crawford/ipv6
...
metadata: add support for IPv6 variable substitution
2014-09-11 10:45:33 -07:00
Alex Crawford
56815a6756
metadata: add support for IPv6 variable substitution
2014-09-11 10:43:02 -07:00
Alex Crawford
24a6f7c49c
Merge pull request #225 from crawford/exit
...
userdata: change handling of bad userdata
2014-09-10 19:16:12 -07:00