exoscale: fix cloud-init file to be compatible with CoreOS

The cloud-init implementation in CoreOS is quite limited and will choke
on `manage_etc_hosts: true`. Use `manage_etc_hosts: localhost` instead
which is supported. This is also supported by the classic Python
cloud-init implementation and the result is quite similar.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
This commit is contained in:
Vincent Bernat 2016-04-20 21:23:08 +02:00
parent da39c9fbbe
commit fc9c01f45a
1 changed files with 1 additions and 1 deletions

View File

@ -459,6 +459,6 @@ func (d *Driver) getCloudInit() (string, error) {
}
return `#cloud-config
manage_etc_hosts: true
manage_etc_hosts: localhost
`, nil
}