Skip to content

Commit 105fdc1

Browse files
committed
ref(contrib/azure): remove --insecure-registry 0.0.0.0/0
This is not needed as of #2891.
1 parent 1830431 commit 105fdc1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

contrib/azure/create-azure-user-data

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ def main():
6464

6565
configuration["coreos"]["etcd"]["discovery"] = url
6666

67-
for config in configuration['write_files']:
68-
if "DOCKER_OPTS" in config['content']:
69-
config['content'] = '[Service]\nEnvironment="DOCKER_OPTS=--insecure-registry 0.0.0.0/0"\n'
70-
7167
with azure_user_data as outfile:
7268
try:
7369
outfile.write("#cloud-config\n\n" + yaml.dump(configuration, default_flow_style=False))

0 commit comments

Comments
 (0)