From fc9c01f45af83b05b56a3f40d7e0b6951c7fd683 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 20 Apr 2016 21:23:08 +0200 Subject: [PATCH] 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 --- drivers/exoscale/exoscale.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/exoscale/exoscale.go b/drivers/exoscale/exoscale.go index f9540066f7..f51e296e0d 100644 --- a/drivers/exoscale/exoscale.go +++ b/drivers/exoscale/exoscale.go @@ -459,6 +459,6 @@ func (d *Driver) getCloudInit() (string, error) { } return `#cloud-config -manage_etc_hosts: true +manage_etc_hosts: localhost `, nil }