Skip to content

Commit 174ad54

Browse files
committed
fix(contrib): re-introduce data dir mapping for etcd
Fix what #4669 and #4444 broke
1 parent d4673ea commit 174ad54

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

contrib/aws/gen-json.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def coreos_amis(channel, version):
105105
# are started
106106
data['coreos']['units'] = new_units + data['coreos']['units']
107107

108+
# Point to the right data directory
109+
data['coreos']['etcd2']['data-dir'] = '/media/etcd'
110+
108111
header = ["#cloud-config", "---"]
109112
dump = yaml.dump(data, default_flow_style=False)
110113

0 commit comments

Comments
 (0)