Skip to content

Commit 51cffcd

Browse files
committed
Merge pull request #4669 from helgi/aws-disk
ref(contrib/aws): remove disk replacements that were forgotten in #4444
2 parents a6c1d40 + 0732edb commit 51cffcd

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

contrib/aws/gen-json.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ def coreos_amis(channel, version):
108108
header = ["#cloud-config", "---"]
109109
dump = yaml.dump(data, default_flow_style=False)
110110

111-
# configure etcd to use its EBS volume
112-
dump = dump.replace('ETCD_HOST_DATA_DIR=/var/lib/etcd2', 'ETCD_HOST_DATA_DIR=/media/etcd')
113-
114111
template = json.load(open(os.path.join(CURR_DIR, 'deis.template.json'), 'r'))
115112

116113
template['Resources']['CoreOSServerLaunchConfig']['Properties']['UserData']['Fn::Base64']['Fn::Join'] = ["\n", header + dump.split("\n")]

0 commit comments

Comments
 (0)