Skip to content

Commit d9ef023

Browse files
committed
Merge pull request #4722 from helgi/aws-data-dir
fix(contrib): re-introduce data dir mapping for etcd
2 parents 3eb277a + 174ad54 commit d9ef023

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)