Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
DCOS: added DC/OS post-installation step (#3066)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitsh authored and jackfrancis committed May 24, 2018
1 parent 5c5bba8 commit 6a02217
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions parts/dcos/bstrap/dcos1.11.0.customdata.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runcmd: PREPROVISION_EXTENSION
- systemctl stop --now unscd.service
- /opt/azure/containers/provision.sh
- bash /tmp/dcos/dcos_install.sh ROLENAME
- /opt/azure/dcos/postinstall-cond.sh
- bash /opt/azure/dcos/diagnostics_fix.sh
write_files:
- content: |
Expand Down Expand Up @@ -90,3 +91,9 @@ write_files:
path: /opt/azure/containers/provision.sh
permissions: "0744"
owner: "root"
- content: |
#!/bin/bash
if [ -f /opt/azure/dcos/postinstall.sh ]; then /opt/azure/dcos/postinstall.sh; fi
path: /opt/azure/dcos/postinstall-cond.sh
permissions: "0744"
owner: "root"
7 changes: 7 additions & 0 deletions parts/dcos/bstrap/dcos1.11.2.customdata.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runcmd: PREPROVISION_EXTENSION
- systemctl stop --now unscd.service
- /opt/azure/containers/provision.sh
- bash /tmp/dcos/dcos_install.sh ROLENAME
- /opt/azure/dcos/postinstall-cond.sh
write_files:
- content: |
[Service]
Expand Down Expand Up @@ -78,3 +79,9 @@ write_files:
path: /opt/azure/containers/provision.sh
permissions: "0744"
owner: "root"
- content: |
#!/bin/bash
if [ -f /opt/azure/dcos/postinstall.sh ]; then /opt/azure/dcos/postinstall.sh; fi
path: /opt/azure/dcos/postinstall-cond.sh
permissions: "0744"
owner: "root"

0 comments on commit 6a02217

Please sign in to comment.