add script to add admin to docker group
@@ -118,6 +118,7 @@ runcmd:
- --no-block
- start
- dcos-setup.service
+- /opt/azure/containers/add_admin_to_docker_group.sh
write_files:
- content: 'https://dcosio.azureedge.net/dcos/stable
@@ -303,3 +304,9 @@ write_files:
content: 'ATTRIBUTES_STR'
permissions: "0644"
owner: "root"
+- content: |
+ #!/bin/bash
+ adduser {{{adminUsername}}} docker
+ path: "/opt/azure/containers/add_admin_to_docker_group.sh"
+ permissions: "0744"
+ owner: "root"
