From def4b92e5a04c75dd858685d450f547f9fefa16d Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Tue, 28 Feb 2017 17:24:56 -0500 Subject: [PATCH 01/12] Add support for DCOS 1.9 --- examples/dcos-versions/dcos1.9.0.json | 41 +++ parts/dcoscustomdata190.t | 345 ++++++++++++++++++++++++++ pkg/acsengine/engine.go | 24 +- pkg/acsengine/types.go | 1 + pkg/api/const.go | 4 +- pkg/api/vlabs/const.go | 2 + pkg/api/vlabs/validate.go | 4 + 7 files changed, 417 insertions(+), 4 deletions(-) create mode 100644 examples/dcos-versions/dcos1.9.0.json create mode 100644 parts/dcoscustomdata190.t diff --git a/examples/dcos-versions/dcos1.9.0.json b/examples/dcos-versions/dcos1.9.0.json new file mode 100644 index 0000000000..11daa4c0aa --- /dev/null +++ b/examples/dcos-versions/dcos1.9.0.json @@ -0,0 +1,41 @@ +{ + "apiVersion": "vlabs", + "properties": { + "orchestratorProfile": { + "orchestratorType": "DCOS190" + }, + "masterProfile": { + "count": 3, + "dnsPrefix": "", + "vmSize": "Standard_D2_v2" + }, + "agentPoolProfiles": [ + { + "name": "agentprivate", + "count": 3, + "vmSize": "Standard_D2_v2" + }, + { + "name": "agentpublic", + "count": 3, + "vmSize": "Standard_D2_v2", + "dnsPrefix": "", + "ports": [ + 80, + 443, + 8080 + ] + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "" + } + ] + } + } + } +} diff --git a/parts/dcoscustomdata190.t b/parts/dcoscustomdata190.t new file mode 100644 index 0000000000..64b48cdfc1 --- /dev/null +++ b/parts/dcoscustomdata190.t @@ -0,0 +1,345 @@ +bootcmd: +- bash -c "if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel + gpt;touch /var/lib/sdb-gpt;fi" +disk_setup: + ephemeral0: + layout: + - 50 + - 50 + overwrite: true + table_type: gpt +fs_setup: +- device: ephemeral0.1 + filesystem: ext4 + overwrite: true +- device: ephemeral0.2 + filesystem: ext4 + overwrite: true +mounts: +- - ephemeral0.1 + - /var/lib/mesos +- - ephemeral0.2 + - /var/lib/docker +runcmd: +- - ln + - -s + - /bin/rm + - /usr/bin/rm +- - ln + - -s + - /bin/mkdir + - /usr/bin/mkdir +- - ln + - -s + - /bin/tar + - /usr/bin/tar +- - ln + - -s + - /bin/ln + - /usr/bin/ln +- - ln + - -s + - /bin/cp + - /usr/bin/cp +- - ln + - -s + - /bin/systemctl + - /usr/bin/systemctl +- - ln + - -s + - /bin/mount + - /usr/bin/mount +- - ln + - -s + - /bin/bash + - /usr/bin/bash +- - ln + - -s + - /usr/sbin/useradd + - /usr/bin/useradd +- - systemctl + - disable + - --now + - resolvconf.service +- - systemctl + - mask + - --now + - lxc-net.service +- /opt/azure/containers/provision.sh +- - cp + - -p + - /etc/resolv.conf + - /tmp/resolv.conf +- - rm + - -f + - /etc/resolv.conf +- - cp + - -p + - /tmp/resolv.conf + - /etc/resolv.conf +- - systemctl + - start + - dcos-docker-install.service +- - systemctl + - start + - dcos-config-writer.service +- - systemctl + - restart + - systemd-journald.service +- - systemctl + - restart + - docker.service +- - systemctl + - start + - dcos-link-env.service +- - systemctl + - enable + - dcos-setup.service +- - systemctl + - --no-block + - start + - dcos-setup.service +write_files: +- content: 'https://dcosio.azureedge.net/dcos/EarlyAccess + + ' + owner: root + path: /etc/mesosphere/setup-flags/repository-url + permissions: '0644' +- content: 'DCOS_ENVIRONMENT={{{targetEnvironment}}} + + ' + owner: root + path: /etc/mesosphere/setup-flags/dcos-deploy-environment + permissions: '0644' +- content: '["dcos-config--setup_DCOSGUID", "dcos-metadata--setup_DCOSGUID"] + + ' + owner: root + path: /etc/mesosphere/setup-flags/cluster-packages.json + permissions: '0644' +- content: '[Journal] + + MaxLevelConsole=warning + + RateLimitInterval=1s + + RateLimitBurst=20000 + + ' + owner: root + path: /etc/systemd/journald.conf.d/dcos.conf + permissions: '0644' +- content: "rexray:\n loglevel: info\n modules:\n default-admin:\n host:\ + \ tcp://127.0.0.1:61003\n default-docker:\n disabled: true\n" + path: /etc/rexray/config.yml + permissions: '0644' +- content: '[Unit] + + After=network-online.target + + Wants=network-online.target + + [Service] + + Type=oneshot + + Environment=DEBIAN_FRONTEND=noninteractive + + StandardOutput=journal+console + + StandardError=journal+console + + ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /var/lib/mesos/dl/d.deb || ((try>9));do + echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl + restart docker.socket" + + ' + path: /etc/systemd/system/dcos-docker-install.service + permissions: '0644' +- content: '[Service] + + Restart=always + + StartLimitInterval=0 + + RestartSec=15 + + ExecStartPre=-/sbin/ip link del docker0 + + ExecStart= + + ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay + + ' + path: /etc/systemd/system/docker.service.d/execstart.conf + permissions: '0644' +- content: '[Unit] + + PartOf=docker.service + + [Socket] + + ListenStream=/var/run/docker.sock + + SocketMode=0660 + + SocketUser=root + + SocketGroup=docker + + ListenStream=2375 + + BindIPv6Only=both + + [Install] + + WantedBy=sockets.target + + ' + path: /etc/systemd/system/docker.socket + permissions: '0644' +- content: '[Unit] + + Requires=dcos-setup.service + + After=dcos-setup.service + + [Service] + + Type=oneshot + + EnvironmentFile=/etc/environment + + EnvironmentFile=/opt/mesosphere/environment + + ExecStart=/usr/bin/bash -c "echo $(detect_ip) $(hostname) > /etc/hosts" + + ' + path: /etc/systemd/system/dcos-config-writer.service + permissions: '0644' +- content: 'MESOS_CLUSTER={{{masterPublicIPAddressName}}} + + ' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/mesos-master-provider +- content: 'ADMINROUTER_ACTIVATE_AUTH_MODULE={{{oauthEnabled}}} + + ' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/adminrouter.env +- content: '["'', DCOSCUSTOMDATAPUBLICIPSTR''"] + + ' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/master_list +- content: 'EXHIBITOR_BACKEND=AZURE + + AZURE_CONTAINER=dcos-exhibitor + + AZURE_PREFIX={{{masterPublicIPAddressName}}} + + ' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor +- content: 'com.netflix.exhibitor.azure.account-name={{{masterStorageAccountExhibitorName}}} + + com.netflix.exhibitor.azure.account-key='', listKeys(resourceId(''Microsoft.Storage/storageAccounts'', + variables(''masterStorageAccountExhibitorName'')), ''2015-06-15'').key1,'' + + ' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor.properties +- content: '{"uiConfiguration":{"plugins":{"banner":{"enabled":false,"backgroundColor":"#1E232F","foregroundColor":"#FFFFFF","headerTitle":null,"headerContent":null,"footerContent":null,"imagePath":null,"dismissible":null},"branding":{"enabled":false},"external-links": + {"enabled": false}, + + + "authentication":{"enabled":false}, + + + "oauth":{"enabled":{{{oauthEnabled}}},"authHost":"https://dcos.auth0.com"}, + + + + "tracking":{"enabled":false}}}} + + ' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/ui-config.json +- content: '{}' + path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/pkginfo.json +- content: '[Unit] + + Before=dcos.target + + [Service] + + Type=oneshot + + StandardOutput=journal+console + + StandardError=journal+console + + ExecStartPre=/usr/bin/mkdir -p /etc/profile.d + + ExecStart=/usr/bin/ln -sf /opt/mesosphere/environment.export /etc/profile.d/dcos.sh + + ' + path: /etc/systemd/system/dcos-link-env.service + permissions: '0644' +- content: '[Unit] + + Description=Pkgpanda: Download DC/OS to this host. + + After=network-online.target + + Wants=network-online.target + + ConditionPathExists=!/opt/mesosphere/ + + [Service] + + Type=oneshot + + StandardOutput=journal+console + + StandardError=journal+console + + ExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o /var/lib/mesos/dl/bootstrap.tar.xz {{{dcosBootstrapURL}}} + + ExecStartPre=/usr/bin/mkdir -p /opt/mesosphere + + ExecStart=/usr/bin/tar -axf /var/lib/mesos/dl/bootstrap.tar.xz -C /opt/mesosphere + + ExecStartPost=-/usr/bin/rm -f /var/lib/mesos/dl/bootstrap.tar.xz + + ' + path: /etc/systemd/system/dcos-download.service + permissions: '0644' +- content: '[Unit] + + Description=Pkgpanda: Specialize DC/OS for this host. + + Requires=dcos-download.service + + After=dcos-download.service + + [Service] + + Type=oneshot + + StandardOutput=journal+console + + StandardError=journal+console + + EnvironmentFile=/opt/mesosphere/environment + + ExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd + + [Install] + + WantedBy=multi-user.target + + ' + path: /etc/systemd/system/dcos-setup.service + permissions: '0644' +- content: '' + path: /etc/mesosphere/roles/azure +- content: 'PROVISION_STR' + path: "/opt/azure/containers/provision.sh" + permissions: "0744" + owner: "root" diff --git a/pkg/acsengine/engine.go b/pkg/acsengine/engine.go index 0cb97673fa..ca368faec3 100644 --- a/pkg/acsengine/engine.go +++ b/pkg/acsengine/engine.go @@ -30,6 +30,7 @@ const ( dcosCustomData184 = "dcoscustomdata184.t" dcosCustomData187 = "dcoscustomdata187.t" dcosCustomData188 = "dcoscustomdata188.t" + dcosCustomData190 = "dcoscustomdata190.t" dcosProvision = "dcosprovision.sh" ) @@ -270,6 +271,7 @@ func prepareTemplateFiles(properties *api.Properties) ([]string, string, error) var files []string var baseFile string if properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || + properties.OrchestratorProfile.OrchestratorType == api.DCOS190 || properties.OrchestratorProfile.OrchestratorType == api.DCOS187 || properties.OrchestratorProfile.OrchestratorType == api.DCOS184 || properties.OrchestratorProfile.OrchestratorType == api.DCOS173 { @@ -449,6 +451,9 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s "IsDCOS188": func() bool { return properties.OrchestratorProfile.OrchestratorType == api.DCOS188 }, + "IsDCOS190": func() bool { + return properties.OrchestratorProfile.OrchestratorType == api.DCOS190 + }, "RequiresFakeAgentOutput": func() bool { return properties.OrchestratorProfile.OrchestratorType == api.Kubernetes }, @@ -497,7 +502,8 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s "GetMasterAllowedSizes": func() string { if t.ClassicMode { return GetClassicAllowedSizes() - } else if properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || + } else if properties.OrchestratorProfile.OrchestratorType == api.DCOS190 || + properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || properties.OrchestratorProfile.OrchestratorType == api.DCOS187 || properties.OrchestratorProfile.OrchestratorType == api.DCOS184 || properties.OrchestratorProfile.OrchestratorType == api.DCOS173 { @@ -651,7 +657,16 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s } func getPackageGUID(orchestratorType api.OrchestratorType, masterCount int) string { - if orchestratorType == api.DCOS188 { + if OrchestratorType == api.DCOS190 { + switch masterCount { + case 1: + return "9ec227f903ef766796e2ded5b8a30333d4b75a9a" + case 3: + return "9efcfe7234eff538a97cfb03c0eb94b27a442401" + case 5: + return "6cbdd2b83ae63fb7d660dba19fd8e4492005b172" + } + } else if orchestratorType == api.DCOS188 { switch masterCount { case 1: return "441385ce2f5942df7e29075c12fb38fa5e92cbba" @@ -695,7 +710,8 @@ func getDCOSCustomDataPublicIPStr(orchestratorType api.OrchestratorType, masterC if orchestratorType == api.DCOS173 || orchestratorType == api.DCOS184 || orchestratorType == api.DCOS187 || - orchestratorType == api.DCOS188 { + orchestratorType == api.DCOS188 || + OrchestratorType == api.DCOS190 { var buf bytes.Buffer for i := 0; i < masterCount; i++ { buf.WriteString(fmt.Sprintf("reference(variables('masterVMNic')[%d]).ipConfigurations[0].properties.privateIPAddress,", i)) @@ -996,6 +1012,8 @@ touch /etc/mesosphere/roles/azure_master` func getSingleLineDCOSCustomData(orchestratorType api.OrchestratorType, masterCount int, provisionContent string) string { yamlFilename := "" switch orchestratorType { + case api.DCOS190: + yamlFilename = dcosCustomData190 case api.DCOS188: yamlFilename = dcosCustomData188 case api.DCOS187: diff --git a/pkg/acsengine/types.go b/pkg/acsengine/types.go index a2754c7ce5..19c336734f 100644 --- a/pkg/acsengine/types.go +++ b/pkg/acsengine/types.go @@ -31,6 +31,7 @@ type DCOSSpecConfig struct { DCOS184_BootstrapDownloadURL string DCOS187_BootstrapDownloadURL string DCOS188_BootstrapDownloadURL string + DCOS190_BootstrapDownloadURL string } //KubernetesSpecConfig is the kubernetes container images used. diff --git a/pkg/api/const.go b/pkg/api/const.go index 8751ebc84c..4192aec61c 100644 --- a/pkg/api/const.go +++ b/pkg/api/const.go @@ -6,7 +6,9 @@ const ( Mesos OrchestratorType = "Mesos" // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188 DCOS OrchestratorType = "DCOS" - // DCOS187 is the string constant for DCOS 1.8.8 orchestrator type + // DCOS190 is the string constant for DCOS 1.8.8 orchestrator type + DCOS190 OrchestratorType = "DCOS190" + // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type DCOS188 OrchestratorType = "DCOS188" // DCOS187 is the string constant for DCOS 1.8.7 orchestrator type DCOS187 OrchestratorType = "DCOS187" diff --git a/pkg/api/vlabs/const.go b/pkg/api/vlabs/const.go index 0b17da4bd6..e43258d655 100644 --- a/pkg/api/vlabs/const.go +++ b/pkg/api/vlabs/const.go @@ -9,6 +9,8 @@ const ( const ( // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188 DCOS = "DCOS" + // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type + DCOS190 OrchestratorType = "DCOS190" // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type DCOS188 OrchestratorType = "DCOS188" // DCOS187 is the string constant for DCOS 1.8.7 orchestrator type diff --git a/pkg/api/vlabs/validate.go b/pkg/api/vlabs/validate.go index 69c1ac1a2a..678f643aca 100644 --- a/pkg/api/vlabs/validate.go +++ b/pkg/api/vlabs/validate.go @@ -12,6 +12,7 @@ import ( func (o *OrchestratorProfile) Validate() error { switch o.OrchestratorType { case DCOS: + case DCOS190: case DCOS188: case DCOS187: case DCOS184: @@ -167,6 +168,7 @@ func (a *Properties) Validate() error { case DCOS184: case DCOS187: case DCOS188: + case DCOS190: case Swarm: default: return fmt.Errorf("StorageAccountClassic is not supported in MasterProfile for Orchestrator %s \n", a.OrchestratorProfile.OrchestratorType) @@ -193,6 +195,7 @@ func (a *Properties) Validate() error { case DCOS184: case DCOS187: case DCOS188: + case DCOS190: case Swarm: case SwarmMode: default: @@ -207,6 +210,7 @@ func (a *Properties) Validate() error { case DCOS184: case DCOS187: case DCOS188: + case DCOS190: case Swarm: default: return fmt.Errorf("StorageAccountClassic is not supported in agentPoolProfile for Orchestrator %s \n", a.OrchestratorProfile.OrchestratorType) From 27a35b090befd7908cb5a6b2c41d7e3fb7deed18 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Fri, 3 Mar 2017 18:09:08 -0500 Subject: [PATCH 02/12] update DCOS 1.9 custom data and add doc for contrib. --- docs/contributing-dcos.md | 74 ++++++++++ parts/dcoscustomdata190.t | 280 +++++++++++++++---------------------- parts/dcosprovision.sh | 3 + pkg/acsengine/defaults.go | 1 + pkg/acsengine/engine.go | 20 +-- pkg/acsengine/templates.go | 25 +++- 6 files changed, 228 insertions(+), 175 deletions(-) create mode 100644 docs/contributing-dcos.md diff --git a/docs/contributing-dcos.md b/docs/contributing-dcos.md new file mode 100644 index 0000000000..015c378b31 --- /dev/null +++ b/docs/contributing-dcos.md @@ -0,0 +1,74 @@ +# Porting a new DC/OS version to ACS-Engine + +## 1. Locate the official ARM Template + +Go to `https://dcos.io/docs/X.X/administration/installing/cloud/azure/`, where `X.X` should be replaced by the version you are looking to port. +In the documentation, you will the link to the ARM templates you are looking for. +The latest stable templates should be at `https://downloads.dcos.io/dcos/stable/azure.html` +Early Access at: `https://downloads.dcos.io/dcos/EarlyAccess/azure.html` +Etc. + +## 2. Find the package GUIDs + +Following the previous step, you should now have 3 ARM templates (1, 3 and 5 masters variants). +We now need to find the package GUID of each variant. +In each template you should find a string that looks like: `dcos-config--setup_`, this GUID is what we are looking for. +Extract the GUIDs from the 3 differents templates, and them in `engine.go/getPackageGUID` for your specific DC/OS version. + + +## 3. Extract the cloud-config data from the template + +In one of the template (no matter which one), grab the data from the MasterVM.osProfile.customData. +If you remove the concat operation, you should end up which a big string of unescaped JSON. +Escape it (for example using this [online tool](http://www.freeformatter.com/javascript-escape.html#ad-output)), and convert it to yaml (you can use [json2yaml](https://www.json2yaml.com/)). +You should now have a clean yaml. + +## 4. Create and customize the custom data file. + +under the `parts` directory, create a new file called `dcoscustomdataXXX.t` replacing `XXX` by the correct version number. +Paste the yaml from the previous step inside. + +In the new file, under the `runcmd` section you should find 4 sucessive `curl` calls downloading some `.deb` packages followed by a bash script installing each one of them. This is handled by `parts\dcosprovision.sh` in ACS-Engine, so make sure the dependencies didn't change and replace the `curl` and `bash` calls by a link to the script. + +For example, in DC/OS 1.9: +```yaml +- curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/1.deb https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb +- curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/2.deb https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb +- curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/3.deb https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb +- curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/4.deb https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb +- sed -i "s/^Port 22$/Port 22\nPort 2222/1" /etc/ssh/sshd_config +- service ssh restart +- bash -c "try=1;until dpkg -i /var/tmp/{1,2,3,4}.deb || ((try>9));do echo retry \$((try++));sleep + \$((try*try));done" +``` + +becomes + +```yaml +- /opt/azure/containers/provision.sh +``` + +Additional modifications under `runcmd`: +* the `content` of the cmd with path `/etc/mesosphere/setup-flags/cluster-packages.json` becomes `'DCOS_ENVIRONMENT={{{targetEnvironment}}}'` +* Replace every occurence of the Package GUID (that we found in step 2) by `DCOSGUID`. +* the `content` of the cmd with path `/etc/mesosphere/setup-flags/late-config.yaml` should be modified to accept ACS-Engine bindings instead of variable where needed (look at a previous custom data file for reference). +* At the very end of the file, replace +```yaml +- content: '' + path: "/etc/mesosphere/roles/master" +- content: '' + path: "/etc/mesosphere/roles/azure_master" +- content: '' + path: "/etc/mesosphere/roles/azure" +``` + +by + +```yaml +- content: '' + path: /etc/mesosphere/roles/azure +- content: 'PROVISION_STR' + path: "/opt/azure/containers/provision.sh" + permissions: "0744" + owner: "root" +``` \ No newline at end of file diff --git a/parts/dcoscustomdata190.t b/parts/dcoscustomdata190.t index 64b48cdfc1..255df09e51 100644 --- a/parts/dcoscustomdata190.t +++ b/parts/dcoscustomdata190.t @@ -4,8 +4,9 @@ bootcmd: disk_setup: ephemeral0: layout: - - 50 - - 50 + - 45 + - 45 + - 10 overwrite: true table_type: gpt fs_setup: @@ -15,68 +16,73 @@ fs_setup: - device: ephemeral0.2 filesystem: ext4 overwrite: true +- device: ephemeral0.3 + filesystem: ext4 + overwrite: true mounts: - - ephemeral0.1 - - /var/lib/mesos + - "/var/lib/mesos" - - ephemeral0.2 - - /var/lib/docker + - "/var/lib/docker" +- - ephemeral0.3 + - "/var/tmp" runcmd: - - ln - - -s - - /bin/rm - - /usr/bin/rm + - "-s" + - "/bin/rm" + - "/usr/bin/rm" - - ln - - -s - - /bin/mkdir - - /usr/bin/mkdir + - "-s" + - "/bin/mkdir" + - "/usr/bin/mkdir" - - ln - - -s - - /bin/tar - - /usr/bin/tar + - "-s" + - "/bin/tar" + - "/usr/bin/tar" - - ln - - -s - - /bin/ln - - /usr/bin/ln + - "-s" + - "/bin/ln" + - "/usr/bin/ln" - - ln - - -s - - /bin/cp - - /usr/bin/cp + - "-s" + - "/bin/cp" + - "/usr/bin/cp" - - ln - - -s - - /bin/systemctl - - /usr/bin/systemctl + - "-s" + - "/bin/systemctl" + - "/usr/bin/systemctl" - - ln - - -s - - /bin/mount - - /usr/bin/mount + - "-s" + - "/bin/mount" + - "/usr/bin/mount" - - ln - - -s - - /bin/bash - - /usr/bin/bash + - "-s" + - "/bin/bash" + - "/usr/bin/bash" - - ln - - -s - - /usr/sbin/useradd - - /usr/bin/useradd + - "-s" + - "/usr/sbin/useradd" + - "/usr/bin/useradd" - - systemctl - disable - - --now + - "--now" - resolvconf.service - - systemctl - mask - - --now + - "--now" - lxc-net.service - /opt/azure/containers/provision.sh - - cp - - -p - - /etc/resolv.conf - - /tmp/resolv.conf + - "-p" + - "/etc/resolv.conf" + - "/tmp/resolv.conf" - - rm - - -f - - /etc/resolv.conf + - "-f" + - "/etc/resolv.conf" - - cp - - -p - - /tmp/resolv.conf - - /etc/resolv.conf + - "-p" + - "/tmp/resolv.conf" + - "/etc/resolv.conf" - - systemctl - start - dcos-docker-install.service @@ -96,15 +102,15 @@ runcmd: - enable - dcos-setup.service - - systemctl - - --no-block + - "--no-block" - start - dcos-setup.service write_files: - content: 'https://dcosio.azureedge.net/dcos/EarlyAccess - ' +' owner: root - path: /etc/mesosphere/setup-flags/repository-url + path: "/etc/mesosphere/setup-flags/repository-url" permissions: '0644' - content: 'DCOS_ENVIRONMENT={{{targetEnvironment}}} @@ -112,230 +118,172 @@ write_files: owner: root path: /etc/mesosphere/setup-flags/dcos-deploy-environment permissions: '0644' -- content: '["dcos-config--setup_DCOSGUID", "dcos-metadata--setup_DCOSGUID"] - - ' +- content: '["3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb", "adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e", + "avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d", "boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec", + "bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3", "boto--6344d31eef082c7bd13259b17034ea7b5c34aedf", + "check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d", "cni--e48337da39a8cd379414acfe0da52a9226a10d24", + "cosmos--93d021389b92d4c08c7e2236da510da69b1c632f", "curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e", + "dcos-config--setup_DCOSGUID", "dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46", + "dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6", "dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a", + "dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441", "dcos-log--b542bb89a5af9642e04df35869beee4ce253e535", + "dcos-metadata--setup_DCOSGUID", "dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0", + "dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52", "dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc", + "dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62", "dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a", + "docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528", "dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3", + "erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d", "exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed", + "flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21", "java--cd5e921ce66b0d3303883c06d73a657314044304", + "libevent--208be855d2be29c9271a7bd6c04723ff79946e02", "libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8", + "logrotate--faf6c640a994ac549afe734e05d322ab9052448b", "marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d", + "mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197", "mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242", + "mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7", "metronome--4328a268b5139ab5bc2e942b28d748d6815763b5", + "navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060", "ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb", + "octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac", "openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82", + "pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc", "pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4", + "pytest--78aee3e58a049cdab0d266af74f77d658b360b4f", "python--b7a144a49577a223d37d447c568f51330ee95390", + "python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e", "python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781", + "python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65", "python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60", + "python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5", "python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed", + "python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd", "python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e", + "python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8", "python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3", + "python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d", "python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3", + "python-tox--07244f8a939a10353634c952c6d88ec4a3c05736", "rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa", + "six--f06424b68523c4dfa2a7c3e7475d479f3d361e42", "spartan--58a5611725de935357a0d96b2caef838ebc99b79", + "strace--7d01796d64994451c1b2b82d161a335cbe90569b", "teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962", + "toybox--f235594ab8ea9a2864ee72abe86723d76f92e848"] + +' owner: root - path: /etc/mesosphere/setup-flags/cluster-packages.json + path: "/etc/mesosphere/setup-flags/cluster-packages.json" permissions: '0644' - content: '[Journal] - MaxLevelConsole=warning - RateLimitInterval=1s - RateLimitBurst=20000 ' owner: root - path: /etc/systemd/journald.conf.d/dcos.conf + path: "/etc/systemd/journald.conf.d/dcos.conf" permissions: '0644' - content: "rexray:\n loglevel: info\n modules:\n default-admin:\n host:\ \ tcp://127.0.0.1:61003\n default-docker:\n disabled: true\n" path: /etc/rexray/config.yml permissions: '0644' - content: '[Unit] - After=network-online.target - Wants=network-online.target - [Service] - Type=oneshot - Environment=DEBIAN_FRONTEND=noninteractive - StandardOutput=journal+console - StandardError=journal+console - - ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /var/lib/mesos/dl/d.deb || ((try>9));do - echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl - restart docker.socket" + ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb + ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try>9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket" ' - path: /etc/systemd/system/dcos-docker-install.service + path: "/etc/systemd/system/dcos-docker-install.service" permissions: '0644' - content: '[Service] - Restart=always - StartLimitInterval=0 - RestartSec=15 - + LimitNOFILE=16384 ExecStartPre=-/sbin/ip link del docker0 - ExecStart= - ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay ' - path: /etc/systemd/system/docker.service.d/execstart.conf + path: "/etc/systemd/system/docker.service.d/execstart.conf" permissions: '0644' - content: '[Unit] - PartOf=docker.service - [Socket] - ListenStream=/var/run/docker.sock - SocketMode=0660 - SocketUser=root - SocketGroup=docker - ListenStream=2375 - BindIPv6Only=both - [Install] - WantedBy=sockets.target ' - path: /etc/systemd/system/docker.socket + path: "/etc/systemd/system/docker.socket" permissions: '0644' - content: '[Unit] - Requires=dcos-setup.service - After=dcos-setup.service - [Service] - Type=oneshot - EnvironmentFile=/etc/environment - EnvironmentFile=/opt/mesosphere/environment - ExecStart=/usr/bin/bash -c "echo $(detect_ip) $(hostname) > /etc/hosts" ' - path: /etc/systemd/system/dcos-config-writer.service + path: "/etc/systemd/system/dcos-config-writer.service" permissions: '0644' -- content: 'MESOS_CLUSTER={{{masterPublicIPAddressName}}} - - ' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/mesos-master-provider -- content: 'ADMINROUTER_ACTIVATE_AUTH_MODULE={{{oauthEnabled}}} - - ' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/adminrouter.env -- content: '["'', DCOSCUSTOMDATAPUBLICIPSTR''"] - - ' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/master_list -- content: 'EXHIBITOR_BACKEND=AZURE - - AZURE_CONTAINER=dcos-exhibitor - - AZURE_PREFIX={{{masterPublicIPAddressName}}} - - ' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor -- content: 'com.netflix.exhibitor.azure.account-name={{{masterStorageAccountExhibitorName}}} - - com.netflix.exhibitor.azure.account-key='', listKeys(resourceId(''Microsoft.Storage/storageAccounts'', - variables(''masterStorageAccountExhibitorName'')), ''2015-06-15'').key1,'' - - ' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor.properties -- content: '{"uiConfiguration":{"plugins":{"banner":{"enabled":false,"backgroundColor":"#1E232F","foregroundColor":"#FFFFFF","headerTitle":null,"headerContent":null,"footerContent":null,"imagePath":null,"dismissible":null},"branding":{"enabled":false},"external-links": - {"enabled": false}, - - - "authentication":{"enabled":false}, - +- content: '"bound_values": + "adminrouter_auth_enabled": {{{oauthEnabled}}} - "oauth":{"enabled":{{{oauthEnabled}}},"authHost":"https://dcos.auth0.com"}, + "cluster_name": {{{masterPublicIPAddressName}}} + "exhibitor_azure_account_key":'', listKeys(resourceId(''Microsoft.Storage/storageAccounts'', variables(''masterStorageAccountExhibitorName'')), ''2015-06-15'').key1, '' + + "exhibitor_azure_account_name": {{{masterStorageAccountExhibitorName}}} + "exhibitor_azure_prefix": {{{masterPublicIPAddressName}}} - "tracking":{"enabled":false}}}} + "master_list": ["'', DCOSCUSTOMDATAPUBLICIPSTR''"] + + "oauth_enabled": {{{oauthEnabled}}} - ' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/ui-config.json -- content: '{}' - path: /etc/mesosphere/setup-packages/dcos-provider-azure--setup/pkginfo.json + "late_bound_package_id": dcos-provider-DCOSGUID-azure--setup' + owner: root + path: "/etc/mesosphere/setup-flags/late-config.yaml" + permissions: '0644' - content: '[Unit] - Before=dcos.target - [Service] - Type=oneshot - StandardOutput=journal+console - StandardError=journal+console - ExecStartPre=/usr/bin/mkdir -p /etc/profile.d - - ExecStart=/usr/bin/ln -sf /opt/mesosphere/environment.export /etc/profile.d/dcos.sh + ExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh ' - path: /etc/systemd/system/dcos-link-env.service + path: "/etc/systemd/system/dcos-link-env.service" permissions: '0644' - content: '[Unit] - Description=Pkgpanda: Download DC/OS to this host. - After=network-online.target - Wants=network-online.target - ConditionPathExists=!/opt/mesosphere/ - [Service] - Type=oneshot - StandardOutput=journal+console - StandardError=journal+console - - ExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o /var/lib/mesos/dl/bootstrap.tar.xz {{{dcosBootstrapURL}}} - + ExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz ExecStartPre=/usr/bin/mkdir -p /opt/mesosphere - - ExecStart=/usr/bin/tar -axf /var/lib/mesos/dl/bootstrap.tar.xz -C /opt/mesosphere - - ExecStartPost=-/usr/bin/rm -f /var/lib/mesos/dl/bootstrap.tar.xz + ExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere + ExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz ' - path: /etc/systemd/system/dcos-download.service + path: "/etc/systemd/system/dcos-download.service" permissions: '0644' - content: '[Unit] - Description=Pkgpanda: Specialize DC/OS for this host. - Requires=dcos-download.service - After=dcos-download.service - [Service] - Type=oneshot - StandardOutput=journal+console - StandardError=journal+console - EnvironmentFile=/opt/mesosphere/environment - ExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd - [Install] - WantedBy=multi-user.target ' - path: /etc/systemd/system/dcos-setup.service + path: "/etc/systemd/system/dcos-setup.service" permissions: '0644' - content: '' path: /etc/mesosphere/roles/azure diff --git a/parts/dcosprovision.sh b/parts/dcosprovision.sh index 33cfef58ed..da717c196a 100644 --- a/parts/dcosprovision.sh +++ b/parts/dcosprovision.sh @@ -31,6 +31,9 @@ curl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL & curl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL & wait +sed -i "s/^Port 22$/Port 22\nPort 2222/1" /etc/ssh/sshd_config +service ssh restart + for i in {1..300}; do dpkg -i $MESOSDIR/{1,2,3,4}.deb if [ "$?" = "0" ] diff --git a/pkg/acsengine/defaults.go b/pkg/acsengine/defaults.go index 01c49c1551..dd5cf32ef8 100644 --- a/pkg/acsengine/defaults.go +++ b/pkg/acsengine/defaults.go @@ -20,6 +20,7 @@ var ( DCOS184_BootstrapDownloadURL: fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, "testing", "5b4aa43610c57ee1d60b4aa0751a1fb75824c083"), DCOS187_BootstrapDownloadURL: fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, "stable", "e73ba2b1cd17795e4dcb3d6647d11a29b9c35084"), DCOS188_BootstrapDownloadURL: fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, "stable", "5df43052907c021eeb5de145419a3da1898c58a5"), + DCOS190_BootstrapDownloadURL: fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, "EarlyAccess", "1bdc9e5f7863c6ead141be2f268cb231ad6c1049"), }, } diff --git a/pkg/acsengine/engine.go b/pkg/acsengine/engine.go index ca368faec3..44e87ce4a0 100644 --- a/pkg/acsengine/engine.go +++ b/pkg/acsengine/engine.go @@ -271,7 +271,7 @@ func prepareTemplateFiles(properties *api.Properties) ([]string, string, error) var files []string var baseFile string if properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || - properties.OrchestratorProfile.OrchestratorType == api.DCOS190 || + properties.OrchestratorProfile.OrchestratorType == api.DCOS190 || properties.OrchestratorProfile.OrchestratorType == api.DCOS187 || properties.OrchestratorProfile.OrchestratorType == api.DCOS184 || properties.OrchestratorProfile.OrchestratorType == api.DCOS173 { @@ -369,6 +369,10 @@ func getParameters(cs *api.ContainerService, isClassicMode bool) (map[string]int dcosBootstrapURL = cloudSpecConfig.DCOSSpecConfig.DCOS184_BootstrapDownloadURL case api.DCOS187: dcosBootstrapURL = cloudSpecConfig.DCOSSpecConfig.DCOS187_BootstrapDownloadURL + case api.DCOS188: + dcosBootstrapURL = cloudSpecConfig.DCOSSpecConfig.DCOS188_BootstrapDownloadURL + case api.DCOS190: + dcosBootstrapURL = cloudSpecConfig.DCOSSpecConfig.DCOS190_BootstrapDownloadURL } addValue(parametersMap, "dcosBootstrapURL", dcosBootstrapURL) } @@ -503,7 +507,7 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s if t.ClassicMode { return GetClassicAllowedSizes() } else if properties.OrchestratorProfile.OrchestratorType == api.DCOS190 || - properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || + properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || properties.OrchestratorProfile.OrchestratorType == api.DCOS187 || properties.OrchestratorProfile.OrchestratorType == api.DCOS184 || properties.OrchestratorProfile.OrchestratorType == api.DCOS173 { @@ -657,14 +661,14 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s } func getPackageGUID(orchestratorType api.OrchestratorType, masterCount int) string { - if OrchestratorType == api.DCOS190 { + if orchestratorType == api.DCOS190 { switch masterCount { case 1: - return "9ec227f903ef766796e2ded5b8a30333d4b75a9a" + return "184a00ac1c03d69224966ea84859b1a752779571" case 3: - return "9efcfe7234eff538a97cfb03c0eb94b27a442401" + return "e086b496175152c4aa7c5ec52954933d785c8a4a" case 5: - return "6cbdd2b83ae63fb7d660dba19fd8e4492005b172" + return "082a0a039f562c8d4ab324de2da9647debbc7b2c" } } else if orchestratorType == api.DCOS188 { switch masterCount { @@ -710,8 +714,8 @@ func getDCOSCustomDataPublicIPStr(orchestratorType api.OrchestratorType, masterC if orchestratorType == api.DCOS173 || orchestratorType == api.DCOS184 || orchestratorType == api.DCOS187 || - orchestratorType == api.DCOS188 || - OrchestratorType == api.DCOS190 { + orchestratorType == api.DCOS188 || + orchestratorType == api.DCOS190 { var buf bytes.Buffer for i := 0; i < masterCount; i++ { buf.WriteString(fmt.Sprintf("reference(variables('masterVMNic')[%d]).ipConfigurations[0].properties.privateIPAddress,", i)) diff --git a/pkg/acsengine/templates.go b/pkg/acsengine/templates.go index 15e5ed1692..2913ffc68f 100644 --- a/pkg/acsengine/templates.go +++ b/pkg/acsengine/templates.go @@ -15,6 +15,7 @@ // ../../parts/dcoscustomdata184.t // ../../parts/dcoscustomdata187.t // ../../parts/dcoscustomdata188.t +// ../../parts/dcoscustomdata190.t // ../../parts/dcosmasterresources.t // ../../parts/dcosmastervars.t // ../../parts/dcosparams.t @@ -422,6 +423,26 @@ func dcoscustomdata188T() (*asset, error) { return a, nil } +var _dcoscustomdata190T = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5a\x7b\x6f\x1c\x37\x92\xff\xdf\x80\xbf\x43\xef\x60\x01\xd9\xb7\xa1\x86\xef\x87\x8c\x59\xc0\xb1\xbd\x7b\xbe\x4b\x6c\xc3\x4a\xf6\x70\x48\x02\xa1\x48\x16\xa5\x8e\x7a\xba\x67\xbb\x39\xb2\x26\xd9\xbd\xcf\x7e\x60\xf7\x68\x34\x7a\x58\x91\x6f\xf7\x0e\xf7\x97\x34\x64\x15\x7f\xc5\x62\xbd\x58\x6c\xdf\x75\x39\x2c\xe3\xd1\xd3\x27\xa4\xf2\x30\x9c\x55\x24\x54\xb3\x3a\x55\x3f\x54\xbf\xab\x48\xaa\xe6\x17\xd0\xcf\x9b\xda\xcf\x87\xe8\xc9\xe9\x2a\x57\x3f\xbd\xc8\x67\xd8\x56\x18\xce\xba\xea\xf5\xab\xf7\xc7\x44\x59\x47\x5f\xac\xa0\xcf\x18\x2b\x32\x54\xf3\x88\x17\x85\xb8\x5a\x9e\x37\xe0\xb1\x79\xfa\xa4\xaa\x4e\x57\xf9\x45\xee\xd6\xe1\xec\xce\x72\x2f\x52\x3d\x7b\xfa\x24\xd6\xc3\xf9\xc9\x80\x79\xbd\x3a\x2a\xe4\xb8\x3a\xc3\x25\xf6\xd0\xd0\xf1\x67\x55\x35\xb0\xe9\xd6\x79\xfb\x83\x54\x52\xdd\xfd\x8f\xd1\xe9\xbf\xee\x02\xfb\x4f\x7d\x9d\xf1\xa8\xca\xfd\x1a\xa7\xc1\x0c\xbe\xc1\x93\xbc\x59\xe1\x51\x91\xe5\xe9\x93\x34\xec\xe0\x48\x15\xf1\xa2\x0e\x78\xb4\x07\x7b\xc8\x0a\x5f\xaa\x1b\x1c\x36\x43\xc6\xe5\x51\x85\x97\x59\x96\xb1\x3b\xcb\xdf\xcb\xce\xff\x31\x76\xf1\x68\xf6\x65\xb7\x6e\xf3\x30\xee\x82\xdc\x91\x9f\x54\xb3\x9d\xba\x97\x38\x74\xc3\xec\x0e\x1d\xbf\x4d\x17\xbb\x70\x8e\xfd\x5d\x42\xb1\x4f\x98\x97\xab\xd9\xd3\x27\xfd\xba\xbd\xb2\x1b\x52\x35\xed\x96\x80\x14\x94\x89\xd4\xd7\xed\xbc\x5f\xee\x7e\xae\x87\xfe\x7a\xe8\x21\x9e\xe5\x79\xac\xfb\x3b\x6c\x57\xa3\x0f\x71\x66\xb8\xcb\x37\x8d\x3d\xc4\xd5\xb4\x77\x98\xc6\xa1\x87\x78\xc2\xea\x0e\xcf\x38\xf4\x10\xcf\x74\x9a\x21\x37\x77\x58\xf7\x67\x1e\xd4\x4c\x39\xee\xbb\x9a\xd9\x8e\x3e\xc4\x59\x3c\xfb\x0e\xe3\x76\xf0\x73\x7c\x85\x6c\x28\x74\xeb\x01\x7b\x88\xf1\x0e\xff\xf5\x78\x59\x62\xb7\x89\x89\x2c\xd6\x43\xf1\xba\xab\x65\x49\xdb\x7d\xda\x2e\xd0\xe3\xd0\x35\x17\xa1\x6b\xd3\xe1\x80\x7d\xb1\xfe\x7b\x17\x58\xc2\x70\x7e\x0f\x77\x73\x19\x48\x8b\x79\x9f\x75\xde\xad\xf2\x1c\x7e\x59\xf7\x38\x0f\x5d\x9b\xa1\x6e\xb1\x1f\xe6\xab\xbe\xbb\xa8\x87\xba\x6b\x0f\x87\xb3\x09\x20\xac\xae\xd6\xbb\x3e\x3d\xcc\x61\x3e\x09\x74\x58\x24\xda\x8d\xe7\xe5\xea\xd6\x78\x59\xa1\x5f\x5e\xad\x90\x1e\x58\xe1\x73\x58\x77\xd7\x7c\x68\x85\x5b\xea\x18\x32\xf4\x79\xab\xda\xd0\x0d\x64\xf2\x54\x52\xb7\x43\x86\xa6\x79\x50\x93\xb7\x59\x0b\x48\x7d\x4a\xc6\x48\xd2\x3f\xc8\xd9\xe3\x1e\xef\x34\x17\xc9\xcf\xdd\xba\x6f\xa1\x89\x8f\xe7\x9c\x64\xfd\x22\x19\x9b\xba\x3d\x27\xd8\x5e\x3c\xc8\x84\xed\xb5\x89\x8d\x5c\x63\x50\x7f\x90\x65\xb4\x25\xe2\x9b\x2e\x9c\xcf\xee\x47\xbe\xb5\xc6\xa8\xa5\x93\x31\x1a\x8f\xb1\xae\x58\x18\xb6\xf9\xa8\x3a\x38\xcb\x79\x35\x1c\xcd\xe7\x85\xab\xee\x0e\x47\x03\xc4\x78\x8a\x87\x2d\xe6\x71\x70\xfe\x06\xfa\x66\xf3\x32\x04\x1c\x86\xa7\x4f\x9e\x3e\x39\x18\x63\xf8\xa7\x16\xfb\xa3\xaa\xef\xba\x11\x74\x05\xf9\xec\x68\x6b\x03\x63\x90\x5e\x9d\x61\x8f\xf3\x51\x08\x92\x1a\x38\x1d\xe6\x3d\xae\xba\xa1\xce\x5d\xbf\x21\xeb\x7e\x0a\x1e\x2b\xec\x97\xf5\x50\x8c\x7b\x38\xaa\x0e\xa8\x96\xf2\xe0\xa6\x6c\x25\x33\x9f\xbc\x79\xf7\x97\xb7\x1f\xdf\xbf\xfb\xf6\xcd\xbb\xef\x16\xbf\xfe\xfa\x6b\x86\xfe\x14\xf3\x9b\xf6\xa2\xee\xbb\x76\x89\x6d\xfe\xfb\xdf\xff\x5e\xc4\x2a\x19\xf2\xf3\xa2\x3d\x24\xd9\x64\x88\xb8\x6a\xba\x4d\x39\xab\xab\x75\x1f\x25\xe1\x0f\x33\x11\x33\x21\x1a\x0c\xc3\x20\x82\x90\xd4\xa0\xe7\x2a\x68\x9f\xb8\x10\x54\x70\x1d\x83\x74\x5e\x44\x14\x81\xa3\x9f\x7d\x55\xcd\x20\x2e\xeb\xb6\xef\xd6\x19\x7b\x42\x52\x0a\xca\x3b\x6a\xbd\xf7\xc0\x82\x41\x6b\x02\x52\x17\xac\x4c\xd4\x0a\x85\x22\x39\x4d\x53\xb0\x38\xfb\x6a\xda\xe1\x0c\x2e\xfa\x8e\x84\xd5\x8a\x10\xe3\x85\x52\x60\x55\x12\x2e\x80\x8e\x1e\xb9\xd4\x16\x83\xa2\xde\xb0\x24\x8c\x35\x41\x07\x13\x44\x2c\x98\xbe\xeb\x86\x4c\x9a\xda\x0f\x84\x70\xca\x54\x08\x5e\xd9\xe4\x8d\xd2\x49\xb3\x40\x39\xa2\x06\xa0\x2a\x04\x86\xdc\x48\xe5\xc0\x61\xd8\x41\x96\xda\x6a\xc8\x3d\xac\x08\xd1\x48\x15\x15\x2a\x72\xad\x7c\x14\xdc\x44\x8e\x81\x31\xc9\x28\x4b\x91\x3b\x1e\x03\x05\x48\x02\xc4\x84\x99\x3b\x42\xb4\x90\x32\x0a\x86\x98\xa8\xe5\xc1\xf8\xc8\x04\x57\xce\x33\x43\x85\x44\x30\x5e\x05\x21\x01\x63\xda\xa1\x85\x33\x0c\xe7\x24\xd7\x4b\x24\xc4\xa3\x89\xd4\x83\x51\x06\x83\x35\xc9\x39\xad\x84\xb1\x09\xd1\x04\xa3\x41\x23\x2a\x40\xe7\xf4\xb8\xc5\xd0\xd6\x84\xa0\xb4\x42\x98\x08\xc2\x81\x0d\x51\x18\x27\x99\x84\x90\x90\x46\x50\x1c\x1c\xe7\x1a\x18\x8d\x5c\x5e\xa3\x75\xc3\xb2\x1b\x08\x71\x22\x52\xce\x84\x75\xde\xf1\x28\x03\xb5\xc1\x20\xe7\x42\x47\x50\x8c\x46\xd0\xce\xb3\xa0\x05\x4f\x23\xd2\xba\x6f\x08\x61\x4c\xda\xa4\x25\x52\x61\x99\x4b\xc2\xb2\x10\x41\xc6\xc0\xd1\x82\x66\xce\x25\x2f\x82\x12\x60\xae\x4f\x6e\x3f\x68\x4d\xee\x79\x52\xec\xfb\xcf\xdf\xbf\x7d\x5d\x56\x1d\xa7\xcf\xea\x61\xf4\x10\x92\x2c\x8a\x10\xb4\x8e\x81\x79\x87\x94\x59\x4a\xd1\x70\x86\xe8\x2c\x0d\xd4\x25\x01\x36\x26\x94\xfa\xe6\xea\xf5\x12\x4e\x91\x10\xd4\xc2\x80\x67\x11\x20\xda\x68\x19\x22\x98\xe4\x3c\x52\xc9\x85\x93\xe0\x64\x90\x1c\x84\x8b\x7a\x07\x3b\xf1\x45\x5c\x0d\x84\x08\x8c\x2e\x22\x5a\x29\x85\x72\x41\x32\xc5\xb8\x08\x5e\x27\xaf\xbd\xa0\x3a\x71\xa6\x12\x80\xe7\x70\x0b\xb9\xcd\x78\xda\x43\xae\xbb\x96\x64\x1c\x32\x21\x34\x79\xae\x74\x4a\x3c\x08\x9b\x92\x51\x0c\x21\xf1\x80\xd2\x48\xcb\x8d\x00\x2b\x84\xf5\x52\x4a\xb6\x13\xa2\xe9\x4e\x09\xf1\x4a\x72\xef\xad\x03\x05\xc9\x69\xc9\x91\xca\x98\x84\xb2\xda\x79\x44\x94\x01\xb9\x12\xa8\x84\xba\x89\xbe\xc4\x0c\x11\x32\x7c\x56\xaf\x4b\xcc\x7d\x1d\x06\x42\x24\x4b\x32\x52\xcf\xbc\x95\xde\xa2\x4d\xc8\xad\xd1\x1e\xd0\x0b\x1f\xa9\x09\x68\x8d\x00\x25\x91\xde\x5c\xbf\x83\x75\x3e\x23\x84\x52\xe3\x14\x77\x11\x98\x15\x81\x26\x2e\x80\xea\xc8\x3d\xd5\xce\x70\xe6\x75\x02\x1d\x82\xf1\x8a\xef\x60\x87\xfa\xb4\x85\x62\x2b\x3e\x44\xe1\x35\xe3\xc1\xc7\x20\x8c\x13\x96\xc6\xe0\x81\x99\x10\x93\x03\xe1\xb5\x56\x3c\xba\x18\x6e\xa2\xae\x6b\x42\x22\x58\x50\x94\x0a\x10\x41\x61\x90\xc6\x26\xeb\x3c\xb3\xa0\x80\x33\x0d\xb4\x78\x90\x67\x51\x4f\x90\xed\xb0\xda\xe4\xb3\xae\x2d\xca\xb7\x42\xa0\x77\x60\xc1\xa3\x07\xc1\x8c\xf3\x52\x24\x01\x9c\xd2\xe2\x19\x92\x17\xe7\x50\x7b\x87\x38\xe5\xe1\xd3\x40\x48\xf1\x7e\x8b\x51\x4b\xa9\x81\x5a\xe9\x93\x91\x28\x53\x2a\xfa\x12\xd2\xb8\xa4\x1c\x82\x55\xdc\x8e\x90\x17\x31\x34\x35\x21\x4a\x18\x19\xa3\x4c\xc9\x2b\xe6\x12\x8b\x01\x53\xc4\x60\x9d\xe7\x5c\x1a\x14\x92\xca\xc4\x91\xa3\xd8\xe1\x61\xdf\x40\x7b\x4a\x48\xb0\x36\x52\x34\xcc\x53\x1f\xb9\xa3\x54\x33\x2e\x9d\xa5\x4e\x45\x01\x41\x70\x0a\xe8\x52\xb2\x74\xf4\x70\xbc\x3c\xab\x7d\xc9\x20\x84\x98\xa2\x2e\x9b\x9c\x34\xa8\x24\x63\x58\xdc\x5b\x46\x49\x63\x44\x06\xca\x62\x44\xcf\xca\x9f\x1d\x5e\x6a\x60\x38\x27\x84\xeb\x58\xce\xc2\xf3\xc8\x82\x88\x21\xb1\xc8\x03\x15\x3e\xd0\x28\x13\x77\xc1\xea\x28\x38\xf3\x7c\x34\xca\x9f\xe1\x02\x08\x09\x51\xa1\xe3\x2c\xa0\xd6\x9e\xc6\x12\xd2\x6d\x39\x7c\x1d\x8d\x00\xad\x8c\x60\x92\x4a\x29\xe8\x75\x44\x69\x6a\x8f\x17\xd8\xe6\x12\x68\xad\x47\xab\x54\xe4\x1e\xb9\x0b\x8e\x1b\x06\xc6\x47\x1d\xa8\x34\x5c\xa4\x64\x9c\x93\x1a\xe9\x78\x76\x25\x34\x77\xb1\x5e\x2f\x09\x71\x29\x39\xa6\xa2\xa7\x36\x68\xef\xc1\x44\x6d\x84\x85\xa4\xa8\x95\x68\x2c\xf7\x4c\x84\x72\x2a\xf6\x1a\xb1\x3b\xed\xbb\x0c\x19\x09\x49\x90\x74\xd0\x92\x82\x73\x12\x82\x92\x0e\x12\x1a\x21\x91\xaa\x28\x38\x07\xef\xa8\xe2\x52\xda\x31\x0f\x2d\xa1\x87\xc9\x5a\x12\xe8\xb2\x79\x95\x02\x63\x18\x30\xa5\x50\xb6\x0c\x08\x49\x8a\xc8\x10\x02\x47\x94\x60\xae\xb5\x39\x26\xd2\x12\x2a\x90\x1a\x11\x74\x92\x42\x27\x63\xa2\x93\x3e\x44\x0a\x89\x6a\x69\xa3\x4e\x5c\x63\x49\x0f\xce\x8c\x68\x23\x4b\x6c\x07\x42\x92\x30\x32\x60\x04\x16\x13\x44\x14\x08\x21\xfa\x98\x30\xd2\xa8\x8c\x0f\xc9\xda\x30\x8a\xc9\x6f\xc1\x2d\xbb\xb8\x6e\x70\x20\xc4\x60\x62\x51\x04\xae\x1d\x0b\x5a\xa2\x95\x89\x79\x4d\x23\xc8\x44\x99\x04\x04\xc7\x75\x04\x4c\x5b\xd8\xdc\x77\x6d\x57\x92\x89\x14\xdc\x02\xd7\xd6\x2b\x26\x1c\x78\xe5\x03\x47\x27\xb9\xe7\x36\x9a\x22\xaf\x65\xca\x68\xe1\xaf\x43\x4b\x0b\x17\xa5\xaa\x22\xc4\x33\x8c\x5a\x63\x2a\xf1\xc2\xf8\x68\x90\x32\x61\x41\x6b\x50\x4c\x29\x1b\x6c\x08\xd2\x6a\xaa\x69\x01\x6c\xc3\xba\x1f\x8a\x94\xd1\x5a\x67\x9d\xf4\x86\x01\x30\x50\x5e\x30\xe6\x21\x61\xa2\x68\x95\x34\x8e\x72\xe5\x65\x84\xe0\x77\x70\x5d\xc8\xd0\xd7\x2d\x12\xa2\x38\xb3\x4c\x80\x4e\x5a\x2a\x17\x03\x43\x8a\x82\x23\x2b\x69\xc5\x79\xa7\x30\x3a\x84\xe0\x21\x14\xbc\x6e\x85\xed\x30\x34\x84\x78\xca\x40\x70\x90\xbc\x24\x0e\x0f\x8a\x7b\xc9\x0c\x37\x1a\x9d\xa2\x0e\xa4\x64\xc8\xa2\x04\x7b\xad\xd5\xd5\xf9\xe9\x0a\xda\x08\x04\x56\x75\x31\xd6\x88\x94\xdb\x24\x51\x2b\x6d\x78\x12\x94\x01\xb3\x06\xa5\x4e\xac\x54\x32\xd1\x25\x2b\x74\x18\x31\x77\x9c\x7d\xd7\x14\xa3\xb3\x60\xa4\x83\xb2\x38\x93\x46\x43\xe4\x98\x0c\xba\x18\x5d\x64\xdc\x6b\xb0\x41\x6a\x29\xe0\xda\x45\x56\x9b\x29\x45\x18\x0b\x88\x02\x95\x05\x2a\x5d\x88\xe0\x69\xe4\x5a\x43\x32\xb2\x58\x93\x56\xd6\x0b\x4d\xbd\x1c\x93\xee\x55\x64\xf3\x06\x98\x94\x20\x9d\x32\x06\x38\x17\x51\x98\x28\xa5\x09\x4a\xdb\xa4\x98\x10\x14\xd1\x29\xe1\xe8\x3e\x58\x61\x1c\xeb\x5a\xb2\x3c\x5d\x66\x52\x2e\x29\xeb\x3e\x20\x21\x0e\xb5\x0d\xca\x43\x08\x68\x44\x50\x34\x3a\x2f\x98\x88\x5a\xd3\x24\x29\x8f\x29\x05\x70\x51\x38\xdc\x13\x20\x42\xc6\x75\xae\x1b\x42\x52\x0c\x3a\x25\xc7\x5d\xd2\x2a\x46\xea\x98\x0d\xc9\x28\x70\x10\x95\x36\x54\x6a\x2b\xa2\x60\xc6\xb2\xdb\x92\xc4\x2e\x74\xab\x5c\x8a\x1b\x0f\xc6\x26\x00\x26\x50\xf9\x24\x83\xe2\xc2\x09\x2f\xbd\xe5\xd1\xb2\x24\x82\x70\x0c\x40\xab\x3d\xf0\xd3\x75\x5b\x87\xae\x6f\x09\x01\x25\x4c\x72\x4a\x6b\x96\x3c\xd7\xd6\x05\xc5\x13\x32\xae\x18\x45\x4f\x23\x65\xc1\x5b\x01\x49\xdf\x51\x43\x3d\x74\x71\x8c\x14\x92\x46\x61\x6c\xd0\xd6\xa2\xf6\x10\x53\x64\x5a\x1b\x1d\x63\x71\x0f\x6f\x24\xf7\x09\x7d\xb0\x71\x1f\xfd\xe7\xba\xfd\x19\x38\x21\x46\x2a\x9a\x14\xa0\x02\xcb\x79\xd2\x22\x19\x50\x36\x18\x66\x38\x35\xa5\xca\x50\x3a\x26\xc5\xf6\x82\xef\x96\xff\x1c\x7e\xe9\x3a\x42\x82\x37\x01\x99\x00\x46\xb5\x0d\xd1\xf2\x18\xad\x44\xa0\x11\x05\xf7\x8a\x3b\x30\x9a\x82\xf4\x31\xee\x21\x2f\xa1\x3f\x5f\xaf\x06\x48\x48\x48\x8c\x52\x47\x5e\xf2\xa1\xd5\x8c\x69\xa5\x81\x0b\x95\x9c\x8e\x12\x62\x50\xcc\x73\x30\xa0\x1c\xc5\xdb\xe8\x2b\x18\x86\xa6\xf6\x84\x58\xca\x31\x08\x4d\x55\xa0\xde\x72\xc9\x6d\xc2\xe8\x41\x53\x67\x85\x2f\x2e\x0a\x40\x85\xf6\xde\xee\xe1\xaf\x36\x1b\x58\x36\x84\x58\x16\xa3\x94\x21\x48\xe0\x32\x96\x6d\x24\x30\x94\xe9\xa0\x95\xd5\xc0\x04\x83\x90\xb8\x71\x41\xdc\xc6\xee\xf1\xaf\x6b\x1c\xf2\x50\x2a\x01\x1e\x20\xfa\x28\x2c\x63\x21\xd0\x12\x59\xb9\x50\x25\xde\x1a\x64\x02\x81\x45\x0d\x49\xb2\xfd\xcd\xf7\x98\xfb\x4d\x5d\x92\x25\x7a\xe3\xad\x87\xc0\x84\x48\x8a\x4a\xc7\x3d\x43\x26\xa4\x0b\x1e\x8d\x09\x02\x85\xf5\x91\xf2\xbb\xf0\xb9\xbb\x24\x84\x1a\x2e\x65\xb2\xe0\x84\x03\x46\x85\x12\x5a\xc8\xe0\x14\x0f\x3a\x5a\x8b\x41\x82\x08\x54\x19\x31\x16\x85\x3d\x5e\xf6\xb0\x21\xc4\x6a\xa7\x39\xf3\x5e\x32\x16\x5c\xe2\x60\x9c\x40\x90\x3c\xc4\x84\x18\xa5\x75\xc8\x9c\xe1\x00\xd7\x65\xc4\x50\x5f\x12\x52\xe2\x3f\x97\x5e\x5b\xc5\x45\x90\x31\x01\x87\x22\x9d\x91\x46\xc5\x52\x40\x88\x28\x34\x43\x39\xe6\xbd\x61\x05\x7d\x86\x96\x10\x65\x41\x69\xc6\x0c\x57\x11\x9d\x50\x42\x19\xa0\xd1\xe9\xa2\x2e\x4c\x56\x58\xf4\xc1\x39\x6f\xdc\x35\x54\xee\xa1\xf8\xb0\x89\x94\x19\xa7\xa3\x96\xce\x49\xa9\x58\x60\x9e\x17\x17\x62\x9a\x81\x10\x2a\x78\x74\x54\x69\x37\xa6\xbc\x8c\xb0\x0c\x75\xde\x90\x25\x0e\x03\x9c\x96\x30\x8d\x9a\x0b\x90\xd1\x6a\xf4\xa5\xa6\x66\xce\x05\x4c\x21\xf0\x52\x4b\xc8\xa0\xa4\xa6\xc1\x73\xa7\xaf\xc3\x66\xee\x36\xbe\xe8\x33\x71\xa1\x94\x93\xe0\x2d\x82\x03\x6e\xb5\x44\x34\x1c\x3c\x5a\x6d\xb8\x88\x46\x27\xc7\xd1\x4a\x3b\xfb\xe9\x1f\xb8\x34\x87\x66\x3d\x94\x7b\xe2\x0a\xc2\x79\x91\xf7\xf0\xe7\xa1\x6b\x1f\x77\x77\xfe\xe1\xdf\xa6\x06\xc7\x4f\x93\xdc\xdf\xc2\xe5\x37\x78\x81\xcd\xab\xae\x1d\xba\x06\x17\x9f\xa0\x6f\xeb\xf6\x74\x9a\xfc\x08\x19\xbf\xa9\x97\x75\x7e\xdb\x66\xec\x2f\xa0\x59\xb0\xe1\xd6\xcc\xd7\xeb\x7e\xc8\x0b\x4e\x29\xa5\xbf\x7d\xdb\x9e\xf6\xb4\xed\xb4\xcc\x77\x9d\x96\xb1\x59\x16\xc7\xfb\xf6\x75\xeb\xe8\xb7\x36\xb2\x35\xc6\xa3\x1f\xdb\xaa\x6a\xba\xd3\xa6\x6c\xe2\xa8\xaa\xdb\xd4\x95\x91\x6d\x51\x30\xce\x56\x55\xc4\x04\xeb\x26\x93\xf1\x8a\xbd\x1d\xab\xaa\xb3\x6e\xc8\x47\x3f\x4e\x32\xff\x58\xe5\xb0\x3a\x9a\xcf\x19\x37\x87\xf4\x90\x1e\xb2\x23\xcd\x28\x15\x37\xd9\xa7\x62\x78\xc7\xbf\xed\x01\xc6\xa9\x5d\xfd\xe3\x56\xff\xd7\x6d\x85\x49\xc0\xf9\x74\xb5\x3b\xdc\x2c\x9b\xc7\x9d\xcf\xf7\x6d\x9d\xb7\x87\xf3\x32\x65\xec\x17\x2d\xe6\x4f\x5d\x7f\x4e\xba\xb6\xa9\x5b\x3c\x9c\x1a\x1d\x13\xc1\x7f\x40\x9b\x87\x87\x08\x7e\x38\x9e\x3a\x3d\xdb\x05\xbf\xdb\xac\x70\xd1\xb5\x38\x9c\x75\x5b\x82\xbd\x86\xc9\xe2\xf5\x9b\xaf\xdf\xbe\x7c\x77\xf2\xa7\x8f\xef\xdf\x7d\xf7\xe6\xdd\xeb\x45\xdb\xb5\xe5\xfe\xd6\x43\xc8\xf5\xc5\xf6\xb1\xe1\x38\x97\x0c\xdf\xc7\xf7\xeb\xbc\x5a\xe7\xc5\xf6\x0c\xff\x10\x26\xf3\xb9\x49\xf3\xa6\xef\xbb\xfe\x7e\x92\x37\x97\x18\x8e\x33\xf4\xf9\x43\x8f\x8b\xeb\x26\xf3\xba\x6f\x2a\x92\xbe\x19\x8e\x2f\x2a\x32\x05\xb8\x8a\xd3\x8a\xfc\x67\xc5\x8a\x81\xd1\x8a\x6c\x2a\x4d\x2b\xd2\x55\x57\x9d\xfa\x79\x3c\x8c\xe8\xab\xab\x66\x15\xfc\x62\x85\xe1\x54\x1c\x5e\x74\x87\xcb\x01\x43\x1b\x77\xed\xaa\xf1\x1a\xbb\x7d\x01\x20\xd8\x9e\xd6\x2d\x9e\xb0\x43\xc6\x0e\x39\xa1\xff\x75\x89\x6d\x0d\xcd\x09\x2c\xa3\x96\x65\xc1\x5b\x42\x2e\x6e\x34\x95\xc7\x37\xa4\xdc\x6f\x16\xec\xc5\xba\xcd\x75\x53\xc5\xd5\xf9\x69\x45\x5e\x8b\x8a\xd4\xb7\x05\xfb\xdb\xdf\xaa\x67\xcf\x72\xbf\xf9\xa3\x7b\xfe\xfc\x45\xec\xa6\x87\xa5\x69\x63\xbf\x1f\x27\xfe\xf0\x87\xe7\xcf\x5f\x0c\x0d\xe2\x6a\x3b\xf0\x2f\xb9\xdf\x8c\xb4\x2d\xbe\xd8\x75\xf7\xaa\xb1\x47\x3c\x35\xf3\xb6\xfd\xc6\xbd\xc9\x6d\x37\x72\xd7\x88\x2c\x7f\xf2\xec\x86\x3b\xde\xe7\x7f\xd3\xdf\xf9\x03\xfd\xd6\x47\x46\x94\x9b\x36\xf6\x71\x92\x66\x01\xcd\x27\xd8\x0c\x3b\x8b\xe8\xf3\xcd\x48\x42\x6f\x50\x1f\x63\x58\xb0\xed\x73\xd7\x48\xf7\xee\xfd\x9f\xde\x7e\xf3\x66\xc1\xb4\xb0\xf2\x1e\x93\x21\x53\xef\xbe\x5e\x55\x4d\xdd\x9e\x57\x11\x9b\xed\xee\xe9\xed\xa3\xfb\xec\x51\x4e\xf4\x55\x04\x5c\x76\x6d\x45\xfe\xb5\x4a\xf1\x68\x3e\xaf\x08\x19\x72\xd7\x8f\x7d\x8f\xbe\xbe\xc0\x7e\xd1\x5d\x94\x4b\xe9\xe6\xd1\xea\xbc\xd1\x0d\x3e\x8c\x73\xbc\xc4\x30\xee\xf1\xf1\xb1\xed\x46\x10\xf8\x00\x7d\x7e\x9f\x16\xb7\xbb\xcc\x93\x77\x8f\x47\xfd\xd3\x95\xde\x86\x8c\xed\x71\xee\x11\x96\x8b\xd1\x0e\xfb\x75\x3b\xdf\x33\x8a\xed\x59\x8c\x3c\xdf\x76\x11\x17\x54\x6b\xba\x3f\xf8\xfd\x80\xfd\xe2\x2a\x64\x5f\x0d\xfe\xb9\xef\xd6\xab\x2d\xfc\x3d\x40\x5c\x98\xed\xb9\x7d\x5d\xb7\xf1\xed\x87\x0b\xfd\xbe\x6d\x36\x0b\xdf\xe5\xb3\xad\x90\x6f\x27\xa3\xfa\xe9\x3a\x64\x61\xfc\x7a\xb3\x98\xcc\x74\xd8\x85\xab\x2f\x53\xef\x95\x8d\x7f\xa1\x32\x3f\xe2\x5f\xd7\x75\x8f\xc3\xe2\xbe\x66\xf8\x75\xc8\xfd\xdc\xec\x97\x84\xd3\x3f\xd5\x0d\x2e\xc6\x2d\xdc\x6a\x1e\xdf\x43\xd5\xad\xf2\x7e\xaa\xbf\xcb\xf0\x40\x24\x1a\x43\xca\xef\x9f\x45\xcc\x18\xf2\x49\xbd\x7a\x5e\xfd\xfe\x59\x49\x6d\x2d\x2c\xf1\x79\xf5\xc7\x29\x17\x95\x81\xe1\xcb\x42\xc2\xbd\xef\x28\x8f\xd3\xf8\xcc\x77\xeb\x36\x9e\x5c\x40\xb3\xc6\x61\xb6\x7d\xd9\xae\x6e\xb4\xb8\x4f\x60\x9d\xcf\x4e\xa6\x27\x8e\x38\x3b\xaa\x7e\xfd\xf5\xd7\xb1\x9b\xf6\x66\x1a\xd9\x6b\xde\x57\xd5\x6c\x5b\xee\x9c\x94\x2d\x4d\xb4\x4b\x28\x03\x1f\xd6\xbe\xa9\xc3\xdb\x0f\x2f\x63\xec\x71\x18\xde\xc1\x12\x6f\x32\xee\x5a\x43\x27\xe3\x3d\xef\x04\x42\xe8\xd6\x6d\x3e\x39\xc7\xcd\xec\xe8\xe0\xe0\xab\xaa\xa9\x87\xfc\xef\xb8\x19\x9e\x5d\x5d\xfe\xde\xc6\x67\x07\x07\xdf\xd6\xa1\xef\x86\x2e\xe5\xc3\xe3\x29\x16\xcc\xb7\x31\xe1\xe5\xc4\x3f\x14\xd6\x0b\xe8\xeb\x22\xeb\xf0\xec\xe0\x60\x12\xe7\xf8\x06\xd1\x9b\x2b\xec\x22\xd6\xc1\xc1\xf3\xe7\x5f\x55\x07\x07\x9c\x32\x45\xa8\x26\x4c\x1d\x1c\x3c\x3f\x3c\xc7\x0d\x2b\xa3\x57\xf2\xfe\xa6\xdc\xb7\x15\xf0\x00\xe2\xc3\x8a\x58\xf5\x98\xea\xcb\x2f\xd2\xe5\x44\x76\x52\x34\x36\x3b\xaa\x7e\x98\x15\x1d\xbc\x7e\xf5\xfe\xf8\xd5\xf7\xc7\xdf\xbd\xff\xf6\xf5\xcb\xef\x5e\x7e\xf8\xfe\xeb\x6f\xde\xbe\x7a\xfb\xe1\xf8\xbb\x8f\x07\x07\xb3\xad\x8f\xec\xf8\xbb\x47\x9f\xf8\xac\x81\x8c\x27\x93\x0d\x6d\x2b\xdc\x93\xba\xb0\x8c\x76\x39\xbe\x7c\x46\xec\xc9\x55\x37\x77\x7b\x87\x9f\xfc\xf5\x7f\x58\x50\x17\x44\x72\x55\xa9\xc1\xf2\x91\xef\x50\xfb\x91\xe5\x6b\x4c\x5d\x8f\x63\xe4\xf8\xb2\x0a\xec\x7f\xb5\xa2\x1a\xbf\x2b\xa8\xc8\x6a\x8a\x02\xab\xbe\x4b\x75\x83\x87\xf1\xb3\x51\xa5\x69\x2b\x32\xa4\xea\x76\x40\x2a\x53\x10\xe3\x49\xd9\xdd\x49\x51\xe7\xe1\x70\x76\x6b\xc9\xa9\x7c\x1f\xce\xbe\x28\xc6\xdc\x7e\x07\xfd\x72\xb5\xbf\xc6\x21\xf4\xf5\x2a\xd7\x5d\xbb\xf8\xb0\xed\x3f\x1d\x55\xaf\xbb\x4f\x6d\xd3\x41\xac\x5e\xbf\x9a\xbf\x3f\xae\x72\x57\xe5\xb3\x7a\x18\x2b\xfe\xc3\x7f\x56\x69\xfd\xaa\x6b\x63\x5d\x70\x3f\x40\x3e\x7b\x73\x59\x0f\x79\x58\xfc\xee\xb6\xe2\xfe\x3f\xd8\xc0\x54\x55\x93\x73\xc4\x15\x34\xf5\x05\x8e\x8f\x68\x15\x7f\x64\xa1\xbd\x2b\x68\x77\xcf\x7d\x45\x0b\x87\x97\xbf\x54\x5f\xf4\x42\x7c\xcd\x3e\xd7\x68\xb8\x95\xd2\xa3\x8a\xda\xc7\x84\xd6\x29\x47\xb9\xe0\x09\x84\xa1\x8c\x3a\x9d\x18\x22\x03\x7d\x78\x1b\xf1\x71\x86\x7e\xf3\x04\x3e\x6b\xe9\x19\xfa\x8a\xc0\x65\x7a\x68\x87\xe4\xd5\x6f\x2c\xf7\xa1\x1b\xf2\x82\xec\x7d\xfc\x33\x7e\x54\xf6\xd9\x05\xbf\xb0\x24\x9f\x6c\xf8\x9f\xed\x1b\xc7\x2b\x0c\x35\x34\xf5\x2f\xb8\xf5\x8e\xd4\xf5\x77\xdc\xe3\x66\x9d\x74\x5b\x94\x3b\xa5\xd2\xfd\x04\xff\x67\x66\xff\x0f\x94\x53\xf7\x04\xba\xab\x36\x76\x35\x26\x88\xea\xfa\x93\x0a\xb2\x3d\xa6\x87\xeb\xda\xe5\xba\xc9\x35\x59\x0f\xd8\x7f\x69\x69\x7b\xa7\xe8\x7c\xdc\x91\x1f\x3c\xfd\xec\xe7\x0c\x7d\xd7\xe0\x30\x7d\x3c\x74\x93\xe7\xc3\xc7\xf7\x7f\x79\x7b\xfc\xf6\xfd\xbb\x93\x92\xac\xf7\x05\xfb\xcd\xaf\x8d\xee\x0a\x35\xa3\x46\xca\xd9\x5e\xe2\x9d\x95\xcc\x3b\x7b\xfa\xe4\xbf\x03\x00\x00\xff\xff\x6f\x9b\xb6\x46\x7e\x29\x00\x00") + +func dcoscustomdata190TBytes() ([]byte, error) { + return bindataRead( + _dcoscustomdata190T, + "dcoscustomdata190.t", + ) +} + +func dcoscustomdata190T() (*asset, error) { + bytes, err := dcoscustomdata190TBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "dcoscustomdata190.t", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x4b\x6f\xdb\x3e\x12\xbf\xf7\x53\x10\xba\x28\xfe\xc3\xb5\xdb\xe0\xbf\x97\xf4\x94\xc6\x79\x18\x8d\x1d\x23\x4a\xb3\x87\x22\x58\xd0\xe4\xd8\x26\x22\x91\x02\x49\x39\xf1\x06\xf9\xee\x0b\xea\x61\x4b\x14\xe5\xc8\x89\x8a\x2e\x16\x9b\x4b\x9b\x68\x38\xef\xf9\xcd\x70\x88\x10\x42\x2f\x9f\x50\xfa\xe3\xe1\x98\xdd\x83\x54\x4c\x70\xef\x04\x79\xbf\xd6\x58\x32\x3c\x0f\x41\x1d\xf9\xbb\x2f\x81\x16\x12\x2f\xc1\xef\x3d\x78\xfd\xe2\x1c\x85\x18\x38\x55\x37\xe6\xd8\xaf\xfc\x8f\x08\x79\xbf\x88\xe0\x04\xeb\x23\x7f\xc2\x88\x14\x4a\x2c\xf4\x60\x0a\xfa\x49\xc8\xc7\x61\x9c\xcc\x43\x46\xc6\xb3\x53\x4a\x25\x28\x05\x6a\xe8\xf7\x51\x49\x5e\x84\x95\x06\x39\xab\x52\x4d\x71\x04\x7e\xaf\xf7\xe0\xe5\x22\x1e\xb6\x0a\x84\x82\x60\x5d\xa8\x2d\x41\x89\x44\x12\xb8\x94\x22\x89\x8f\x7a\x83\xe2\x63\x49\x61\x8e\x23\xb0\x4d\xcc\x44\xe6\xe6\x9d\x12\x22\x12\xae\x33\x89\xa5\x83\xb1\x14\x31\x48\xcd\x40\x79\x27\x5b\xbf\x19\xcf\x65\xf4\x77\x9b\xb8\xc6\x77\x1d\x05\xec\xdf\xa0\x26\x38\xf6\x7b\x75\x79\xf7\x13\xf3\xd5\xef\x3d\x0c\x54\x45\xb2\xe1\xb4\x35\xf4\x75\x2b\x5f\xe7\x02\x76\x1e\xcd\x15\x1e\x56\x8f\xab\xec\x68\x7e\xf0\xff\x01\x6e\x0a\xf0\xf9\xf3\x8a\xcd\x99\x16\xf2\xbd\x91\x0e\x34\xe6\x14\x4b\xfa\xaf\xeb\xdb\xa0\x8b\x70\xbd\xbc\xb0\x05\xe2\x42\xa3\xc1\x24\xf3\x90\x14\x0b\x16\xc2\x60\xac\xce\x12\xa5\x45\x74\x3f\x3d\xbf\x7b\x7d\x3d\x3c\xaa\x23\x58\xe0\x24\xd4\x2d\xa2\x8a\xd0\xcb\xcb\x25\x68\x23\x28\x48\xe6\x1c\xf4\x28\x25\x03\x4e\x18\xa8\x5c\x74\xd7\xa1\x59\x33\xa9\x13\x1c\xe6\xc9\xd3\x3e\x16\x59\xda\x04\x31\x26\x50\xf9\xb2\xfb\x36\x93\xb0\x60\xcf\xe9\xc1\xb2\x89\x25\x23\x4f\xab\x84\x5b\x0b\x53\x2b\xb7\xff\xdf\xc6\x14\x21\x4f\xa5\x6e\xb1\x59\x5a\x5e\x53\x48\xcb\x04\x4a\xdc\x1e\x5a\x64\x47\x51\x3d\x55\x7f\x94\xb3\x03\x38\xed\x2a\xfc\xdd\xd5\xd4\xe9\x1a\xb3\x10\xcf\x59\xc8\xf4\x26\x00\xbd\x27\x76\xfb\x8c\x3f\x13\x51\x9c\x68\x18\xe2\x2a\xb7\x0f\x40\xd9\xef\xb5\xda\x09\x5e\x2d\xb2\x96\x72\x15\x80\xd6\x8c\x2f\x95\x9d\xb4\x54\x44\x98\x71\xc3\xe9\x1a\xcf\x21\x74\xcb\x3d\xe7\x34\x16\x8c\xeb\xd1\x34\x30\x94\x59\xe2\xfa\x3b\xd4\xac\x26\xeb\x16\x88\xc3\xc2\xb8\x09\xe8\x95\xa0\x86\xf7\x68\xc3\x71\xc4\x48\x1b\xdc\x6a\xc4\xf5\x6e\xa3\xf3\x3f\xd4\x68\xae\xe7\xad\x33\x62\x8e\xc9\x23\x70\x5a\x20\x91\x10\x61\x0d\x5c\x2a\xd8\xb5\x57\xea\xf7\x8c\x99\xe1\x52\x28\x50\x3a\x5c\xc2\xa3\x52\x92\x2c\xa4\xe0\x1a\x38\x1d\xcf\xce\x04\x5f\xb0\x65\x22\x53\x3b\x3f\xa0\x45\xc1\xc9\xf6\xc1\x7e\x4f\xd8\x39\x9b\x39\xc4\x41\x82\x90\xc7\x68\x25\x46\x63\xda\x2a\x3b\xfc\xfe\xa1\xb9\x51\xf7\x9c\xfd\xdb\xfb\x30\x3e\x14\x98\x7e\xc7\x21\xe6\x04\x64\xc7\x55\x44\x44\xbc\xa9\x66\x58\x3a\x65\xb8\x63\x75\x66\x3e\x55\x43\xb4\x8d\x6c\x11\xcd\x6b\x21\xe2\xa9\xa0\x50\x47\x8a\xa6\x82\x75\xa5\xc4\xc8\xef\xb4\xe2\x72\x4c\x68\x2c\xbc\x3e\xf2\x0d\x16\xf8\x41\x70\xf5\xd9\x85\x09\xf7\x93\x32\x7c\xf6\x91\xf1\xda\x98\x53\x78\x3e\xea\x1d\x50\xb4\x33\x21\x8d\x63\x8f\x8f\x4b\xee\x03\x6e\x04\x5d\x84\x02\x1b\x94\x1f\xcf\xbc\x13\xb4\xc0\xa1\x82\xb7\x2b\xce\x6e\x08\x79\x92\xef\x29\xb0\x8a\x57\xab\xd0\x5f\xc8\xc8\x55\x34\x1e\x2b\x2c\x3c\x3e\xfe\xf2\xa5\x1a\xf2\x58\x0a\x2d\x88\x48\x7b\x8e\x26\xf1\x21\x3d\xa1\x92\xc9\x43\xc6\xe7\x22\xe1\x74\x8a\xf5\x6d\x12\x76\xdd\x1f\xba\x83\xe7\x69\x70\xd9\x1a\x9f\x15\x90\x44\x32\xbd\xc9\x0c\x6a\x85\x89\x4a\xad\x0e\xc3\x3c\x4c\x48\x06\x75\x9e\xe9\xd4\x4f\xd6\xe1\xb4\xd2\x14\x91\x2c\x2e\xac\x4f\xa9\x50\x10\x5c\x39\x29\x35\xe3\xa9\x2b\x2a\xc3\xad\x39\xf6\xd7\x5e\x72\x93\x29\xb7\x98\x2f\x53\x13\x8e\x8f\x1d\xb4\x4c\x02\x29\x54\x18\x67\x91\xae\x53\xc5\x92\x09\xe3\x2f\x53\x17\x5f\xbe\x38\x3e\xef\x52\xed\x8e\xc4\xf5\xf3\x59\x58\xdb\xe8\x9e\x51\x56\xd4\xfe\xcb\xeb\x18\xa8\x79\xf6\x6f\x90\x27\x41\x9a\x6d\xff\xad\x80\xcd\x19\xe9\x00\xab\xa7\xc1\x65\x06\x2b\x6d\xef\xa3\x05\x2f\x37\xd3\x35\x07\xbd\xe3\xb7\xbb\xc1\x34\x48\x2f\x3a\x45\xbf\x3e\xff\x35\xd0\xf6\x7d\x1b\x75\x86\x19\xe8\xbf\x85\xf9\x55\xc8\xff\xfd\xad\xc9\x6e\x39\x3e\x67\xc4\xf4\xa6\x03\x5b\x0f\x8b\xdf\x33\xa6\x15\xa7\xd2\xe4\x38\x08\x9b\xca\x00\xff\xfd\xcd\x59\xd5\xa5\x44\xa1\x38\x7d\xa3\x73\xa7\xd1\x44\xfe\xd0\x31\x11\x3b\xe7\x7a\xc7\xb8\x5b\x9f\xdc\xec\xd9\xad\x32\xfb\x3a\x4c\x1c\x5b\x1d\xac\x63\xf3\x3a\x4d\xd6\x43\x6c\x8c\x25\x5b\x63\x0d\xe5\xb9\xba\x59\xd9\x0b\x26\x95\x36\x84\xae\x01\x89\xf1\x7d\x27\x6e\x88\x06\xfd\xb7\xdf\xeb\xf5\x6a\x83\x7f\x45\x0b\xc7\x8d\x34\xd0\x58\x33\xe2\xc0\xf9\x74\xa7\xb2\xf7\x22\x50\x77\x1f\x07\x9d\xed\x62\xac\x19\xc9\xe5\xaf\xfd\x6d\x02\xa1\xbe\xe7\x6a\x03\x6d\xc7\xb5\x2d\xa0\x7e\xb2\x65\x1c\xd0\x80\xc6\x5c\x83\x5c\x60\xd2\xf5\x4c\xd5\x59\xf3\x59\x47\x87\xf7\x9e\xe6\x8b\x7d\xcd\x6a\x27\x00\x1c\x86\xa8\x6e\x89\x4d\x8b\xa7\xa1\xa3\x26\x6b\xab\x2e\x8b\xfb\x81\x0f\x0a\x2d\x8e\xd4\x56\xd4\xb5\x36\xa5\xf1\x52\x79\x27\xf9\x6f\xe5\x30\x4a\x48\xcb\x2b\x48\xfb\x96\x87\x4a\xe5\xee\x63\xa2\x80\x2f\x19\x87\x77\x5c\x8d\x6a\xc1\xfd\xed\x7d\xf2\xc0\xfe\x68\x05\xb2\xa1\x4a\xdd\x9b\x83\xa6\x64\x68\x99\x0b\xce\x8b\xd8\x0a\x4b\xfa\x84\x25\xe4\xc3\x93\xad\x4f\xf6\x42\xd4\x00\x62\xc5\xfb\x90\x9b\x73\x5e\x24\x0d\x8c\xeb\xc0\x51\xdb\x82\xdb\x40\xdb\x6a\xab\x52\xe3\xeb\xf7\x3f\x32\xf1\xd8\xd8\xfc\xf6\x06\x5e\xa8\x06\x8b\x31\x8d\x18\xff\xa9\x40\xba\x2e\x7e\x95\x8f\xf6\x52\xca\x23\x59\xe0\x65\x47\xc9\x89\x8a\x27\x81\xd1\xd9\x4d\x90\xcd\xce\xd9\xc4\x3c\xc2\x1a\x57\x1e\x19\xbc\x90\xf1\xe4\x79\xdf\x1a\x20\xbd\x78\x29\xa3\xc4\x0c\x2b\xf5\x24\x24\x3d\x4d\xf4\x0a\xb8\x66\xbb\xba\xd3\x32\xa9\x4d\x75\xe6\x12\xea\x6c\x99\xd9\x5a\xec\x07\x6c\xdc\xc3\x8d\x2b\x33\x4a\xa7\x1f\x61\x63\x8c\xb0\xdd\xab\xd4\xea\x36\x38\x9d\x15\xac\xeb\x5b\xbf\xaa\x0a\x58\xaf\x1c\x1c\x7e\xc0\x66\x86\xf5\xca\xd1\xaf\xb3\x1f\x7b\xca\x29\x67\x88\xfd\xfd\xb5\x12\x0a\xb6\x40\x83\x6b\xe3\xe9\xe2\x0a\x73\x85\x55\x00\x44\x82\xae\xbe\xf9\x54\x92\x42\x65\x04\xb6\xa2\x61\x89\x4f\xce\xc3\xd2\xd8\xbe\xe7\x54\xde\x8f\x32\x7c\x6f\x48\x61\x16\xe1\x25\xdc\xc2\x02\x24\xf0\xda\xb3\x96\xc9\xfd\xc5\x02\xa4\xad\x90\x50\x63\x73\xec\xc6\x7c\x73\xad\x5b\x4d\x50\xd4\xaa\xf1\xdc\xac\xf8\xee\x38\xab\x1e\x93\x86\x53\xc1\x8f\x9f\x0e\xfa\xb5\x7b\x06\xc9\xcf\xe4\x73\x88\xbd\x95\xae\x38\x5d\xa8\x11\x53\x8f\x75\xcb\x09\x26\x2b\xc6\x97\x86\xf3\x2d\x60\xfa\x4f\xc9\x74\x2d\xe5\xd3\x9e\x07\x37\xdb\x35\xc9\x85\x14\x51\x2a\xd8\x26\xfc\x48\x99\xf7\xfd\xcf\x42\x51\xa6\x1e\x5d\xe6\xaf\xa8\xeb\x0a\x95\x48\x56\x96\x26\x8b\xf8\x1e\xd5\xc7\x91\x86\x27\x62\xd7\x34\xe2\x1a\x2e\x7a\xfd\xfd\xcf\xfa\xbd\x41\x2c\x59\x84\xe5\xa6\x78\x47\x52\x83\x79\x28\xe6\x7d\x7f\xbd\xa2\x4e\x21\xcd\xd7\x90\xad\x1f\x06\xeb\x15\xad\x95\xac\xbb\x14\xdb\x0c\xbe\x45\x0f\xce\x9f\x41\x27\x69\xdc\xff\xdc\x53\x53\x83\x3a\xad\xe6\x51\x95\xcc\xeb\xa9\x95\x0f\xd1\x7d\xf4\xf5\xcf\xac\x1d\xde\x52\xca\xdc\xc0\x9f\x30\xd3\x0b\x21\x43\xc0\xb4\x0a\x0b\xcd\x53\x57\xa2\xc5\xcf\x78\x29\x31\x85\x09\xe3\x42\xee\xa2\x62\x7a\x93\xfd\x24\x59\xa0\xd1\xce\xcd\x37\xc1\xdd\xd9\xf9\xb3\x06\xae\xd2\x9d\x46\x19\x30\x1b\x9e\x4b\x89\x88\x22\xcc\xe9\x9d\x38\x7f\x06\x92\xe8\x6c\xf1\xba\x42\x9f\x09\xf2\x13\xae\x59\x88\x62\xc6\x97\xe8\x33\xf9\x8a\x32\x33\x06\x11\x28\xa1\xbe\x51\x81\x80\xac\x04\x32\x26\x1a\x82\x85\x90\x55\x02\x15\x02\xc4\xe8\xeb\x3f\xbe\x51\xc1\xe1\x5b\x4a\x5b\xfe\x8e\x92\xd8\x77\x8f\x63\x45\x2a\x67\x9d\x3e\x48\xf7\xb5\x17\x42\xa6\x6d\xc7\xb3\xe8\xae\x30\xa7\x21\x94\xbc\xe4\x7d\x1d\xfc\xdd\x66\xed\xde\x94\x8e\xb0\xf3\x5d\x56\x28\x9f\xfe\x13\x00\x00\xff\xff\x09\xd4\x9d\x08\xdd\x25\x00\x00") func dcosmasterresourcesTBytes() ([]byte, error) { @@ -482,7 +503,7 @@ func dcosparamsT() (*asset, error) { return a, nil } -var _dcosprovisionSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x95\x61\x6f\xdb\x36\x10\x86\xbf\x0b\xd0\x7f\xb8\x39\xc1\xb0\x02\x11\x25\xd9\x81\xbb\x2d\x08\x86\xce\x56\x0b\x63\xae\x54\x58\xee\x8a\x6d\x18\x04\x8a\x3c\x59\x84\x69\x52\x20\x29\x67\x49\xd1\xfd\xf6\x41\x12\x9c\x64\x6b\xd2\x2e\x6e\xf9\xc5\x30\x45\x3e\x2f\x75\xf7\x48\x3a\xf9\x26\x2c\x85\x0a\x4b\x6a\x6b\xdf\xf3\xbd\xd7\x49\x9e\xe5\xf3\xc5\xea\x32\xdc\x53\x13\x4a\x51\x86\x3b\xb4\xda\x86\x5c\xfa\xde\x6e\xcb\x85\x81\xd3\xc3\x92\x6e\xf9\x09\x48\x4d\x39\xb8\x1a\x01\xd5\x1e\xf6\xd4\x58\xdf\x23\x10\xa2\x63\xc3\xc6\xa6\x46\x83\xa1\x45\xd7\x36\x41\x25\xe9\xc6\x86\x9c\x69\x1b\x70\x6c\xa4\xbe\x0e\x50\xed\x85\xd1\x6a\x87\xca\x0d\x34\x8e\x15\x6d\xa5\x03\xce\x42\x6d\x81\xe9\x5d\xa3\x15\x2a\x07\x5c\x5f\xa9\x3e\x89\x72\x6e\xd0\x5a\xf8\xee\xc5\x4d\x6b\x10\x66\xf3\xf4\x99\xef\xcd\xb3\xd9\x2f\xc9\xaa\x48\xd2\x57\x8b\x34\x29\xe6\xd9\xbb\x74\x99\xbd\x98\x17\x6f\x57\xcb\xcb\xda\xb9\xc6\xfe\x18\x86\xf4\xe6\xfb\xc9\xf3\x71\x34\x21\x7b\x4d\x76\x16\x99\xe2\x44\xa1\xbb\x3d\x8c\x0d\xb9\x66\x5b\x34\x01\xaa\x8d\x50\x58\xc4\x24\x8e\xc9\x38\x88\xfe\xfe\x0b\x95\xa0\xb2\xa0\x3b\x3e\x3d\x27\x1c\x4b\xdf\x5b\x2e\x7e\x5e\xbc\xc9\x93\xf5\x91\x39\x52\x94\xa2\xb1\xe8\x26\xc5\x94\x8c\x7f\x08\xe2\xfb\xe8\x2f\xe1\xf6\xd0\x07\x98\x6f\xd3\xdf\x17\x6f\x8e\x64\xb6\xea\x46\x34\xc5\x94\x44\xc1\x38\x6a\xcb\x56\xb9\x36\xfe\x4f\x25\x96\xeb\xf9\xf2\xf8\x42\x48\xc7\xe5\xf3\x62\x4c\xce\xc9\x34\x88\xc8\xbf\xd8\xbe\xc7\xa8\x45\x38\x9d\xcf\xb2\xbc\x48\xd2\x5f\x17\xab\x2c\x7d\x9d\xa4\x6b\x10\xca\xf7\x00\x00\x4e\xa0\x44\x46\x5b\x8b\xa0\x2b\x98\xd5\x42\xa1\x45\x78\x65\x90\xba\x77\x54\x4a\x78\x29\x0c\x5e\x51\x29\xcf\x7a\x37\x0f\x5a\x35\x94\x6d\xe9\x06\x2d\x68\x05\xb7\x02\x81\xb0\x50\xca\xae\xfd\x9c\x40\xae\xfb\x0d\x95\x96\x52\x5f\x09\xb5\xb9\x45\x4b\xcd\xa8\x84\x9d\x30\x46\x1b\x68\x8d\x04\x5b\xeb\x56\x72\x28\x11\x5a\x8b\x1c\x84\xb2\x0e\x29\x27\xc3\xe9\x7a\x78\xb7\x95\xce\xa4\x6e\xf9\xb3\x61\xb6\x1b\x9f\x71\xb5\xab\x1c\xb3\x83\x85\xa4\x94\xba\x24\x4c\x1b\x24\xac\x43\xb1\x0e\x45\x1b\x41\x98\xea\xeb\xf8\xff\x9d\x3d\x84\x3f\xee\xee\x93\x72\x3f\xe5\xf0\x21\xea\x6b\xe4\x3c\xe6\xf4\x21\xe3\x11\xb7\x9f\x94\xf1\x19\xc7\xef\x55\xee\x61\xd7\x9f\x5a\xb8\x4f\x38\xdf\xe5\x5c\x5c\xf8\x1e\x5a\xca\xfa\x27\xa0\xd3\x2c\xa8\x96\x36\xdf\x43\x10\x18\x74\xe6\x1a\xc6\x11\x04\xbf\x41\x1c\x75\x03\x82\x6b\x98\x46\x10\xe8\xbb\x77\x72\xc8\x3b\x14\x9c\x3e\x6e\x19\x7c\x7b\x1c\x38\x1e\xc0\x0f\x1a\x74\x2c\x73\x3c\x30\xbf\x1e\x70\x32\x00\x3f\xf6\xe2\x58\xe0\xf9\xed\x5d\x7f\xd4\xfd\x0e\x79\x45\x45\xff\xe1\xaa\xb4\x01\x01\x42\xc1\xfb\x98\x90\x49\x14\x7d\xb8\x00\xae\x87\x86\xf2\x66\xbb\x81\x40\xdc\x63\xbe\x8f\xcf\xc6\x67\x93\xb3\xf3\x0f\x77\x5d\x17\x15\xfc\x01\xa3\xd3\x9f\x46\x70\x09\xa3\x68\x04\x7f\x0e\xd3\xae\x46\x75\xa7\x20\xb2\x5a\xc3\xc8\xb6\x8c\x21\x72\xe4\xa3\xbb\x2b\xa5\x41\xba\x1d\xfe\x56\x62\xf8\xb5\x12\xb1\x81\xd8\xf7\xb8\x56\xd8\x1d\x71\x95\x2d\x93\xfc\xe5\x62\x99\xcc\xb2\x74\x9d\xa4\xeb\xdc\xf7\xfe\x09\x00\x00\xff\xff\x30\x8d\x82\xd8\xfb\x07\x00\x00") +var _dcosprovisionSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x95\x7d\x6f\xdb\x36\x10\x87\xff\x17\xa0\xef\x70\x73\x82\x61\x05\x22\xea\xc5\x81\xbb\x2d\x08\x86\xce\x56\x0b\x63\xae\x1c\xd8\xee\x8a\xbd\x0a\x14\x79\xb2\x08\xd3\xa4\x40\x52\xce\x92\xa2\xfb\xec\x83\xa4\x3a\xee\xd6\xa4\x5d\xdc\x0a\x30\x2c\xcb\xba\xe7\x77\x3e\x3d\x26\x4f\xbe\x0a\x0b\xa1\xc2\x82\xda\xca\xf7\x7c\xef\x65\xba\x9c\x2f\x27\xd3\xc5\x65\xb8\xa3\x26\x94\xa2\x08\xb7\x68\xb5\x0d\xb9\xf4\xbd\xed\x86\x0b\x03\xa7\xfb\x5b\xda\xdb\x4f\x40\x6a\xca\xc1\x55\x08\xa8\x76\xb0\xa3\xc6\xfa\x1e\x81\x10\x1d\xeb\x0b\xeb\x0a\x0d\x86\x16\x5d\x53\x07\xa5\xa4\x6b\x1b\x72\xa6\x6d\xc0\xb1\x96\xfa\x26\x40\xb5\x13\x46\xab\x2d\x2a\xd7\xd3\x38\x96\xb4\x91\x0e\x38\x0b\xb5\x05\xa6\xb7\xb5\x56\xa8\x1c\x70\x7d\xad\xba\x24\xca\xb9\x41\x6b\xe1\x9b\x67\xb7\x8d\x41\x18\x4f\xb2\x27\xbe\x37\x99\x8f\x7f\x4a\x17\x79\x9a\xbd\x98\x66\x69\x3e\x99\xbf\xce\x66\xf3\x67\x93\xfc\xd5\x62\x76\x59\x39\x57\xdb\xef\xc3\x90\xde\x7e\x3b\x7c\x9a\x44\x43\xb2\xd3\x64\x6b\x91\x29\x4e\x14\xba\xbb\x66\x6c\xc8\x35\xdb\xa0\x09\x50\xad\x85\xc2\x3c\x26\x71\x4c\x92\x20\xfa\xfb\x2f\x54\x82\xca\x9c\x6e\xf9\xe8\x9c\x70\x2c\x7c\x6f\x36\xfd\x71\x7a\xb5\x4c\x57\x47\xe6\x48\x51\x88\xda\xa2\x1b\xe6\x23\x92\x7c\x17\xc4\xef\xa3\x3f\x87\xdb\x41\xef\x61\xbe\xca\x7e\x9d\x5e\x1d\xc9\x6c\xd4\xad\xa8\xf3\x11\x89\x82\x24\x6a\x8a\x46\xb9\x26\xfe\xcf\x24\x66\xab\xc9\xec\xf8\x41\x48\xc7\xe5\xd3\x3c\x21\xe7\x64\x14\x44\xe4\x5f\x6c\xdf\x63\xd4\x22\x9c\x4e\xc6\xf3\x65\x9e\x66\x3f\x4f\x17\xf3\xec\x65\x9a\xad\x40\x28\xdf\x03\x00\x38\x81\x02\x19\x6d\x2c\x82\x2e\x61\x5c\x09\x85\x16\xe1\x85\x41\xea\x5e\x53\x29\xe1\xb9\x30\x78\x4d\xa5\x3c\xeb\xdc\xdc\x6b\x55\x53\xb6\xa1\x6b\xb4\xa0\x15\xdc\x09\x04\xc2\x42\x21\xdb\xc7\xcf\x09\x2c\x75\x57\x50\x6a\x29\xf5\xb5\x50\xeb\x3b\xb4\xd4\x8c\x4a\xd8\x0a\x63\xb4\x81\xc6\x48\xb0\x95\x6e\x24\x87\x02\xa1\xb1\xc8\x41\x28\xeb\x90\x72\xd2\x77\xd7\xc1\xdb\x52\x3a\x96\xba\xe1\x4f\xfa\xab\xed\xf1\x09\x57\xdb\xc9\x31\xdb\x5b\x48\x0a\xa9\x0b\xc2\xb4\x41\xc2\x5a\x14\x6b\x51\xb4\x16\x84\xa9\x6e\x8e\xff\xdf\xd9\x7d\xf8\xc3\xee\x3e\x2a\xf7\x63\x0e\xef\xa3\xbe\x44\xce\x43\x4e\xef\x33\x1e\x70\xfb\x51\x19\x9f\x70\xfc\xbd\xc9\xdd\xef\xfa\x63\x07\xf7\x11\xe7\xdb\x9c\x8b\x0b\xdf\x43\x4b\x59\xf7\x0f\x68\x35\x0b\xca\x99\x5d\xee\x20\x08\x0c\x3a\x73\x03\x49\x04\xc1\x2f\x10\x47\xed\x01\xc1\x0d\x8c\x22\x08\xf4\x61\x4d\x0e\x79\x8b\x82\xd3\x87\x2d\x83\xaf\x8f\x03\xc7\x3d\xf8\x5e\x83\x8e\x65\x26\x3d\xf3\xcb\x01\x87\x3d\xf0\x43\x2f\x8e\x05\x9e\xdf\xfd\xea\x0f\x9e\x7e\x8b\xbc\xa6\xa2\xdb\xb8\xda\x05\x20\x10\x30\xb0\xe1\x9f\x57\xda\x38\x48\x92\xd3\xf0\xdd\xc9\xef\xea\xdd\x49\x92\x84\xf1\xa0\xdf\x19\xad\xad\xda\x17\xcf\x99\x56\xa5\x58\xb7\xf5\x66\x27\x18\x82\xb5\x15\x18\xb4\x8e\x9a\x0e\x5b\x6a\x03\x02\x84\x82\x37\x31\x21\xc3\x28\x7a\x7b\x01\x5c\xf7\x9e\xf0\x7a\xb3\x6e\x23\x0f\xad\xbe\x89\xcf\x92\xb3\xe1\xd9\xf9\xdb\x83\x4c\xa2\x84\xdf\x60\x70\xfa\xc3\x00\x2e\x61\x10\x0d\xe0\x8f\xfe\xb2\xab\x50\x1d\xcc\x46\x56\x69\x18\xd8\x86\x31\x44\x8e\x7c\x70\xf8\xa6\x30\x48\x37\xfd\xc7\x52\xf4\xef\x56\x22\xd6\x10\xfb\x1e\xd7\x0a\xdb\x16\x17\xf3\x59\xba\x7c\x3e\x9d\xa5\xe3\x79\xb6\x4a\xb3\xd5\xd2\xf7\xfe\x09\x00\x00\xff\xff\x06\x0c\x77\x75\x52\x08\x00\x00") func dcosprovisionShBytes() ([]byte, error) { return bindataRead( @@ -1289,6 +1310,7 @@ var _bindata = map[string]func() (*asset, error){ "dcoscustomdata184.t": dcoscustomdata184T, "dcoscustomdata187.t": dcoscustomdata187T, "dcoscustomdata188.t": dcoscustomdata188T, + "dcoscustomdata190.t": dcoscustomdata190T, "dcosmasterresources.t": dcosmasterresourcesT, "dcosmastervars.t": dcosmastervarsT, "dcosparams.t": dcosparamsT, @@ -1386,6 +1408,7 @@ var _bintree = &bintree{nil, map[string]*bintree{ "dcoscustomdata184.t": &bintree{dcoscustomdata184T, map[string]*bintree{}}, "dcoscustomdata187.t": &bintree{dcoscustomdata187T, map[string]*bintree{}}, "dcoscustomdata188.t": &bintree{dcoscustomdata188T, map[string]*bintree{}}, + "dcoscustomdata190.t": &bintree{dcoscustomdata190T, map[string]*bintree{}}, "dcosmasterresources.t": &bintree{dcosmasterresourcesT, map[string]*bintree{}}, "dcosmastervars.t": &bintree{dcosmastervarsT, map[string]*bintree{}}, "dcosparams.t": &bintree{dcosparamsT, map[string]*bintree{}}, From 13aae29baffeb01211bb47ec6c0c4f915f361612 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Thu, 9 Mar 2017 10:05:57 -0500 Subject: [PATCH 03/12] clean custom data --- parts/dcoscustomdata190.t | 260 ++++++++++++++++++++++++-------------- 1 file changed, 163 insertions(+), 97 deletions(-) diff --git a/parts/dcoscustomdata190.t b/parts/dcoscustomdata190.t index 255df09e51..ec8371a94d 100644 --- a/parts/dcoscustomdata190.t +++ b/parts/dcoscustomdata190.t @@ -1,6 +1,6 @@ bootcmd: -- bash -c "if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel - gpt;touch /var/lib/sdb-gpt;fi" +- bash -c if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel + gpt;touch /var/lib/sdb-gpt;fi disk_setup: ephemeral0: layout: @@ -21,68 +21,68 @@ fs_setup: overwrite: true mounts: - - ephemeral0.1 - - "/var/lib/mesos" + - /var/lib/mesos - - ephemeral0.2 - - "/var/lib/docker" + - /var/lib/docker - - ephemeral0.3 - - "/var/tmp" + - /var/tmp runcmd: - - ln - - "-s" - - "/bin/rm" - - "/usr/bin/rm" + - -s + - /bin/rm + - /usr/bin/rm - - ln - - "-s" - - "/bin/mkdir" - - "/usr/bin/mkdir" + - -s + - /bin/mkdir + - /usr/bin/mkdir - - ln - - "-s" - - "/bin/tar" - - "/usr/bin/tar" + - -s + - /bin/tar + - /usr/bin/tar - - ln - - "-s" - - "/bin/ln" - - "/usr/bin/ln" + - -s + - /bin/ln + - /usr/bin/ln - - ln - - "-s" - - "/bin/cp" - - "/usr/bin/cp" + - -s + - /bin/cp + - /usr/bin/cp - - ln - - "-s" - - "/bin/systemctl" - - "/usr/bin/systemctl" + - -s + - /bin/systemctl + - /usr/bin/systemctl - - ln - - "-s" - - "/bin/mount" - - "/usr/bin/mount" + - -s + - /bin/mount + - /usr/bin/mount - - ln - - "-s" - - "/bin/bash" - - "/usr/bin/bash" + - -s + - /bin/bash + - /usr/bin/bash - - ln - - "-s" - - "/usr/sbin/useradd" - - "/usr/bin/useradd" + - -s + - /usr/sbin/useradd + - /usr/bin/useradd - - systemctl - disable - - "--now" + - --now - resolvconf.service - - systemctl - mask - - "--now" + - --now - lxc-net.service - /opt/azure/containers/provision.sh - - cp - - "-p" - - "/etc/resolv.conf" - - "/tmp/resolv.conf" + - -p + - /etc/resolv.conf + - /tmp/resolv.conf - - rm - - "-f" - - "/etc/resolv.conf" + - -f + - /etc/resolv.conf - - cp - - "-p" - - "/tmp/resolv.conf" - - "/etc/resolv.conf" + - -p + - /tmp/resolv.conf + - /etc/resolv.conf - - systemctl - start - dcos-docker-install.service @@ -102,7 +102,7 @@ runcmd: - enable - dcos-setup.service - - systemctl - - "--no-block" + - --no-block - start - dcos-setup.service write_files: @@ -110,7 +110,7 @@ write_files: ' owner: root - path: "/etc/mesosphere/setup-flags/repository-url" + path: /etc/mesosphere/setup-flags/repository-url permissions: '0644' - content: 'DCOS_ENVIRONMENT={{{targetEnvironment}}} @@ -118,172 +118,238 @@ write_files: owner: root path: /etc/mesosphere/setup-flags/dcos-deploy-environment permissions: '0644' -- content: '["3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb", "adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e", - "avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d", "boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec", - "bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3", "boto--6344d31eef082c7bd13259b17034ea7b5c34aedf", - "check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d", "cni--e48337da39a8cd379414acfe0da52a9226a10d24", - "cosmos--93d021389b92d4c08c7e2236da510da69b1c632f", "curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e", - "dcos-config--setup_DCOSGUID", "dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46", - "dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6", "dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a", - "dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441", "dcos-log--b542bb89a5af9642e04df35869beee4ce253e535", - "dcos-metadata--setup_DCOSGUID", "dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0", - "dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52", "dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc", - "dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62", "dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a", - "docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528", "dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3", - "erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d", "exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed", - "flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21", "java--cd5e921ce66b0d3303883c06d73a657314044304", - "libevent--208be855d2be29c9271a7bd6c04723ff79946e02", "libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8", - "logrotate--faf6c640a994ac549afe734e05d322ab9052448b", "marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d", - "mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197", "mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242", - "mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7", "metronome--4328a268b5139ab5bc2e942b28d748d6815763b5", - "navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060", "ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb", - "octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac", "openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82", - "pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc", "pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4", - "pytest--78aee3e58a049cdab0d266af74f77d658b360b4f", "python--b7a144a49577a223d37d447c568f51330ee95390", - "python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e", "python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781", - "python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65", "python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60", - "python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5", "python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed", - "python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd", "python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e", - "python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8", "python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3", - "python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d", "python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3", - "python-tox--07244f8a939a10353634c952c6d88ec4a3c05736", "rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa", - "six--f06424b68523c4dfa2a7c3e7475d479f3d361e42", "spartan--58a5611725de935357a0d96b2caef838ebc99b79", - "strace--7d01796d64994451c1b2b82d161a335cbe90569b", "teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962", - "toybox--f235594ab8ea9a2864ee72abe86723d76f92e848"] +- content: '[3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb, adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e, + avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d, boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec, + bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3, boto--6344d31eef082c7bd13259b17034ea7b5c34aedf, + check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d, cni--e48337da39a8cd379414acfe0da52a9226a10d24, + cosmos--93d021389b92d4c08c7e2236da510da69b1c632f, curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e, + dcos-config--setup_DCOSGUID, dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46, + dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6, dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a, + dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441, dcos-log--b542bb89a5af9642e04df35869beee4ce253e535, + dcos-metadata--setup_DCOSGUID, dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0, + dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52, dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc, + dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62, dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a, + docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528, dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3, + erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d, exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed, + flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21, java--cd5e921ce66b0d3303883c06d73a657314044304, + libevent--208be855d2be29c9271a7bd6c04723ff79946e02, libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8, + logrotate--faf6c640a994ac549afe734e05d322ab9052448b, marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d, + mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197, mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242, + mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7, metronome--4328a268b5139ab5bc2e942b28d748d6815763b5, + navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060, ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb, + octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac, openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82, + pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc, pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4, + pytest--78aee3e58a049cdab0d266af74f77d658b360b4f, python--b7a144a49577a223d37d447c568f51330ee95390, + python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e, python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781, + python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65, python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60, + python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5, python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed, + python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd, python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e, + python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8, python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3, + python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d, python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3, + python-tox--07244f8a939a10353634c952c6d88ec4a3c05736, rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa, + six--f06424b68523c4dfa2a7c3e7475d479f3d361e42, spartan--58a5611725de935357a0d96b2caef838ebc99b79, + strace--7d01796d64994451c1b2b82d161a335cbe90569b, teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962, + toybox--f235594ab8ea9a2864ee72abe86723d76f92e848] ' owner: root - path: "/etc/mesosphere/setup-flags/cluster-packages.json" + path: /etc/mesosphere/setup-flags/cluster-packages.json permissions: '0644' - content: '[Journal] + MaxLevelConsole=warning + RateLimitInterval=1s + RateLimitBurst=20000 ' owner: root - path: "/etc/systemd/journald.conf.d/dcos.conf" + path: /etc/systemd/journald.conf.d/dcos.conf permissions: '0644' - content: "rexray:\n loglevel: info\n modules:\n default-admin:\n host:\ \ tcp://127.0.0.1:61003\n default-docker:\n disabled: true\n" path: /etc/rexray/config.yml permissions: '0644' - content: '[Unit] + After=network-online.target + Wants=network-online.target + [Service] + Type=oneshot + Environment=DEBIAN_FRONTEND=noninteractive + StandardOutput=journal+console + StandardError=journal+console + ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb - ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try>9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket" + + ExecStart=/usr/bin/bash -c try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try>9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket ' - path: "/etc/systemd/system/dcos-docker-install.service" + path: /etc/systemd/system/dcos-docker-install.service permissions: '0644' - content: '[Service] + Restart=always + StartLimitInterval=0 + RestartSec=15 + LimitNOFILE=16384 + ExecStartPre=-/sbin/ip link del docker0 + ExecStart= + ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay ' - path: "/etc/systemd/system/docker.service.d/execstart.conf" + path: /etc/systemd/system/docker.service.d/execstart.conf permissions: '0644' - content: '[Unit] + PartOf=docker.service + [Socket] + ListenStream=/var/run/docker.sock + SocketMode=0660 + SocketUser=root + SocketGroup=docker + ListenStream=2375 + BindIPv6Only=both + [Install] + WantedBy=sockets.target ' - path: "/etc/systemd/system/docker.socket" + path: /etc/systemd/system/docker.socket permissions: '0644' - content: '[Unit] + Requires=dcos-setup.service + After=dcos-setup.service + [Service] + Type=oneshot + EnvironmentFile=/etc/environment + EnvironmentFile=/opt/mesosphere/environment - ExecStart=/usr/bin/bash -c "echo $(detect_ip) $(hostname) > /etc/hosts" + + ExecStart=/usr/bin/bash -c echo $(detect_ip) $(hostname) > /etc/hosts ' - path: "/etc/systemd/system/dcos-config-writer.service" + path: /etc/systemd/system/dcos-config-writer.service permissions: '0644' -- content: '"bound_values": - "adminrouter_auth_enabled": {{{oauthEnabled}}} +- content: 'bound_values: + adminrouter_auth_enabled: {{{oauthEnabled}}} - "cluster_name": {{{masterPublicIPAddressName}}} + cluster_name: {{{masterPublicIPAddressName}}} - "exhibitor_azure_account_key":'', listKeys(resourceId(''Microsoft.Storage/storageAccounts'', variables(''masterStorageAccountExhibitorName'')), ''2015-06-15'').key1, '' + exhibitor_azure_account_key:'', listKeys(resourceId(''Microsoft.Storage/storageAccounts'', variables(''masterStorageAccountExhibitorName'')), ''2015-06-15'').key1, '' - "exhibitor_azure_account_name": {{{masterStorageAccountExhibitorName}}} + exhibitor_azure_account_name: {{{masterStorageAccountExhibitorName}}} - "exhibitor_azure_prefix": {{{masterPublicIPAddressName}}} + exhibitor_azure_prefix: {{{masterPublicIPAddressName}}} - "master_list": ["'', DCOSCUSTOMDATAPUBLICIPSTR''"] + master_list: ['', DCOSCUSTOMDATAPUBLICIPSTR''] - "oauth_enabled": {{{oauthEnabled}}} + oauth_enabled: {{{oauthEnabled}}} - "late_bound_package_id": dcos-provider-DCOSGUID-azure--setup' + late_bound_package_id: dcos-provider-DCOSGUID-azure--setup' owner: root - path: "/etc/mesosphere/setup-flags/late-config.yaml" + path: /etc/mesosphere/setup-flags/late-config.yaml permissions: '0644' - content: '[Unit] + Before=dcos.target + [Service] + Type=oneshot + StandardOutput=journal+console + StandardError=journal+console + ExecStartPre=/usr/bin/mkdir -p /etc/profile.d + ExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh ' - path: "/etc/systemd/system/dcos-link-env.service" + path: /etc/systemd/system/dcos-link-env.service permissions: '0644' - content: '[Unit] + Description=Pkgpanda: Download DC/OS to this host. + After=network-online.target + Wants=network-online.target + ConditionPathExists=!/opt/mesosphere/ + [Service] + Type=oneshot + StandardOutput=journal+console + StandardError=journal+console + ExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz + ExecStartPre=/usr/bin/mkdir -p /opt/mesosphere + ExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere + ExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz ' - path: "/etc/systemd/system/dcos-download.service" + path: /etc/systemd/system/dcos-download.service permissions: '0644' - content: '[Unit] + Description=Pkgpanda: Specialize DC/OS for this host. + Requires=dcos-download.service + After=dcos-download.service + [Service] + Type=oneshot + StandardOutput=journal+console + StandardError=journal+console + EnvironmentFile=/opt/mesosphere/environment + ExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd + [Install] + WantedBy=multi-user.target ' - path: "/etc/systemd/system/dcos-setup.service" + path: /etc/systemd/system/dcos-setup.service permissions: '0644' - content: '' path: /etc/mesosphere/roles/azure From 79b9e6f385d7d3405eeb596bf0e32e541e772593 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Thu, 9 Mar 2017 14:29:55 -0500 Subject: [PATCH 04/12] clean custom data --- parts/dcoscustomdata190.t | 77 ++++++++++++--------------------------- 1 file changed, 24 insertions(+), 53 deletions(-) diff --git a/parts/dcoscustomdata190.t b/parts/dcoscustomdata190.t index ec8371a94d..b081d90842 100644 --- a/parts/dcoscustomdata190.t +++ b/parts/dcoscustomdata190.t @@ -1,6 +1,6 @@ bootcmd: -- bash -c if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel - gpt;touch /var/lib/sdb-gpt;fi +- bash -c "if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel + gpt;touch /var/lib/sdb-gpt;fi" disk_setup: ephemeral0: layout: @@ -118,40 +118,9 @@ write_files: owner: root path: /etc/mesosphere/setup-flags/dcos-deploy-environment permissions: '0644' -- content: '[3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb, adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e, - avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d, boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec, - bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3, boto--6344d31eef082c7bd13259b17034ea7b5c34aedf, - check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d, cni--e48337da39a8cd379414acfe0da52a9226a10d24, - cosmos--93d021389b92d4c08c7e2236da510da69b1c632f, curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e, - dcos-config--setup_DCOSGUID, dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46, - dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6, dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a, - dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441, dcos-log--b542bb89a5af9642e04df35869beee4ce253e535, - dcos-metadata--setup_DCOSGUID, dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0, - dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52, dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc, - dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62, dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a, - docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528, dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3, - erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d, exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed, - flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21, java--cd5e921ce66b0d3303883c06d73a657314044304, - libevent--208be855d2be29c9271a7bd6c04723ff79946e02, libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8, - logrotate--faf6c640a994ac549afe734e05d322ab9052448b, marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d, - mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197, mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242, - mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7, metronome--4328a268b5139ab5bc2e942b28d748d6815763b5, - navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060, ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb, - octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac, openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82, - pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc, pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4, - pytest--78aee3e58a049cdab0d266af74f77d658b360b4f, python--b7a144a49577a223d37d447c568f51330ee95390, - python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e, python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781, - python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65, python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60, - python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5, python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed, - python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd, python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e, - python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8, python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3, - python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d, python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3, - python-tox--07244f8a939a10353634c952c6d88ec4a3c05736, rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa, - six--f06424b68523c4dfa2a7c3e7475d479f3d361e42, spartan--58a5611725de935357a0d96b2caef838ebc99b79, - strace--7d01796d64994451c1b2b82d161a335cbe90569b, teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962, - toybox--f235594ab8ea9a2864ee72abe86723d76f92e848] +- content: '["3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb", "adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e", "avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d", "boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec", "bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3", "boto--6344d31eef082c7bd13259b17034ea7b5c34aedf", "check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d", "cni--e48337da39a8cd379414acfe0da52a9226a10d24", "cosmos--93d021389b92d4c08c7e2236da510da69b1c632f", "curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e", "dcos-config--setup_DCOSGUID", "dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46", "dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6", "dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a", "dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441", "dcos-log--b542bb89a5af9642e04df35869beee4ce253e535", "dcos-metadata--setup_DCOSGUID", "dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0", "dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52", "dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc", "dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62", "dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a", "docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528", "dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3", "erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d", "exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed", "flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21", "java--cd5e921ce66b0d3303883c06d73a657314044304", "libevent--208be855d2be29c9271a7bd6c04723ff79946e02", "libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8", "logrotate--faf6c640a994ac549afe734e05d322ab9052448b", "marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d", "mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197", "mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242", "mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7", "metronome--4328a268b5139ab5bc2e942b28d748d6815763b5", "navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060", "ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb", "octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac", "openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82", "pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc", "pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4", "pytest--78aee3e58a049cdab0d266af74f77d658b360b4f", "python--b7a144a49577a223d37d447c568f51330ee95390", "python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e", "python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781", "python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65", "python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60", "python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5", "python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed", "python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd", "python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e", "python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8", "python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3", "python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d", "python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3", "python-tox--07244f8a939a10353634c952c6d88ec4a3c05736", "rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa", "six--f06424b68523c4dfa2a7c3e7475d479f3d361e42", "spartan--58a5611725de935357a0d96b2caef838ebc99b79", "strace--7d01796d64994451c1b2b82d161a335cbe90569b", "teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962", "toybox--f235594ab8ea9a2864ee72abe86723d76f92e848"] -' + ' owner: root path: /etc/mesosphere/setup-flags/cluster-packages.json permissions: '0644' @@ -189,7 +158,7 @@ write_files: ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb - ExecStart=/usr/bin/bash -c try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try>9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket + ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try>9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket" ' path: /etc/systemd/system/dcos-docker-install.service @@ -252,27 +221,29 @@ write_files: EnvironmentFile=/opt/mesosphere/environment - ExecStart=/usr/bin/bash -c echo $(detect_ip) $(hostname) > /etc/hosts + ExecStart=/usr/bin/bash -c "echo $(detect_ip) $(hostname) > /etc/hosts" ' path: /etc/systemd/system/dcos-config-writer.service permissions: '0644' -- content: 'bound_values: - adminrouter_auth_enabled: {{{oauthEnabled}}} - - cluster_name: {{{masterPublicIPAddressName}}} - - exhibitor_azure_account_key:'', listKeys(resourceId(''Microsoft.Storage/storageAccounts'', variables(''masterStorageAccountExhibitorName'')), ''2015-06-15'').key1, '' - - exhibitor_azure_account_name: {{{masterStorageAccountExhibitorName}}} - - exhibitor_azure_prefix: {{{masterPublicIPAddressName}}} - - master_list: ['', DCOSCUSTOMDATAPUBLICIPSTR''] - - oauth_enabled: {{{oauthEnabled}}} - - late_bound_package_id: dcos-provider-DCOSGUID-azure--setup' +- content: | + "bound_values": + "adminrouter_auth_enabled": |- + {{{oauthEnabled}}} + "cluster_name": |- + {{{masterPublicIPAddressName}}} + "exhibitor_azure_account_key": |- + ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, ' + "exhibitor_azure_account_name": |- + {{{masterStorageAccountExhibitorName}}} + "exhibitor_azure_prefix": |- + {{{masterPublicIPAddressName}}} + "master_list": |- + ["', DCOSCUSTOMDATAPUBLICIPSTR'"] + "oauth_enabled": |- + {{{oauthEnabled}}} + "late_bound_package_id": |- + dcos-provider-DCOSGUID-azure--setup owner: root path: /etc/mesosphere/setup-flags/late-config.yaml permissions: '0644' From 77544d34b6d7af912827499b1ba6a7a6f01ca617 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Mon, 13 Mar 2017 17:51:08 -0400 Subject: [PATCH 05/12] fix customdata --- parts/dcoscustomdata190.t | 128 +++++++------------------------------- 1 file changed, 24 insertions(+), 104 deletions(-) diff --git a/parts/dcoscustomdata190.t b/parts/dcoscustomdata190.t index b081d90842..1780b94d7f 100644 --- a/parts/dcoscustomdata190.t +++ b/parts/dcoscustomdata190.t @@ -112,27 +112,17 @@ write_files: owner: root path: /etc/mesosphere/setup-flags/repository-url permissions: '0644' -- content: 'DCOS_ENVIRONMENT={{{targetEnvironment}}} - - ' - owner: root - path: /etc/mesosphere/setup-flags/dcos-deploy-environment - permissions: '0644' - content: '["3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb", "adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e", "avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d", "boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec", "bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3", "boto--6344d31eef082c7bd13259b17034ea7b5c34aedf", "check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d", "cni--e48337da39a8cd379414acfe0da52a9226a10d24", "cosmos--93d021389b92d4c08c7e2236da510da69b1c632f", "curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e", "dcos-config--setup_DCOSGUID", "dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46", "dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6", "dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a", "dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441", "dcos-log--b542bb89a5af9642e04df35869beee4ce253e535", "dcos-metadata--setup_DCOSGUID", "dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0", "dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52", "dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc", "dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62", "dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a", "docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528", "dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3", "erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d", "exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed", "flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21", "java--cd5e921ce66b0d3303883c06d73a657314044304", "libevent--208be855d2be29c9271a7bd6c04723ff79946e02", "libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8", "logrotate--faf6c640a994ac549afe734e05d322ab9052448b", "marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d", "mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197", "mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242", "mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7", "metronome--4328a268b5139ab5bc2e942b28d748d6815763b5", "navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060", "ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb", "octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac", "openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82", "pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc", "pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4", "pytest--78aee3e58a049cdab0d266af74f77d658b360b4f", "python--b7a144a49577a223d37d447c568f51330ee95390", "python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e", "python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781", "python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65", "python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60", "python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5", "python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed", "python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd", "python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e", "python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8", "python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3", "python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d", "python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3", "python-tox--07244f8a939a10353634c952c6d88ec4a3c05736", "rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa", "six--f06424b68523c4dfa2a7c3e7475d479f3d361e42", "spartan--58a5611725de935357a0d96b2caef838ebc99b79", "strace--7d01796d64994451c1b2b82d161a335cbe90569b", "teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962", "toybox--f235594ab8ea9a2864ee72abe86723d76f92e848"] ' owner: root path: /etc/mesosphere/setup-flags/cluster-packages.json permissions: '0644' -- content: '[Journal] - +- content: | + [Journal] MaxLevelConsole=warning - RateLimitInterval=1s - RateLimitBurst=20000 - - ' owner: root path: /etc/systemd/journald.conf.d/dcos.conf permissions: '0644' @@ -140,90 +130,53 @@ write_files: \ tcp://127.0.0.1:61003\n default-docker:\n disabled: true\n" path: /etc/rexray/config.yml permissions: '0644' -- content: '[Unit] - +- content: | + [Unit] After=network-online.target - Wants=network-online.target - [Service] - Type=oneshot - Environment=DEBIAN_FRONTEND=noninteractive - StandardOutput=journal+console - StandardError=journal+console - ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb - ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try>9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket" - - ' path: /etc/systemd/system/dcos-docker-install.service permissions: '0644' -- content: '[Service] - +- content: | + [Service] Restart=always - StartLimitInterval=0 - RestartSec=15 - LimitNOFILE=16384 - ExecStartPre=-/sbin/ip link del docker0 - ExecStart= - ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay - - ' path: /etc/systemd/system/docker.service.d/execstart.conf permissions: '0644' -- content: '[Unit] - +- content: | + [Unit] PartOf=docker.service - [Socket] - ListenStream=/var/run/docker.sock - SocketMode=0660 - SocketUser=root - SocketGroup=docker - ListenStream=2375 - BindIPv6Only=both - [Install] - WantedBy=sockets.target - - ' path: /etc/systemd/system/docker.socket permissions: '0644' -- content: '[Unit] - - Requires=dcos-setup.service - - After=dcos-setup.service - - [Service] - - Type=oneshot - - EnvironmentFile=/etc/environment - - EnvironmentFile=/opt/mesosphere/environment - - ExecStart=/usr/bin/bash -c "echo $(detect_ip) $(hostname) > /etc/hosts" - - ' + content: | + [Unit] + Requires=dcos-setup.service + After=dcos-setup.service + [Service] + Type=oneshot + EnvironmentFile=/etc/environment + EnvironmentFile=/opt/mesosphere/environment + ExecStart=/usr/bin/bash -c "echo $(detect_ip) $(hostname) > /etc/hosts" path: /etc/systemd/system/dcos-config-writer.service permissions: '0644' - content: | @@ -247,79 +200,46 @@ write_files: owner: root path: /etc/mesosphere/setup-flags/late-config.yaml permissions: '0644' -- content: '[Unit] - +- content: | + [Unit] Before=dcos.target - [Service] - Type=oneshot - StandardOutput=journal+console - StandardError=journal+console - ExecStartPre=/usr/bin/mkdir -p /etc/profile.d - ExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh - - ' path: /etc/systemd/system/dcos-link-env.service permissions: '0644' -- content: '[Unit] - +- content: | + [Unit] Description=Pkgpanda: Download DC/OS to this host. - After=network-online.target - Wants=network-online.target - ConditionPathExists=!/opt/mesosphere/ - [Service] - Type=oneshot - StandardOutput=journal+console - StandardError=journal+console - ExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz - ExecStartPre=/usr/bin/mkdir -p /opt/mesosphere - ExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere - ExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz - - ' path: /etc/systemd/system/dcos-download.service permissions: '0644' -- content: '[Unit] - +- content: | + [Unit] Description=Pkgpanda: Specialize DC/OS for this host. - Requires=dcos-download.service - After=dcos-download.service - [Service] - Type=oneshot - StandardOutput=journal+console - StandardError=journal+console - EnvironmentFile=/opt/mesosphere/environment - ExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd - [Install] - WantedBy=multi-user.target - - ' path: /etc/systemd/system/dcos-setup.service permissions: '0644' - content: '' @@ -327,4 +247,4 @@ write_files: - content: 'PROVISION_STR' path: "/opt/azure/containers/provision.sh" permissions: "0744" - owner: "root" + owner: "root" \ No newline at end of file From 674192bd2e7b09b4c2b91a8ad3fb873898cf157f Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Tue, 14 Mar 2017 16:49:04 -0400 Subject: [PATCH 06/12] Add new NAT rule and tests --- parts/dcoscustomdata190.t | 2 + parts/dcosmasterresources.t | 73 +- parts/dcosprovision.sh | 3 - pkg/acsengine/templates.go | 6 +- pkg/acsengine/testdata/simple/dcos1.9.0.json | 41 + .../testdata/simple/dcos1.9.0_expected.json | 1650 +++++++++++++++++ .../simple/dcos1.9.0_expected_params.json | 47 + 7 files changed, 1803 insertions(+), 19 deletions(-) create mode 100644 pkg/acsengine/testdata/simple/dcos1.9.0.json create mode 100644 pkg/acsengine/testdata/simple/dcos1.9.0_expected.json create mode 100644 pkg/acsengine/testdata/simple/dcos1.9.0_expected_params.json diff --git a/parts/dcoscustomdata190.t b/parts/dcoscustomdata190.t index 1780b94d7f..97825aef32 100644 --- a/parts/dcoscustomdata190.t +++ b/parts/dcoscustomdata190.t @@ -71,6 +71,8 @@ runcmd: - mask - --now - lxc-net.service +- sed -i "s/^Port 22$/Port 22\nPort 2222/1" /etc/ssh/sshd_config +- service ssh restart - /opt/azure/containers/provision.sh - - cp - -p diff --git a/parts/dcosmasterresources.t b/parts/dcosmasterresources.t index 519feb152f..f50747ecb5 100644 --- a/parts/dcosmasterresources.t +++ b/parts/dcosmasterresources.t @@ -110,26 +110,67 @@ }, "type": "Microsoft.Network/loadBalancers/inboundNatRules" }, +{{if IsDCOS190}} + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "masterLbLoopNode" + }, + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[resourceGroup().location]", + + "name": "[concat(variables('masterLbName'), '/', 'SSHPort22-', variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "backendPort": 2222, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "22", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, +{{end}} { "apiVersion": "[variables('apiVersionDefault')]", "location": "[resourceGroup().location]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ - { - "name": "ssh", - "properties": { - "access": "Allow", - "description": "Allow SSH", - "destinationAddressPrefix": "*", - "destinationPortRange": "22", - "direction": "Inbound", - "priority": 200, - "protocol": "Tcp", - "sourceAddressPrefix": "*", - "sourcePortRange": "*" +{{if IsDCOS190}} + { + "properties": { + "priority": 201, + "access": "Allow", + "direction": "Inbound", + "destinationPortRange": "2222", + "sourcePortRange": "*", + "destinationAddressPrefix": "*", + "protocol": "Tcp", + "description": "Allow SSH", + "sourceAddressPrefix": "*" + }, + "name": "sshPort22" + }, +{{end}} + { + "properties": { + "priority": 200, + "access": "Allow", + "direction": "Inbound", + "destinationPortRange": "22", + "sourcePortRange": "*", + "destinationAddressPrefix": "*", + "protocol": "Tcp", + "description": "Allow SSH", + "sourceAddressPrefix": "*" + }, + "name": "ssh" } - } ] }, "type": "Microsoft.Network/networkSecurityGroups" @@ -146,6 +187,9 @@ "[variables('vnetID')]", {{end}} "[variables('masterLbID')]", +{{if IsDCOS190}} + "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]", +{{end}} "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], "location": "[resourceGroup().location]", @@ -162,6 +206,9 @@ ], "loadBalancerInboundNatRules": [ { +{{if IsDCOS190}} + "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]", +{{end}} "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" } ], diff --git a/parts/dcosprovision.sh b/parts/dcosprovision.sh index da717c196a..33cfef58ed 100644 --- a/parts/dcosprovision.sh +++ b/parts/dcosprovision.sh @@ -31,9 +31,6 @@ curl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL & curl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL & wait -sed -i "s/^Port 22$/Port 22\nPort 2222/1" /etc/ssh/sshd_config -service ssh restart - for i in {1..300}; do dpkg -i $MESOSDIR/{1,2,3,4}.deb if [ "$?" = "0" ] diff --git a/pkg/acsengine/templates.go b/pkg/acsengine/templates.go index dea3048f50..071bd22c6f 100644 --- a/pkg/acsengine/templates.go +++ b/pkg/acsengine/templates.go @@ -423,7 +423,7 @@ func dcoscustomdata188T() (*asset, error) { return a, nil } -var _dcoscustomdata190T = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5a\x7b\x6f\x1c\x37\x92\xff\xdf\x80\xbf\x43\xef\x60\x01\xd9\xb7\xa1\x86\xef\x87\x8c\x59\xc0\xb1\xbd\x7b\xbe\x4b\x6c\xc3\x4a\xf6\x70\x48\x02\xa1\x48\x16\xa5\x8e\x7a\xba\x67\xbb\x39\xb2\x26\xd9\xbd\xcf\x7e\x60\xf7\x68\x34\x7a\x58\x91\x6f\xf7\x0e\xf7\x97\x34\x64\x15\x7f\xc5\x62\xbd\x58\x6c\xdf\x75\x39\x2c\xe3\xd1\xd3\x27\xa4\xf2\x30\x9c\x55\x24\x54\xb3\x3a\x55\x3f\x54\xbf\xab\x48\xaa\xe6\x17\xd0\xcf\x9b\xda\xcf\x87\xe8\xc9\xe9\x2a\x57\x3f\xbd\xc8\x67\xd8\x56\x18\xce\xba\xea\xf5\xab\xf7\xc7\x44\x59\x47\x5f\xac\xa0\xcf\x18\x2b\x32\x54\xf3\x88\x17\x85\xb8\x5a\x9e\x37\xe0\xb1\x79\xfa\xa4\xaa\x4e\x57\xf9\x45\xee\xd6\xe1\xec\xce\x72\x2f\x52\x3d\x7b\xfa\x24\xd6\xc3\xf9\xc9\x80\x79\xbd\x3a\x2a\xe4\xb8\x3a\xc3\x25\xf6\xd0\xd0\xf1\x67\x55\x35\xb0\xe9\xd6\x79\xfb\x83\x54\x52\xdd\xfd\x8f\xd1\xe9\xbf\xee\x02\xfb\x4f\x7d\x9d\xf1\xa8\xca\xfd\x1a\xa7\xc1\x0c\xbe\xc1\x93\xbc\x59\xe1\x51\x91\xe5\xe9\x93\x34\xec\xe0\x48\x15\xf1\xa2\x0e\x78\xb4\x07\x7b\xc8\x0a\x5f\xaa\x1b\x1c\x36\x43\xc6\xe5\x51\x85\x97\x59\x96\xb1\x3b\xcb\xdf\xcb\xce\xff\x31\x76\xf1\x68\xf6\x65\xb7\x6e\xf3\x30\xee\x82\xdc\x91\x9f\x54\xb3\x9d\xba\x97\x38\x74\xc3\xec\x0e\x1d\xbf\x4d\x17\xbb\x70\x8e\xfd\x5d\x42\xb1\x4f\x98\x97\xab\xd9\xd3\x27\xfd\xba\xbd\xb2\x1b\x52\x35\xed\x96\x80\x14\x94\x89\xd4\xd7\xed\xbc\x5f\xee\x7e\xae\x87\xfe\x7a\xe8\x21\x9e\xe5\x79\xac\xfb\x3b\x6c\x57\xa3\x0f\x71\x66\xb8\xcb\x37\x8d\x3d\xc4\xd5\xb4\x77\x98\xc6\xa1\x87\x78\xc2\xea\x0e\xcf\x38\xf4\x10\xcf\x74\x9a\x21\x37\x77\x58\xf7\x67\x1e\xd4\x4c\x39\xee\xbb\x9a\xd9\x8e\x3e\xc4\x59\x3c\xfb\x0e\xe3\x76\xf0\x73\x7c\x85\x6c\x28\x74\xeb\x01\x7b\x88\xf1\x0e\xff\xf5\x78\x59\x62\xb7\x89\x89\x2c\xd6\x43\xf1\xba\xab\x65\x49\xdb\x7d\xda\x2e\xd0\xe3\xd0\x35\x17\xa1\x6b\xd3\xe1\x80\x7d\xb1\xfe\x7b\x17\x58\xc2\x70\x7e\x0f\x77\x73\x19\x48\x8b\x79\x9f\x75\xde\xad\xf2\x1c\x7e\x59\xf7\x38\x0f\x5d\x9b\xa1\x6e\xb1\x1f\xe6\xab\xbe\xbb\xa8\x87\xba\x6b\x0f\x87\xb3\x09\x20\xac\xae\xd6\xbb\x3e\x3d\xcc\x61\x3e\x09\x74\x58\x24\xda\x8d\xe7\xe5\xea\xd6\x78\x59\xa1\x5f\x5e\xad\x90\x1e\x58\xe1\x73\x58\x77\xd7\x7c\x68\x85\x5b\xea\x18\x32\xf4\x79\xab\xda\xd0\x0d\x64\xf2\x54\x52\xb7\x43\x86\xa6\x79\x50\x93\xb7\x59\x0b\x48\x7d\x4a\xc6\x48\xd2\x3f\xc8\xd9\xe3\x1e\xef\x34\x17\xc9\xcf\xdd\xba\x6f\xa1\x89\x8f\xe7\x9c\x64\xfd\x22\x19\x9b\xba\x3d\x27\xd8\x5e\x3c\xc8\x84\xed\xb5\x89\x8d\x5c\x63\x50\x7f\x90\x65\xb4\x25\xe2\x9b\x2e\x9c\xcf\xee\x47\xbe\xb5\xc6\xa8\xa5\x93\x31\x1a\x8f\xb1\xae\x58\x18\xb6\xf9\xa8\x3a\x38\xcb\x79\x35\x1c\xcd\xe7\x85\xab\xee\x0e\x47\x03\xc4\x78\x8a\x87\x2d\xe6\x71\x70\xfe\x06\xfa\x66\xf3\x32\x04\x1c\x86\xa7\x4f\x9e\x3e\x39\x18\x63\xf8\xa7\x16\xfb\xa3\xaa\xef\xba\x11\x74\x05\xf9\xec\x68\x6b\x03\x63\x90\x5e\x9d\x61\x8f\xf3\x51\x08\x92\x1a\x38\x1d\xe6\x3d\xae\xba\xa1\xce\x5d\xbf\x21\xeb\x7e\x0a\x1e\x2b\xec\x97\xf5\x50\x8c\x7b\x38\xaa\x0e\xa8\x96\xf2\xe0\xa6\x6c\x25\x33\x9f\xbc\x79\xf7\x97\xb7\x1f\xdf\xbf\xfb\xf6\xcd\xbb\xef\x16\xbf\xfe\xfa\x6b\x86\xfe\x14\xf3\x9b\xf6\xa2\xee\xbb\x76\x89\x6d\xfe\xfb\xdf\xff\x5e\xc4\x2a\x19\xf2\xf3\xa2\x3d\x24\xd9\x64\x88\xb8\x6a\xba\x4d\x39\xab\xab\x75\x1f\x25\xe1\x0f\x33\x11\x33\x21\x1a\x0c\xc3\x20\x82\x90\xd4\xa0\xe7\x2a\x68\x9f\xb8\x10\x54\x70\x1d\x83\x74\x5e\x44\x14\x81\xa3\x9f\x7d\x55\xcd\x20\x2e\xeb\xb6\xef\xd6\x19\x7b\x42\x52\x0a\xca\x3b\x6a\xbd\xf7\xc0\x82\x41\x6b\x02\x52\x17\xac\x4c\xd4\x0a\x85\x22\x39\x4d\x53\xb0\x38\xfb\x6a\xda\xe1\x0c\x2e\xfa\x8e\x84\xd5\x8a\x10\xe3\x85\x52\x60\x55\x12\x2e\x80\x8e\x1e\xb9\xd4\x16\x83\xa2\xde\xb0\x24\x8c\x35\x41\x07\x13\x44\x2c\x98\xbe\xeb\x86\x4c\x9a\xda\x0f\x84\x70\xca\x54\x08\x5e\xd9\xe4\x8d\xd2\x49\xb3\x40\x39\xa2\x06\xa0\x2a\x04\x86\xdc\x48\xe5\xc0\x61\xd8\x41\x96\xda\x6a\xc8\x3d\xac\x08\xd1\x48\x15\x15\x2a\x72\xad\x7c\x14\xdc\x44\x8e\x81\x31\xc9\x28\x4b\x91\x3b\x1e\x03\x05\x48\x02\xc4\x84\x99\x3b\x42\xb4\x90\x32\x0a\x86\x98\xa8\xe5\xc1\xf8\xc8\x04\x57\xce\x33\x43\x85\x44\x30\x5e\x05\x21\x01\x63\xda\xa1\x85\x33\x0c\xe7\x24\xd7\x4b\x24\xc4\xa3\x89\xd4\x83\x51\x06\x83\x35\xc9\x39\xad\x84\xb1\x09\xd1\x04\xa3\x41\x23\x2a\x40\xe7\xf4\xb8\xc5\xd0\xd6\x84\xa0\xb4\x42\x98\x08\xc2\x81\x0d\x51\x18\x27\x99\x84\x90\x90\x46\x50\x1c\x1c\xe7\x1a\x18\x8d\x5c\x5e\xa3\x75\xc3\xb2\x1b\x08\x71\x22\x52\xce\x84\x75\xde\xf1\x28\x03\xb5\xc1\x20\xe7\x42\x47\x50\x8c\x46\xd0\xce\xb3\xa0\x05\x4f\x23\xd2\xba\x6f\x08\x61\x4c\xda\xa4\x25\x52\x61\x99\x4b\xc2\xb2\x10\x41\xc6\xc0\xd1\x82\x66\xce\x25\x2f\x82\x12\x60\xae\x4f\x6e\x3f\x68\x4d\xee\x79\x52\xec\xfb\xcf\xdf\xbf\x7d\x5d\x56\x1d\xa7\xcf\xea\x61\xf4\x10\x92\x2c\x8a\x10\xb4\x8e\x81\x79\x87\x94\x59\x4a\xd1\x70\x86\xe8\x2c\x0d\xd4\x25\x01\x36\x26\x94\xfa\xe6\xea\xf5\x12\x4e\x91\x10\xd4\xc2\x80\x67\x11\x20\xda\x68\x19\x22\x98\xe4\x3c\x52\xc9\x85\x93\xe0\x64\x90\x1c\x84\x8b\x7a\x07\x3b\xf1\x45\x5c\x0d\x84\x08\x8c\x2e\x22\x5a\x29\x85\x72\x41\x32\xc5\xb8\x08\x5e\x27\xaf\xbd\xa0\x3a\x71\xa6\x12\x80\xe7\x70\x0b\xb9\xcd\x78\xda\x43\xae\xbb\x96\x64\x1c\x32\x21\x34\x79\xae\x74\x4a\x3c\x08\x9b\x92\x51\x0c\x21\xf1\x80\xd2\x48\xcb\x8d\x00\x2b\x84\xf5\x52\x4a\xb6\x13\xa2\xe9\x4e\x09\xf1\x4a\x72\xef\xad\x03\x05\xc9\x69\xc9\x91\xca\x98\x84\xb2\xda\x79\x44\x94\x01\xb9\x12\xa8\x84\xba\x89\xbe\xc4\x0c\x11\x32\x7c\x56\xaf\x4b\xcc\x7d\x1d\x06\x42\x24\x4b\x32\x52\xcf\xbc\x95\xde\xa2\x4d\xc8\xad\xd1\x1e\xd0\x0b\x1f\xa9\x09\x68\x8d\x00\x25\x91\xde\x5c\xbf\x83\x75\x3e\x23\x84\x52\xe3\x14\x77\x11\x98\x15\x81\x26\x2e\x80\xea\xc8\x3d\xd5\xce\x70\xe6\x75\x02\x1d\x82\xf1\x8a\xef\x60\x87\xfa\xb4\x85\x62\x2b\x3e\x44\xe1\x35\xe3\xc1\xc7\x20\x8c\x13\x96\xc6\xe0\x81\x99\x10\x93\x03\xe1\xb5\x56\x3c\xba\x18\x6e\xa2\xae\x6b\x42\x22\x58\x50\x94\x0a\x10\x41\x61\x90\xc6\x26\xeb\x3c\xb3\xa0\x80\x33\x0d\xb4\x78\x90\x67\x51\x4f\x90\xed\xb0\xda\xe4\xb3\xae\x2d\xca\xb7\x42\xa0\x77\x60\xc1\xa3\x07\xc1\x8c\xf3\x52\x24\x01\x9c\xd2\xe2\x19\x92\x17\xe7\x50\x7b\x87\x38\xe5\xe1\xd3\x40\x48\xf1\x7e\x8b\x51\x4b\xa9\x81\x5a\xe9\x93\x91\x28\x53\x2a\xfa\x12\xd2\xb8\xa4\x1c\x82\x55\xdc\x8e\x90\x17\x31\x34\x35\x21\x4a\x18\x19\xa3\x4c\xc9\x2b\xe6\x12\x8b\x01\x53\xc4\x60\x9d\xe7\x5c\x1a\x14\x92\xca\xc4\x91\xa3\xd8\xe1\x61\xdf\x40\x7b\x4a\x48\xb0\x36\x52\x34\xcc\x53\x1f\xb9\xa3\x54\x33\x2e\x9d\xa5\x4e\x45\x01\x41\x70\x0a\xe8\x52\xb2\x74\xf4\x70\xbc\x3c\xab\x7d\xc9\x20\x84\x98\xa2\x2e\x9b\x9c\x34\xa8\x24\x63\x58\xdc\x5b\x46\x49\x63\x44\x06\xca\x62\x44\xcf\xca\x9f\x1d\x5e\x6a\x60\x38\x27\x84\xeb\x58\xce\xc2\xf3\xc8\x82\x88\x21\xb1\xc8\x03\x15\x3e\xd0\x28\x13\x77\xc1\xea\x28\x38\xf3\x7c\x34\xca\x9f\xe1\x02\x08\x09\x51\xa1\xe3\x2c\xa0\xd6\x9e\xc6\x12\xd2\x6d\x39\x7c\x1d\x8d\x00\xad\x8c\x60\x92\x4a\x29\xe8\x75\x44\x69\x6a\x8f\x17\xd8\xe6\x12\x68\xad\x47\xab\x54\xe4\x1e\xb9\x0b\x8e\x1b\x06\xc6\x47\x1d\xa8\x34\x5c\xa4\x64\x9c\x93\x1a\xe9\x78\x76\x25\x34\x77\xb1\x5e\x2f\x09\x71\x29\x39\xa6\xa2\xa7\x36\x68\xef\xc1\x44\x6d\x84\x85\xa4\xa8\x95\x68\x2c\xf7\x4c\x84\x72\x2a\xf6\x1a\xb1\x3b\xed\xbb\x0c\x19\x09\x49\x90\x74\xd0\x92\x82\x73\x12\x82\x92\x0e\x12\x1a\x21\x91\xaa\x28\x38\x07\xef\xa8\xe2\x52\xda\x31\x0f\x2d\xa1\x87\xc9\x5a\x12\xe8\xb2\x79\x95\x02\x63\x18\x30\xa5\x50\xb6\x0c\x08\x49\x8a\xc8\x10\x02\x47\x94\x60\xae\xb5\x39\x26\xd2\x12\x2a\x90\x1a\x11\x74\x92\x42\x27\x63\xa2\x93\x3e\x44\x0a\x89\x6a\x69\xa3\x4e\x5c\x63\x49\x0f\xce\x8c\x68\x23\x4b\x6c\x07\x42\x92\x30\x32\x60\x04\x16\x13\x44\x14\x08\x21\xfa\x98\x30\xd2\xa8\x8c\x0f\xc9\xda\x30\x8a\xc9\x6f\xc1\x2d\xbb\xb8\x6e\x70\x20\xc4\x60\x62\x51\x04\xae\x1d\x0b\x5a\xa2\x95\x89\x79\x4d\x23\xc8\x44\x99\x04\x04\xc7\x75\x04\x4c\x5b\xd8\xdc\x77\x6d\x57\x92\x89\x14\xdc\x02\xd7\xd6\x2b\x26\x1c\x78\xe5\x03\x47\x27\xb9\xe7\x36\x9a\x22\xaf\x65\xca\x68\xe1\xaf\x43\x4b\x0b\x17\xa5\xaa\x22\xc4\x33\x8c\x5a\x63\x2a\xf1\xc2\xf8\x68\x90\x32\x61\x41\x6b\x50\x4c\x29\x1b\x6c\x08\xd2\x6a\xaa\x69\x01\x6c\xc3\xba\x1f\x8a\x94\xd1\x5a\x67\x9d\xf4\x86\x01\x30\x50\x5e\x30\xe6\x21\x61\xa2\x68\x95\x34\x8e\x72\xe5\x65\x84\xe0\x77\x70\x5d\xc8\xd0\xd7\x2d\x12\xa2\x38\xb3\x4c\x80\x4e\x5a\x2a\x17\x03\x43\x8a\x82\x23\x2b\x69\xc5\x79\xa7\x30\x3a\x84\xe0\x21\x14\xbc\x6e\x85\xed\x30\x34\x84\x78\xca\x40\x70\x90\xbc\x24\x0e\x0f\x8a\x7b\xc9\x0c\x37\x1a\x9d\xa2\x0e\xa4\x64\xc8\xa2\x04\x7b\xad\xd5\xd5\xf9\xe9\x0a\xda\x08\x04\x56\x75\x31\xd6\x88\x94\xdb\x24\x51\x2b\x6d\x78\x12\x94\x01\xb3\x06\xa5\x4e\xac\x54\x32\xd1\x25\x2b\x74\x18\x31\x77\x9c\x7d\xd7\x14\xa3\xb3\x60\xa4\x83\xb2\x38\x93\x46\x43\xe4\x98\x0c\xba\x18\x5d\x64\xdc\x6b\xb0\x41\x6a\x29\xe0\xda\x45\x56\x9b\x29\x45\x18\x0b\x88\x02\x95\x05\x2a\x5d\x88\xe0\x69\xe4\x5a\x43\x32\xb2\x58\x93\x56\xd6\x0b\x4d\xbd\x1c\x93\xee\x55\x64\xf3\x06\x98\x94\x20\x9d\x32\x06\x38\x17\x51\x98\x28\xa5\x09\x4a\xdb\xa4\x98\x10\x14\xd1\x29\xe1\xe8\x3e\x58\x61\x1c\xeb\x5a\xb2\x3c\x5d\x66\x52\x2e\x29\xeb\x3e\x20\x21\x0e\xb5\x0d\xca\x43\x08\x68\x44\x50\x34\x3a\x2f\x98\x88\x5a\xd3\x24\x29\x8f\x29\x05\x70\x51\x38\xdc\x13\x20\x42\xc6\x75\xae\x1b\x42\x52\x0c\x3a\x25\xc7\x5d\xd2\x2a\x46\xea\x98\x0d\xc9\x28\x70\x10\x95\x36\x54\x6a\x2b\xa2\x60\xc6\xb2\xdb\x92\xc4\x2e\x74\xab\x5c\x8a\x1b\x0f\xc6\x26\x00\x26\x50\xf9\x24\x83\xe2\xc2\x09\x2f\xbd\xe5\xd1\xb2\x24\x82\x70\x0c\x40\xab\x3d\xf0\xd3\x75\x5b\x87\xae\x6f\x09\x01\x25\x4c\x72\x4a\x6b\x96\x3c\xd7\xd6\x05\xc5\x13\x32\xae\x18\x45\x4f\x23\x65\xc1\x5b\x01\x49\xdf\x51\x43\x3d\x74\x71\x8c\x14\x92\x46\x61\x6c\xd0\xd6\xa2\xf6\x10\x53\x64\x5a\x1b\x1d\x63\x71\x0f\x6f\x24\xf7\x09\x7d\xb0\x71\x1f\xfd\xe7\xba\xfd\x19\x38\x21\x46\x2a\x9a\x14\xa0\x02\xcb\x79\xd2\x22\x19\x50\x36\x18\x66\x38\x35\xa5\xca\x50\x3a\x26\xc5\xf6\x82\xef\x96\xff\x1c\x7e\xe9\x3a\x42\x82\x37\x01\x99\x00\x46\xb5\x0d\xd1\xf2\x18\xad\x44\xa0\x11\x05\xf7\x8a\x3b\x30\x9a\x82\xf4\x31\xee\x21\x2f\xa1\x3f\x5f\xaf\x06\x48\x48\x48\x8c\x52\x47\x5e\xf2\xa1\xd5\x8c\x69\xa5\x81\x0b\x95\x9c\x8e\x12\x62\x50\xcc\x73\x30\xa0\x1c\xc5\xdb\xe8\x2b\x18\x86\xa6\xf6\x84\x58\xca\x31\x08\x4d\x55\xa0\xde\x72\xc9\x6d\xc2\xe8\x41\x53\x67\x85\x2f\x2e\x0a\x40\x85\xf6\xde\xee\xe1\xaf\x36\x1b\x58\x36\x84\x58\x16\xa3\x94\x21\x48\xe0\x32\x96\x6d\x24\x30\x94\xe9\xa0\x95\xd5\xc0\x04\x83\x90\xb8\x71\x41\xdc\xc6\xee\xf1\xaf\x6b\x1c\xf2\x50\x2a\x01\x1e\x20\xfa\x28\x2c\x63\x21\xd0\x12\x59\xb9\x50\x25\xde\x1a\x64\x02\x81\x45\x0d\x49\xb2\xfd\xcd\xf7\x98\xfb\x4d\x5d\x92\x25\x7a\xe3\xad\x87\xc0\x84\x48\x8a\x4a\xc7\x3d\x43\x26\xa4\x0b\x1e\x8d\x09\x02\x85\xf5\x91\xf2\xbb\xf0\xb9\xbb\x24\x84\x1a\x2e\x65\xb2\xe0\x84\x03\x46\x85\x12\x5a\xc8\xe0\x14\x0f\x3a\x5a\x8b\x41\x82\x08\x54\x19\x31\x16\x85\x3d\x5e\xf6\xb0\x21\xc4\x6a\xa7\x39\xf3\x5e\x32\x16\x5c\xe2\x60\x9c\x40\x90\x3c\xc4\x84\x18\xa5\x75\xc8\x9c\xe1\x00\xd7\x65\xc4\x50\x5f\x12\x52\xe2\x3f\x97\x5e\x5b\xc5\x45\x90\x31\x01\x87\x22\x9d\x91\x46\xc5\x52\x40\x88\x28\x34\x43\x39\xe6\xbd\x61\x05\x7d\x86\x96\x10\x65\x41\x69\xc6\x0c\x57\x11\x9d\x50\x42\x19\xa0\xd1\xe9\xa2\x2e\x4c\x56\x58\xf4\xc1\x39\x6f\xdc\x35\x54\xee\xa1\xf8\xb0\x89\x94\x19\xa7\xa3\x96\xce\x49\xa9\x58\x60\x9e\x17\x17\x62\x9a\x81\x10\x2a\x78\x74\x54\x69\x37\xa6\xbc\x8c\xb0\x0c\x75\xde\x90\x25\x0e\x03\x9c\x96\x30\x8d\x9a\x0b\x90\xd1\x6a\xf4\xa5\xa6\x66\xce\x05\x4c\x21\xf0\x52\x4b\xc8\xa0\xa4\xa6\xc1\x73\xa7\xaf\xc3\x66\xee\x36\xbe\xe8\x33\x71\xa1\x94\x93\xe0\x2d\x82\x03\x6e\xb5\x44\x34\x1c\x3c\x5a\x6d\xb8\x88\x46\x27\xc7\xd1\x4a\x3b\xfb\xe9\x1f\xb8\x34\x87\x66\x3d\x94\x7b\xe2\x0a\xc2\x79\x91\xf7\xf0\xe7\xa1\x6b\x1f\x77\x77\xfe\xe1\xdf\xa6\x06\xc7\x4f\x93\xdc\xdf\xc2\xe5\x37\x78\x81\xcd\xab\xae\x1d\xba\x06\x17\x9f\xa0\x6f\xeb\xf6\x74\x9a\xfc\x08\x19\xbf\xa9\x97\x75\x7e\xdb\x66\xec\x2f\xa0\x59\xb0\xe1\xd6\xcc\xd7\xeb\x7e\xc8\x0b\x4e\x29\xa5\xbf\x7d\xdb\x9e\xf6\xb4\xed\xb4\xcc\x77\x9d\x96\xb1\x59\x16\xc7\xfb\xf6\x75\xeb\xe8\xb7\x36\xb2\x35\xc6\xa3\x1f\xdb\xaa\x6a\xba\xd3\xa6\x6c\xe2\xa8\xaa\xdb\xd4\x95\x91\x6d\x51\x30\xce\x56\x55\xc4\x04\xeb\x26\x93\xf1\x8a\xbd\x1d\xab\xaa\xb3\x6e\xc8\x47\x3f\x4e\x32\xff\x58\xe5\xb0\x3a\x9a\xcf\x19\x37\x87\xf4\x90\x1e\xb2\x23\xcd\x28\x15\x37\xd9\xa7\x62\x78\xc7\xbf\xed\x01\xc6\xa9\x5d\xfd\xe3\x56\xff\xd7\x6d\x85\x49\xc0\xf9\x74\xb5\x3b\xdc\x2c\x9b\xc7\x9d\xcf\xf7\x6d\x9d\xb7\x87\xf3\x32\x65\xec\x17\x2d\xe6\x4f\x5d\x7f\x4e\xba\xb6\xa9\x5b\x3c\x9c\x1a\x1d\x13\xc1\x7f\x40\x9b\x87\x87\x08\x7e\x38\x9e\x3a\x3d\xdb\x05\xbf\xdb\xac\x70\xd1\xb5\x38\x9c\x75\x5b\x82\xbd\x86\xc9\xe2\xf5\x9b\xaf\xdf\xbe\x7c\x77\xf2\xa7\x8f\xef\xdf\x7d\xf7\xe6\xdd\xeb\x45\xdb\xb5\xe5\xfe\xd6\x43\xc8\xf5\xc5\xf6\xb1\xe1\x38\x97\x0c\xdf\xc7\xf7\xeb\xbc\x5a\xe7\xc5\xf6\x0c\xff\x10\x26\xf3\xb9\x49\xf3\xa6\xef\xbb\xfe\x7e\x92\x37\x97\x18\x8e\x33\xf4\xf9\x43\x8f\x8b\xeb\x26\xf3\xba\x6f\x2a\x92\xbe\x19\x8e\x2f\x2a\x32\x05\xb8\x8a\xd3\x8a\xfc\x67\xc5\x8a\x81\xd1\x8a\x6c\x2a\x4d\x2b\xd2\x55\x57\x9d\xfa\x79\x3c\x8c\xe8\xab\xab\x66\x15\xfc\x62\x85\xe1\x54\x1c\x5e\x74\x87\xcb\x01\x43\x1b\x77\xed\xaa\xf1\x1a\xbb\x7d\x01\x20\xd8\x9e\xd6\x2d\x9e\xb0\x43\xc6\x0e\x39\xa1\xff\x75\x89\x6d\x0d\xcd\x09\x2c\xa3\x96\x65\xc1\x5b\x42\x2e\x6e\x34\x95\xc7\x37\xa4\xdc\x6f\x16\xec\xc5\xba\xcd\x75\x53\xc5\xd5\xf9\x69\x45\x5e\x8b\x8a\xd4\xb7\x05\xfb\xdb\xdf\xaa\x67\xcf\x72\xbf\xf9\xa3\x7b\xfe\xfc\x45\xec\xa6\x87\xa5\x69\x63\xbf\x1f\x27\xfe\xf0\x87\xe7\xcf\x5f\x0c\x0d\xe2\x6a\x3b\xf0\x2f\xb9\xdf\x8c\xb4\x2d\xbe\xd8\x75\xf7\xaa\xb1\x47\x3c\x35\xf3\xb6\xfd\xc6\xbd\xc9\x6d\x37\x72\xd7\x88\x2c\x7f\xf2\xec\x86\x3b\xde\xe7\x7f\xd3\xdf\xf9\x03\xfd\xd6\x47\x46\x94\x9b\x36\xf6\x71\x92\x66\x01\xcd\x27\xd8\x0c\x3b\x8b\xe8\xf3\xcd\x48\x42\x6f\x50\x1f\x63\x58\xb0\xed\x73\xd7\x48\xf7\xee\xfd\x9f\xde\x7e\xf3\x66\xc1\xb4\xb0\xf2\x1e\x93\x21\x53\xef\xbe\x5e\x55\x4d\xdd\x9e\x57\x11\x9b\xed\xee\xe9\xed\xa3\xfb\xec\x51\x4e\xf4\x55\x04\x5c\x76\x6d\x45\xfe\xb5\x4a\xf1\x68\x3e\xaf\x08\x19\x72\xd7\x8f\x7d\x8f\xbe\xbe\xc0\x7e\xd1\x5d\x94\x4b\xe9\xe6\xd1\xea\xbc\xd1\x0d\x3e\x8c\x73\xbc\xc4\x30\xee\xf1\xf1\xb1\xed\x46\x10\xf8\x00\x7d\x7e\x9f\x16\xb7\xbb\xcc\x93\x77\x8f\x47\xfd\xd3\x95\xde\x86\x8c\xed\x71\xee\x11\x96\x8b\xd1\x0e\xfb\x75\x3b\xdf\x33\x8a\xed\x59\x8c\x3c\xdf\x76\x11\x17\x54\x6b\xba\x3f\xf8\xfd\x80\xfd\xe2\x2a\x64\x5f\x0d\xfe\xb9\xef\xd6\xab\x2d\xfc\x3d\x40\x5c\x98\xed\xb9\x7d\x5d\xb7\xf1\xed\x87\x0b\xfd\xbe\x6d\x36\x0b\xdf\xe5\xb3\xad\x90\x6f\x27\xa3\xfa\xe9\x3a\x64\x61\xfc\x7a\xb3\x98\xcc\x74\xd8\x85\xab\x2f\x53\xef\x95\x8d\x7f\xa1\x32\x3f\xe2\x5f\xd7\x75\x8f\xc3\xe2\xbe\x66\xf8\x75\xc8\xfd\xdc\xec\x97\x84\xd3\x3f\xd5\x0d\x2e\xc6\x2d\xdc\x6a\x1e\xdf\x43\xd5\xad\xf2\x7e\xaa\xbf\xcb\xf0\x40\x24\x1a\x43\xca\xef\x9f\x45\xcc\x18\xf2\x49\xbd\x7a\x5e\xfd\xfe\x59\x49\x6d\x2d\x2c\xf1\x79\xf5\xc7\x29\x17\x95\x81\xe1\xcb\x42\xc2\xbd\xef\x28\x8f\xd3\xf8\xcc\x77\xeb\x36\x9e\x5c\x40\xb3\xc6\x61\xb6\x7d\xd9\xae\x6e\xb4\xb8\x4f\x60\x9d\xcf\x4e\xa6\x27\x8e\x38\x3b\xaa\x7e\xfd\xf5\xd7\xb1\x9b\xf6\x66\x1a\xd9\x6b\xde\x57\xd5\x6c\x5b\xee\x9c\x94\x2d\x4d\xb4\x4b\x28\x03\x1f\xd6\xbe\xa9\xc3\xdb\x0f\x2f\x63\xec\x71\x18\xde\xc1\x12\x6f\x32\xee\x5a\x43\x27\xe3\x3d\xef\x04\x42\xe8\xd6\x6d\x3e\x39\xc7\xcd\xec\xe8\xe0\xe0\xab\xaa\xa9\x87\xfc\xef\xb8\x19\x9e\x5d\x5d\xfe\xde\xc6\x67\x07\x07\xdf\xd6\xa1\xef\x86\x2e\xe5\xc3\xe3\x29\x16\xcc\xb7\x31\xe1\xe5\xc4\x3f\x14\xd6\x0b\xe8\xeb\x22\xeb\xf0\xec\xe0\x60\x12\xe7\xf8\x06\xd1\x9b\x2b\xec\x22\xd6\xc1\xc1\xf3\xe7\x5f\x55\x07\x07\x9c\x32\x45\xa8\x26\x4c\x1d\x1c\x3c\x3f\x3c\xc7\x0d\x2b\xa3\x57\xf2\xfe\xa6\xdc\xb7\x15\xf0\x00\xe2\xc3\x8a\x58\xf5\x98\xea\xcb\x2f\xd2\xe5\x44\x76\x52\x34\x36\x3b\xaa\x7e\x98\x15\x1d\xbc\x7e\xf5\xfe\xf8\xd5\xf7\xc7\xdf\xbd\xff\xf6\xf5\xcb\xef\x5e\x7e\xf8\xfe\xeb\x6f\xde\xbe\x7a\xfb\xe1\xf8\xbb\x8f\x07\x07\xb3\xad\x8f\xec\xf8\xbb\x47\x9f\xf8\xac\x81\x8c\x27\x93\x0d\x6d\x2b\xdc\x93\xba\xb0\x8c\x76\x39\xbe\x7c\x46\xec\xc9\x55\x37\x77\x7b\x87\x9f\xfc\xf5\x7f\x58\x50\x17\x44\x72\x55\xa9\xc1\xf2\x91\xef\x50\xfb\x91\xe5\x6b\x4c\x5d\x8f\x63\xe4\xf8\xb2\x0a\xec\x7f\xb5\xa2\x1a\xbf\x2b\xa8\xc8\x6a\x8a\x02\xab\xbe\x4b\x75\x83\x87\xf1\xb3\x51\xa5\x69\x2b\x32\xa4\xea\x76\x40\x2a\x53\x10\xe3\x49\xd9\xdd\x49\x51\xe7\xe1\x70\x76\x6b\xc9\xa9\x7c\x1f\xce\xbe\x28\xc6\xdc\x7e\x07\xfd\x72\xb5\xbf\xc6\x21\xf4\xf5\x2a\xd7\x5d\xbb\xf8\xb0\xed\x3f\x1d\x55\xaf\xbb\x4f\x6d\xd3\x41\xac\x5e\xbf\x9a\xbf\x3f\xae\x72\x57\xe5\xb3\x7a\x18\x2b\xfe\xc3\x7f\x56\x69\xfd\xaa\x6b\x63\x5d\x70\x3f\x40\x3e\x7b\x73\x59\x0f\x79\x58\xfc\xee\xb6\xe2\xfe\x3f\xd8\xc0\x54\x55\x93\x73\xc4\x15\x34\xf5\x05\x8e\x8f\x68\x15\x7f\x64\xa1\xbd\x2b\x68\x77\xcf\x7d\x45\x0b\x87\x97\xbf\x54\x5f\xf4\x42\x7c\xcd\x3e\xd7\x68\xb8\x95\xd2\xa3\x8a\xda\xc7\x84\xd6\x29\x47\xb9\xe0\x09\x84\xa1\x8c\x3a\x9d\x18\x22\x03\x7d\x78\x1b\xf1\x71\x86\x7e\xf3\x04\x3e\x6b\xe9\x19\xfa\x8a\xc0\x65\x7a\x68\x87\xe4\xd5\x6f\x2c\xf7\xa1\x1b\xf2\x82\xec\x7d\xfc\x33\x7e\x54\xf6\xd9\x05\xbf\xb0\x24\x9f\x6c\xf8\x9f\xed\x1b\xc7\x2b\x0c\x35\x34\xf5\x2f\xb8\xf5\x8e\xd4\xf5\x77\xdc\xe3\x66\x9d\x74\x5b\x94\x3b\xa5\xd2\xfd\x04\xff\x67\x66\xff\x0f\x94\x53\xf7\x04\xba\xab\x36\x76\x35\x26\x88\xea\xfa\x93\x0a\xb2\x3d\xa6\x87\xeb\xda\xe5\xba\xc9\x35\x59\x0f\xd8\x7f\x69\x69\x7b\xa7\xe8\x7c\xdc\x91\x1f\x3c\xfd\xec\xe7\x0c\x7d\xd7\xe0\x30\x7d\x3c\x74\x93\xe7\xc3\xc7\xf7\x7f\x79\x7b\xfc\xf6\xfd\xbb\x93\x92\xac\xf7\x05\xfb\xcd\xaf\x8d\xee\x0a\x35\xa3\x46\xca\xd9\x5e\xe2\x9d\x95\xcc\x3b\x7b\xfa\xe4\xbf\x03\x00\x00\xff\xff\x6f\x9b\xb6\x46\x7e\x29\x00\x00") +var _dcoscustomdata190T = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5a\x7b\x6f\x1c\x37\x92\xff\xdf\x80\xbf\x43\xaf\x10\x40\xf6\x6d\x38\xc3\xf7\x43\xc6\x2c\xe0\xd8\xde\x3d\xdf\x25\xb1\x11\x25\x77\x38\x24\x39\xa1\x48\x16\xa5\x8e\x7a\xba\x67\xbb\x39\xb2\x26\x9b\xbd\xcf\x7e\x60\xf7\x48\x1e\x8d\x1e\x56\x7c\xb7\x87\xfb\x43\xd0\x0c\x59\x3f\xb2\xde\x2c\x16\xc7\x77\x5d\x0e\xcb\x78\xf4\xf4\x09\xa9\x3c\x0c\x67\x15\x09\xd5\x41\x9d\xaa\x1f\xab\x3f\x54\x24\x55\xf3\x0b\xe8\xe7\x4d\xed\xe7\x43\xf4\xe4\x74\x95\xab\x9f\x5f\xe4\x33\x6c\x2b\x0c\x67\x5d\xf5\xfa\xd5\xbb\x63\xa2\xac\xa3\x2f\x56\xd0\x67\x8c\x15\x19\xaa\x79\xc4\x8b\x42\x5c\x2d\xcf\x1b\xf0\xd8\x3c\x7d\x52\x55\xa7\xab\xfc\x22\x77\xeb\x70\x76\x6b\xb9\x17\xa9\x3e\x78\xfa\x24\xd6\xc3\xf9\xc9\x80\x79\xbd\x3a\x2a\xe4\xb8\x3a\xc3\x25\xf6\xd0\xd0\xf1\x6b\x55\x35\xb0\xe9\xd6\x79\xfb\x85\x54\x52\xdd\xfe\xc4\xe8\xf4\xa9\xbb\xc0\xfe\x43\x5f\x67\x3c\xaa\x72\xbf\xc6\x69\x30\x83\x6f\xf0\x24\x6f\x56\x78\x54\x78\x79\xfa\x24\x0d\xd7\xdb\x91\x2a\xe2\x45\x1d\xf0\x68\x67\xdb\x19\x2b\xb8\x54\x37\x38\x6c\x86\x8c\xcb\xa3\x0a\x2f\xb3\x2c\x63\xb7\x96\xbf\x13\xce\xff\x67\x70\xf1\x68\xf8\xb2\x5b\xb7\x79\x18\xa5\x20\xb7\xf8\x27\x1f\xb5\xbd\xc4\xa1\x1b\x6e\x51\xf1\x3d\xaa\xd8\x85\x73\xec\x6f\x91\x89\x1d\xb2\xbc\x5c\x3d\x7d\xd2\xaf\xdb\x2b\x8f\x21\x55\xd3\x4e\xd3\x64\xd8\x92\xf9\xba\x9d\xf7\xcb\xed\x97\xf5\xd0\x5f\x0f\xdc\x4b\xbd\x3c\x8f\x75\xbf\x07\xd8\x8e\xdd\x8b\xc9\xb0\x8f\x18\x47\xee\xa5\xbf\x1a\xbc\x26\x2f\x03\xf7\x52\x87\xd5\x1e\x75\x19\xb8\x97\x7a\x32\x53\xc8\xcd\x1e\x68\x67\xfc\x7e\xd9\x8b\x05\xf7\x65\x9f\xc6\xee\xc5\x94\x30\xdd\x83\x4c\x43\x77\x22\x0a\xc9\x50\x68\xd6\x03\xf6\x10\xe3\x1e\xf2\x7a\xb4\x80\xf7\x24\x89\xf5\x50\x22\x67\xbb\x20\x69\xbb\x0f\xd3\xc7\x1e\x87\xae\xb9\x08\x5d\x9b\x66\x03\xf6\xc5\x7f\xef\x84\x2f\x61\x38\xbf\x85\x6d\x2e\x03\x69\x31\xef\x02\x87\x92\x39\xea\xea\x60\x98\xff\xe7\xfb\xae\xcf\x15\xe7\x5f\xcc\xb7\x1f\x7e\x6a\xb7\x1f\x38\x9f\xb3\x83\x6a\x8e\x39\xcc\x87\xe1\xac\xfc\xc5\x93\xc2\x40\x7d\x3a\xad\x30\x2e\x56\x0d\xc3\x59\x61\x2e\x43\x9f\xab\x32\x3e\xef\x56\x79\x0e\xbf\xae\x7b\x9c\x87\xae\xcd\x50\xb7\xd8\x0f\xf3\x55\xdf\x5d\xd4\x43\xdd\xb5\xb3\x2b\xa5\x5d\xd9\x9b\x5c\xd9\xbd\xec\x33\x49\x39\x2b\xbb\x6c\x47\xf3\x72\x75\x73\xb4\x60\xaf\x7c\x9d\xa4\xfb\xb0\x77\xee\x70\x6b\xad\xfb\xb1\x7b\x6a\x1d\xc5\xdb\x1a\x28\x74\x03\x99\xc2\x96\xd4\xed\x90\xa1\x69\x1e\xb4\xc8\x3e\x74\xd2\x20\x19\x73\x4a\xff\x20\x72\xab\xd5\xed\x32\xe3\x5c\x24\xbf\x74\xeb\xbe\x85\x26\x3e\x1e\x39\xf1\xfa\xbb\x78\x6c\xea\xf6\x9c\x60\x7b\xf1\x20\x08\xdb\x8f\x8e\x3a\xa2\xc6\xf4\xfe\x20\xa4\xf8\x24\xf1\x4d\x17\xce\xef\xde\x77\x6f\x85\x51\x47\x27\x63\x56\x1e\x33\x5f\xf1\x27\x6c\xf3\x51\x75\x78\x96\xf3\x6a\x38\x9a\xcf\x0b\xaa\xee\x66\xa3\xbb\x61\x3c\xc5\x59\x8b\x79\x1c\x9c\xbf\x81\xbe\xd9\xbc\x0c\x01\x87\xe1\xe9\x93\xa7\x4f\x0e\xc7\x5c\xfe\xa1\xc5\xfe\xa8\xea\xbb\x6e\xdc\x74\x05\xf9\xec\x68\xb2\xff\x98\xac\x57\x67\xd8\xe3\x7c\xe4\x81\xa4\x06\x4e\x87\x79\x8f\xab\x6e\xa8\x73\xd7\x6f\xc8\xba\x1f\x65\x58\x61\xbf\xac\x87\xe2\xc8\xc3\x51\x75\x48\xb5\x94\x87\x37\x39\xfb\xf1\x40\xc4\x4c\x88\x06\xc3\x30\x88\x20\x24\x35\xe8\xb9\x0a\xda\x27\x2e\x04\x15\x5c\xc7\x20\x9d\x17\x11\x45\xe0\xe8\x0f\xbe\xac\x0e\x20\x2e\xeb\xb6\xef\xd6\x19\x7b\x42\x52\x0a\xca\x3b\x6a\xbd\xf7\xc0\x82\x41\x6b\x02\x52\x17\xac\x4c\xd4\x0a\x85\x22\x39\x4d\x53\xb0\x38\x02\x2f\xfa\x8e\x84\xd5\x8a\x10\xe3\x85\x52\x60\x55\x12\x2e\x80\x8e\x1e\xb9\xd4\x16\x83\xa2\xde\xb0\x24\x8c\x35\x41\x07\x13\x44\x2c\x28\xdf\x75\x43\x26\x4d\xed\x07\x42\x38\x65\x2a\x04\xaf\x6c\xf2\x46\xe9\xa4\x59\xa0\x1c\x51\x03\x50\x15\x02\x43\x6e\xa4\x72\xe0\x30\x6c\x71\x79\xc8\x3d\xac\x08\xd1\x48\x15\x15\x2a\x72\xad\x7c\x14\xdc\x44\x8e\x81\x31\xc9\x28\x4b\x91\x3b\x1e\x03\x05\x48\x02\xc4\x04\xcb\x1d\x21\x5a\x48\x19\x05\x43\x4c\xd4\xf2\x60\x7c\x64\x82\x2b\xe7\x99\xa1\x42\x22\x18\xaf\x82\x90\x80\x31\x15\x44\x38\xc3\x70\x4e\x72\xbd\x44\x42\x3c\x9a\x48\x3d\x18\x65\x30\x58\x93\x9c\xd3\x4a\x18\x9b\x10\x4d\x30\x1a\x34\xa2\x02\x74\x4e\x8f\x82\x85\xb6\x26\x04\xa5\x15\xc2\x44\x10\x0e\x6c\x88\xc2\x38\xc9\x24\x84\x84\x34\x82\xe2\xe0\x38\xd7\xc0\x68\xe4\x72\x04\x74\xc3\xb2\x1b\x08\x71\x22\x52\xce\x84\x75\xde\xf1\x28\x03\xb5\xc1\x20\xe7\x42\x47\x50\x8c\x46\xd0\xce\xb3\xa0\x05\x9f\x98\x5b\xf7\x0d\x21\x8c\x49\x9b\xb4\x44\x2a\x2c\x73\x49\x58\x16\x22\xc8\x18\x38\x5a\xd0\xcc\xb9\xe4\x45\x50\x02\xcc\x68\xa5\xdd\xa8\x9f\x3c\xfc\xa4\x14\x71\x7f\xf9\xe1\xed\xeb\xeb\xe9\xb3\x7a\x18\xbd\x8c\x24\x8b\x22\x04\xad\x63\x60\xde\x21\x65\x96\x52\x34\x9c\x21\x3a\x4b\x03\x75\x49\x80\x8d\x09\xa5\xbe\x46\xd6\x4b\x38\x45\x42\x50\x0b\x03\x9e\x45\x80\x68\xa3\x65\x88\x60\x92\xf3\x48\x25\x17\x4e\x82\x93\x41\x72\x10\x2e\xee\xe3\x22\xae\x06\x42\x04\x46\x17\x11\xad\x94\x42\xb9\x20\x99\x62\x5c\x04\xaf\x93\xd7\x5e\x50\x9d\x38\x53\x09\xc0\x73\xf8\x08\x6e\x33\x9e\xf6\x90\xeb\xae\x25\x19\x87\x4c\x08\x4d\x9e\x2b\x9d\x12\x0f\xc2\xa6\x64\x14\x43\x48\x3c\xa0\x34\xd2\x72\x23\xc0\x0a\x61\xbd\x94\x92\x5d\x2f\xd1\x74\xa7\x84\x78\x25\xb9\xf7\xd6\x81\x82\xe4\xb4\xe4\x48\x65\x4c\x42\x59\xed\x3c\x22\xca\x80\x5c\x09\x54\x42\x5d\xa3\x96\x98\x21\x42\x86\x7b\x15\xb9\xc4\xdc\xd7\x61\x20\x44\xb2\x24\x23\xf5\xcc\x5b\xe9\x2d\xda\x84\xdc\x1a\xed\x01\xbd\xf0\x91\x9a\x80\xd6\x08\x50\x12\xe9\x35\xb2\x83\x75\x3e\x23\x84\x52\xe3\x14\x77\x11\x98\x15\x81\x26\x2e\x80\xea\xc8\x3d\xd5\xce\x70\xe6\x75\x02\x1d\x82\xf1\x8a\x5f\xe3\x86\xfa\xb4\x85\xe2\x12\x3e\x44\xe1\x35\xe3\xc1\xc7\x20\x8c\x13\x96\xc6\xe0\x81\x99\x10\x93\x03\xe1\xb5\x56\x3c\xba\x18\xae\x81\xeb\x9a\x90\x08\x16\x14\xa5\x02\x44\x50\x18\xa4\xb1\xc9\x3a\xcf\x2c\x28\xe0\x4c\x03\x2d\x91\xe1\x59\xd4\xd3\x6e\xed\xb0\xda\xe4\xb3\xae\x2d\xda\xb6\x42\xa0\x77\x60\xc1\xa3\x07\xc1\x8c\xf3\x52\x24\x01\x9c\xd2\xe2\xf6\x92\x17\xcf\x57\x93\xc1\xa6\xa3\xea\x34\x10\x52\x62\xd9\x62\xd4\x52\x6a\xa0\x56\xfa\x64\x24\xca\x94\x8a\x82\x84\x34\x2e\x29\x87\x60\x15\xb7\x23\xec\x22\x86\xa6\x26\x44\x09\x23\x63\x94\x29\x79\xc5\x5c\x62\x31\x60\x8a\x18\xac\xf3\x9c\x4b\x83\x42\x52\x99\x38\x72\x1c\x43\x1d\xfb\x06\xda\x53\x42\x82\xb5\x91\xa2\x61\x9e\xfa\xc8\x1d\xa5\x9a\x71\xe9\x2c\x75\x2a\x0a\x08\x82\x53\x40\x97\x92\xa5\x63\xd0\xe2\xe5\x59\xed\x4b\x8a\x25\xc4\x14\xfd\xd8\xe4\xa4\x41\x25\x19\xc3\x12\xb1\x32\x4a\x1a\x23\x32\x50\x16\x23\x7a\x56\xfe\x15\x58\x6a\x60\x38\x27\x84\xeb\x58\xf4\xee\x79\x64\x41\xc4\x90\x58\xe4\x81\x0a\x1f\x68\x94\x89\xbb\x60\x75\x14\x9c\x79\x3e\xba\xdd\x2f\x70\x01\x84\x84\xa8\xd0\x71\x16\x50\x6b\x4f\x63\xc9\xc8\xb6\x18\x5a\x47\x23\x40\x2b\x23\x98\xa4\x52\x0a\x3a\xe6\x87\xa6\xf6\x78\x81\x6d\x2e\x79\xd2\x7a\xb4\x4a\x45\xee\x91\xbb\xe0\xb8\x61\x60\x7c\xd4\x81\x4a\xc3\x45\x4a\xc6\x39\xa9\x91\xf2\x2d\x6a\xe8\x62\xbd\x5e\x12\xe2\x52\x72\x4c\x45\x4f\x6d\xd0\xde\x83\x89\xda\x08\x0b\x49\x51\x2b\xd1\x58\xee\x99\x08\xc5\x0c\xa3\xc2\x9b\xee\xb4\xef\x32\x64\x24\x24\x41\xd2\x41\x4b\x0a\xce\x49\x08\x4a\x3a\x48\x68\x84\x44\xaa\xa2\xe0\x1c\xbc\xa3\x8a\x4b\x69\xc7\xc3\x63\x09\x3d\x4c\x4e\x91\x40\x17\x91\x55\x0a\x8c\x61\xc0\x94\x42\x11\x14\x10\x92\x14\x91\x21\x04\x8e\x28\xc1\x8c\xea\x1b\xcf\xbb\x12\xf8\x48\x8d\x08\x3a\x49\xa1\x93\x31\xd1\x49\x1f\x22\x85\x44\xb5\xb4\x51\x27\xae\xb1\x24\x76\x67\x3e\x42\x62\x3b\x10\x92\x84\x91\x01\x23\xb0\x98\x20\xa2\x40\x08\xd1\xc7\x84\x91\x46\x65\x7c\x48\xd6\x86\x91\x43\xfe\x11\xb6\xec\xe2\xba\xc1\x81\x10\x83\x89\x45\x11\xb8\x76\x2c\x68\x89\x56\x26\xe6\x35\x8d\x20\x13\x65\x12\x10\x1c\xd7\x11\x30\x6d\x77\xcc\x7d\xd7\x76\xe5\x18\x90\x82\x5b\xe0\xda\x7a\xc5\x84\x03\xaf\x7c\xe0\xe8\x24\xf7\xdc\x46\x53\x58\xb5\x4c\x19\x2d\xfc\x98\x28\x5a\xb8\x28\x75\x05\x21\x9e\x61\xd4\x1a\x53\x89\x7e\xe3\xa3\x41\xca\x84\x05\xad\x41\x31\xa5\x6c\xb0\x21\x48\xab\xa9\x1e\x53\x40\x1b\xd6\xfd\x50\x18\x8c\xd6\x3a\xeb\xa4\x37\x0c\x80\x81\xf2\x82\x31\x0f\x09\x13\x45\xab\xa4\x71\x94\x2b\x2f\x23\x84\x51\xf7\x5d\xc8\xd0\xd7\x2d\x12\xa2\x38\xb3\x4c\x80\x4e\x5a\x2a\x17\x03\x43\x8a\x82\x23\x2b\x67\x81\xf3\x4e\x61\x74\x08\xc1\xc3\x18\xfc\xdd\x0a\xdb\x61\x68\x08\xf1\x94\x81\xe0\x20\x79\x49\xf9\x1e\x14\xf7\x92\x19\x6e\x34\x3a\x45\x1d\x48\xc9\x90\x45\x09\x76\x54\xe3\xea\xfc\x74\x05\x6d\x04\x02\xab\xba\xb8\x63\x44\xca\x6d\x92\xa8\x95\x36\x3c\x09\xca\x80\x59\x83\x52\x27\x56\xaa\x8c\xe8\x92\x15\x3a\x84\x1b\xc8\xbe\x6b\x8a\x6f\x59\x30\xd2\x41\x59\x97\x49\xa3\x21\x72\x4c\x06\x5d\x8c\x2e\x32\xee\x35\xd8\x20\xb5\x14\x30\xfa\xff\x6a\x33\x25\x77\x63\x01\x51\xa0\xb2\x40\xa5\x0b\x11\x3c\x8d\x5c\x6b\x48\x46\x16\xa7\xd1\xca\x7a\xa1\xa9\x97\x69\x8b\x19\xbd\xd1\x1b\x60\x52\x82\x74\xca\x18\xe0\x5c\x44\x61\xa2\x94\x26\x28\x6d\x93\x62\x42\x50\x44\xa7\x84\xa3\x3b\x98\xb1\x8a\x23\xcb\xd3\x65\x26\xa5\x1e\x5f\xf7\x01\x09\x71\xa8\x6d\x50\x1e\x42\x40\x23\x82\xa2\xd1\x79\xc1\x44\xd4\x9a\x26\x49\x79\x4c\x29\x80\x8b\xc2\xe1\xce\x3a\x11\x32\xae\x73\xdd\x10\x92\x62\xd0\x29\x39\xee\x92\x56\x31\x52\xc7\x6c\x48\x46\x81\x83\xa8\xb4\xa1\x52\x5b\x11\x05\x33\x96\xed\x82\xbb\xd0\xad\x72\x29\x3c\x3c\x18\x9b\x00\x98\x40\xe5\x93\x0c\x8a\x0b\x27\xbc\xf4\x96\x47\xcb\x92\x08\xc2\x31\x00\xad\x76\xa0\xa7\xeb\xb6\x0e\x5d\xdf\x12\x02\x4a\x98\xe4\x94\xd6\x2c\x79\xae\xad\x0b\x8a\x27\x64\x5c\x31\x8a\x9e\x46\xca\x82\xb7\x02\x92\xde\x15\xbe\x1e\xba\x38\x06\xbf\xa4\x51\x18\x1b\xb4\xb5\xa8\x3d\xc4\x14\x99\xd6\x46\xc7\x58\x7c\xdf\x1b\xc9\x7d\x42\x1f\x6c\xdc\xdd\xf8\x97\xba\xfd\x05\x38\x21\x46\x2a\x9a\x14\xa0\x02\xcb\x79\xd2\x22\x19\x50\x36\x18\x66\x38\x35\xa5\x16\x50\x3a\x26\xc5\xa6\x04\xba\x85\x9e\xc3\xaf\x5d\x47\x48\xf0\x26\x20\x13\xc0\xa8\xb6\x21\x5a\x1e\xa3\x95\x08\x34\xa2\xe0\x5e\x71\x07\x46\x53\x90\x3e\xee\x22\x97\xd0\x9f\xaf\x57\x03\x24\x24\x24\x46\xa9\x23\x2f\x87\x98\xd5\x8c\x69\xa5\x81\x0b\x95\x9c\x8e\x12\x62\x50\xcc\x73\x30\xa0\x1c\xdd\x35\xd2\x0a\x86\xa1\xa9\x3d\x21\x96\x72\x0c\x42\x53\x15\xa8\xb7\x5c\x72\x9b\x30\x7a\xd0\xd4\x59\xe1\x4b\xe8\x01\x50\xa1\xbd\xb7\xbb\xd8\xcd\x06\x96\x0d\x21\x96\xc5\x28\x65\x08\x12\xb8\x8c\x45\x82\x04\x86\x32\x1d\xb4\xb2\x1a\x98\x60\x10\x12\x37\x2e\x88\x1d\x68\x8f\x7f\x5d\xe3\x90\x87\x72\x5e\xf3\x00\xd1\x47\x61\x19\x0b\x81\x96\xec\xc8\x85\x2a\x39\xd3\x20\x13\x08\x2c\x6a\x48\x92\xc5\x1b\xe0\xdc\x6f\xea\x72\xc2\xa1\x37\xde\x7a\x08\x4c\x88\xa4\xa8\x74\xdc\x33\x64\x42\xba\xe0\xd1\x98\x20\x50\x58\x1f\x29\xbf\xb1\x73\xee\x2e\x09\xa1\x86\x4b\x99\x2c\x38\xe1\x80\x51\xa1\x84\x16\x32\x38\xc5\x83\x8e\xd6\x62\x90\x20\x02\x55\x46\x8c\x65\x5a\x8f\x97\x3d\x6c\x08\xb1\xda\x69\xce\xbc\x97\x8c\x05\x97\x38\x18\x27\x10\x24\x0f\x31\x21\x46\x69\x1d\x32\x67\x38\xc0\x78\xd8\x0f\xf5\x25\x21\x25\x7d\x73\xe9\xb5\x55\x5c\x04\x19\x13\x70\x28\x3c\x19\x69\x54\x2c\xc7\xbc\x88\x42\x33\x9c\xd2\xf3\xb0\x82\x3e\x43\x4b\x88\xb2\xa0\x34\x63\x86\xab\x88\x4e\x28\xa1\x0c\xd0\xe8\x74\x51\x12\x26\x2b\x2c\xfa\xe0\x9c\x37\x6e\x04\xe5\x1e\x4a\x6c\x9a\x48\x99\x71\x3a\x6a\xe9\x9c\x94\x8a\x05\xe6\x79\x89\x0f\xa6\x19\x08\xa1\x82\x47\x47\x95\x76\x63\xae\xcc\x08\xcb\x50\xe7\x0d\x59\xe2\x30\xc0\x69\x49\xb5\xa8\xb9\x00\x19\xad\x46\x5f\xca\x5a\xe6\x5c\xc0\x14\x02\x2f\x27\xbe\x0c\x4a\x6a\x1a\x3c\x77\x53\xf1\x93\xbb\x8d\x2f\x0a\x4c\x5c\x28\xe5\x24\x78\x8b\xe0\x80\x5b\x2d\x11\x0d\x07\x8f\x56\x1b\x2e\xa2\xd1\xc9\x71\xb4\xd2\x1e\xfc\x5c\x6e\x7d\x55\x55\x7d\xde\xc5\x2f\x34\xeb\xa1\x5c\xc7\x56\x10\xce\x0b\xb3\xb3\x5f\x86\xae\x7d\xcc\xfd\xef\xb7\xa9\xfb\xf9\xe3\xbf\x4c\xd7\xf4\x9f\xa7\xaf\xdf\xc0\xe5\xd7\x78\x81\xcd\xab\xae\x1d\xba\x06\x17\x1f\xa0\x6f\xeb\xf6\x74\x9a\xfc\x0e\x32\x7e\x5d\x2f\xeb\xfc\xb6\xcd\xd8\x5f\x40\xb3\x60\xc3\xde\xcc\x57\xeb\x7e\xc8\x0b\x4e\x29\xa5\x0f\x8b\xb3\xed\x12\xcc\xaf\xbb\x04\x63\xc3\x28\x8e\x57\xe2\xeb\x9e\xc7\xa7\x64\xd8\x7a\xde\xd1\x4f\x6d\x55\x35\xdd\x69\x53\x38\x3f\xaa\xea\x36\x75\x65\x64\x7b\x94\x8f\xb3\x55\x15\x31\xc1\xba\xc9\x64\xbc\xc3\x6e\xc7\xaa\xea\xac\x1b\xf2\xd1\x4f\x93\x10\x3f\x55\x39\xac\x8e\xe6\x73\xc6\xcd\x8c\xce\xe8\x8c\x1d\x69\x46\xa9\xb8\x09\x9f\x8a\xd4\x6b\xfc\xb6\x09\x16\xa7\x9e\xeb\x4f\xed\xc1\x9e\x98\x13\x83\xf3\xe9\x52\x35\xdb\x2c\x1f\x75\x35\xbf\x32\xcd\x0f\x6d\x9d\xb7\x76\x79\x99\x32\xf6\x8b\x16\xf3\x87\xae\x3f\x27\x5d\xdb\xd4\x2d\xce\x32\xf4\xa7\x98\x27\x82\x7f\x87\x36\x0f\x0f\x11\xfc\x78\x3c\x35\x2b\xb6\x0b\x7e\xbf\x59\xe1\xa2\x6b\x71\x38\xeb\xb6\x04\x6f\xda\x8b\xba\xef\xda\x25\xb6\x79\xf1\xfa\xcd\x57\x6f\x5f\x7e\x7b\xf2\xe7\xef\xde\x7d\xfb\xfd\x9b\x6f\x5f\x2f\xda\xae\x2d\x37\xa9\x1e\x42\xae\x2f\xb6\x7d\xf3\xe3\x5c\x0e\xeb\x3e\xbe\x5b\xe7\xd5\x3a\x2f\xb6\x86\xfc\x63\x98\x3c\xe7\x26\xcd\x9b\xbe\xef\xfa\xbb\x49\xde\x5c\x62\x38\xce\xd0\xe7\xf7\x3d\x2e\x3e\xb6\x54\xd7\x7d\x53\x91\xf4\xf5\x70\x7c\x51\x91\x29\x9d\x55\x9c\x56\xe4\x3f\x2a\x56\x7c\x8b\x56\x64\x53\x69\x5a\x91\xee\xba\xf3\x3c\x8f\xb3\x88\xbe\xba\xea\xb7\xc0\xaf\x56\x18\x4e\xc5\xec\xa2\x9b\x2d\x07\x0c\x6d\xbc\xee\xb8\x8c\x77\xc9\x6d\x3f\x9b\x60\x7b\x5a\xb7\x78\xc2\x66\x8c\xcd\x38\xa1\xff\x75\x89\x6d\x0d\xcd\x09\x2c\xa3\x96\x65\xc1\x3d\x26\x17\x37\x9a\xaa\xe3\x73\x48\xee\x37\x0b\xf6\x62\xdd\xe6\xba\xa9\xe2\xea\xfc\xb4\x22\xaf\x45\x45\xea\x7d\xc6\x7e\xfb\xad\x7a\xf6\x2c\xf7\x9b\x3f\xb9\xe7\xcf\x5f\xc4\x6e\x7a\x23\x99\x04\xfb\x62\x9c\xf8\xe3\x1f\x9f\x3f\x7f\x31\x34\x88\xab\xed\xc0\x3f\xe5\x7e\x33\xd2\xb6\xf8\xe2\xba\x3d\x35\x75\x4b\xa7\x7e\xd4\xb6\x61\xb6\x33\x79\xd5\xde\xbc\xea\xa4\x95\x7f\x79\xdf\x27\xaf\x42\x6f\xfa\x3f\x7f\xb0\x4d\xf8\x78\x67\xbd\xe9\x5e\xdf\x4d\x8c\x2c\xa0\xf9\x00\x9b\xe1\xda\x19\xfa\x7c\x33\x7f\xd0\x1b\xd4\xc7\x18\x16\x6c\xfb\x68\x33\xd2\x7d\xfb\xee\xcf\x6f\xbf\x7e\xb3\x60\x5a\x58\x79\x87\xb7\x90\xa9\x75\x5d\xaf\xaa\xa6\x6e\xcf\xab\x88\xcd\x56\x70\xba\x6f\xb5\x7b\xad\x38\xd1\x57\x11\x70\xd9\xb5\x15\xf9\xe7\x2a\xc5\xa3\xf9\xbc\x22\x64\xc8\x5d\x3f\xf6\x1d\xfa\xfa\x02\xfb\x45\x77\x51\xae\x8c\x9b\x4f\x68\xf2\x46\xff\x72\x16\xe7\x78\x89\x61\x94\xec\xd1\x19\xed\x8e\xd0\x7f\x0f\x7d\x7e\x97\x16\xfb\xcd\xd1\x49\xe9\xa3\x81\x7f\xbe\x52\xd9\x90\xb1\x3d\xce\x3d\xc2\x72\x31\x7a\x5f\xbf\x6e\xe7\x3b\xae\xb0\x35\xc3\x88\xf9\xa6\x8b\xb8\xa0\x5a\xd3\xdd\xc1\x1f\x06\xec\x17\x57\xc9\xfa\x6a\xf0\x2f\x7d\xb7\x5e\x2d\xae\x9e\x7f\x6e\x6d\xc4\x85\xd9\x9a\xec\xab\xba\x8d\x6f\xdf\x5f\xe8\x77\x6d\xb3\x59\xf8\x2e\x9f\x6d\x99\x7c\x3b\x39\xd5\xcf\x1f\x13\x15\xc6\xaf\x36\x8b\xc9\x39\x87\x9d\x24\xf5\x69\xcd\x8e\x90\x7b\xf5\x58\xdd\xd2\xe3\x4d\x4d\x16\x47\xfb\xeb\xba\xee\x71\x58\xdc\xd5\xc4\x9d\x48\xa6\x4c\x7b\xff\xfc\x9e\xa3\xdf\x95\x49\x6f\xe4\xd2\x3f\xd7\x0d\x2e\x46\x99\xf0\xe3\xe0\xbd\x74\xdd\x2a\xef\x9e\xf4\x77\x41\x1e\x48\x45\x63\x4e\xf9\xe2\x59\xc4\x8c\x21\x9f\xd4\xab\xe7\xd5\x17\xcf\xca\x09\xd7\xc2\x12\x9f\x57\x7f\x9a\x54\x5b\x06\x86\xc7\xe4\x84\x7b\xfa\xff\x8f\x76\xe2\x03\xdf\xad\xdb\x78\x72\x01\xcd\x1a\x87\x83\xa3\x2b\x01\x76\xbb\xc8\x27\xb0\xce\x67\x27\x53\x7f\x3e\x1e\x1c\x55\xbf\x91\x2b\xaa\xaa\xfa\xdb\xdf\xfe\x36\x76\xba\xde\x4c\xb3\x7f\xff\xfb\xdf\xaf\x57\xd8\x16\x3d\x27\x45\xae\xdb\xa8\x25\x94\xc9\xf7\x6b\xdf\xd4\xe1\xed\xfb\x97\x31\xf6\x38\x0c\xdf\xc2\x12\x77\x97\xb8\xee\xe6\x9c\x8c\x97\xb9\x13\x08\xa1\x5b\xb7\xf9\xe4\x1c\x37\x7b\x2b\x1e\x7e\x59\x35\xf5\x90\xff\x15\x37\xc3\xb3\xab\xdb\xde\xdb\xf8\xec\xf0\x9b\x3a\xf4\xdd\xd0\xa5\x3c\x3b\x9e\x72\xc5\x7c\x9b\x33\x5e\x4e\x4b\x0d\x87\x5f\x56\x17\xd0\xd7\x85\xfb\xe1\xd9\xe1\xc4\xd5\xf1\x0d\x92\x37\x57\x4c\x14\xee\x0e\x9f\x3f\xff\xb2\x3a\xe4\x94\x29\x42\x35\x61\xea\xf0\xf9\xec\x1c\x37\xec\xcb\xa9\x30\x7c\x90\xe9\x87\xf4\xf0\xc0\x8e\x0f\xe9\x63\xd5\x63\xaa\x2f\x3f\x53\xb9\x13\xd1\x49\x51\xdb\xde\x0a\x3f\x1e\x1c\x7e\x39\xfe\x32\xe0\xd5\x0f\xc7\xdf\xbf\xfb\xe6\xf5\xcb\xef\x5f\xbe\xff\xe1\xab\xaf\xdf\xbe\x7a\xfb\xfe\xf8\xfb\xef\x0e\x0f\xae\xa3\xea\xa0\xfb\x0c\xd7\x38\x68\x20\xe3\xc9\xe4\x76\xdb\x82\xf8\xa4\xbe\x09\x1e\x3d\x7b\x7c\xe3\x8b\xd8\x93\xab\xae\xec\xf6\x46\x3f\x45\xfc\x67\xd5\xe1\x65\x67\x72\x55\xe6\xc1\x67\xd7\x79\x5f\x61\xea\x7a\x1c\xd3\xcf\xef\xab\xde\xfe\xa1\xd5\xd8\xf8\xde\x5e\x91\xd5\xa4\x81\x55\xdf\xa5\xba\xc1\x59\xbc\xf7\x54\x6d\xda\x8a\x0c\xa9\xda\xcf\x66\x65\x0a\x62\x3c\x29\xd2\x9d\x14\x95\xce\x86\xb3\xbd\x25\xa7\xfa\x7f\x7a\xc1\xfe\x44\x7a\xba\xfd\xf4\xf7\x59\x1a\x7f\x8d\x43\xe8\xeb\x55\xae\xbb\x76\xf1\x7e\xdb\x81\x3a\xaa\x5e\x77\x1f\xda\xa6\x83\x58\xbd\x7e\x35\x7f\x77\x5c\xe5\xae\xca\x67\xf5\x30\x5e\x17\x66\xff\x5b\x15\xf9\xab\xae\x8d\x75\xd9\xf7\x3d\xe4\xb3\x37\x97\xf5\x90\x87\xc5\x1f\xf6\x75\xf6\xff\xc1\xfc\x53\x31\x4e\xce\x11\x57\xd0\xd4\x17\x38\xbe\x78\x55\xfc\x91\xf5\xf9\x75\x1d\x7c\xfd\x2c\x57\xb4\x30\xbb\xfc\xb5\xfa\x5d\x6f\xa3\x1f\xe1\x73\x8d\x86\x5b\x29\x3d\xaa\xa8\x7d\x4c\x68\x9d\x72\x94\x0b\x9e\x40\x18\xca\xa8\xd3\x89\x21\x32\xd0\xb3\xfd\x1d\x1f\xe7\xe3\x37\x2d\x70\xaf\x93\x67\xe8\x2b\x02\x97\xe9\x21\x09\xc9\xab\x4f\x2c\xf7\xbe\x1b\xf2\x82\xec\xfc\x12\x66\xfc\x59\xd5\xbd\x0b\x3e\xaa\x92\x9f\x3c\xf7\x1f\x12\x16\xc7\x2b\x0c\x35\x34\xf5\xaf\xb8\x0d\x8c\xd4\xf5\xb7\x22\xe3\x66\x91\x75\x17\x3f\x37\xaa\xac\xbb\x09\xfe\xcf\x3c\xfe\xf7\x56\x60\x3b\x9e\x70\x47\x7a\xbb\xea\x61\x57\xe3\xd9\xb0\xf3\x33\x02\xb2\xb5\xd5\xc3\x35\xf1\x72\xdd\xe4\x9a\xac\x07\xec\x1f\x57\x16\xdf\x59\xa5\x7e\xf2\xe5\xff\xf0\xfe\x23\xad\xef\x1a\x1c\xa6\x1f\xc5\xdc\xc4\xbc\xff\xee\xdd\xbf\xbd\x3d\x7e\xfb\xee\xdb\x93\x72\x4e\x7f\x5c\xe0\xe0\xd3\xbf\xa2\x39\xb8\xc5\xd4\x01\x35\x52\x1e\xec\x9c\xb3\x07\xe5\xa0\x3d\xf8\xef\x00\x00\x00\xff\xff\x09\x66\xf3\x3f\x6e\x28\x00\x00") func dcoscustomdata190TBytes() ([]byte, error) { return bindataRead( @@ -443,7 +443,7 @@ func dcoscustomdata190T() (*asset, error) { return a, nil } -var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x4b\x6f\xdb\x3e\x12\xbf\xf7\x53\x10\xba\x28\xfe\xc3\xb5\xdb\xe0\xbf\x97\xf4\x94\xc6\x79\x18\x8d\x1d\x23\x4a\xb3\x87\x22\x58\xd0\xe4\xd8\x26\x22\x91\x02\x49\x39\xf1\x06\xf9\xee\x0b\xea\x61\x4b\x14\xe5\xc8\x89\x8a\x2e\x16\x9b\x4b\x9b\x68\x38\xef\xf9\xcd\x70\x88\x10\x42\x2f\x9f\x50\xfa\xe3\xe1\x98\xdd\x83\x54\x4c\x70\xef\x04\x79\xbf\xd6\x58\x32\x3c\x0f\x41\x1d\xf9\xbb\x2f\x81\x16\x12\x2f\xc1\xef\x3d\x78\xfd\xe2\x1c\x85\x18\x38\x55\x37\xe6\xd8\xaf\xfc\x8f\x08\x79\xbf\x88\xe0\x04\xeb\x23\x7f\xc2\x88\x14\x4a\x2c\xf4\x60\x0a\xfa\x49\xc8\xc7\x61\x9c\xcc\x43\x46\xc6\xb3\x53\x4a\x25\x28\x05\x6a\xe8\xf7\x51\x49\x5e\x84\x95\x06\x39\xab\x52\x4d\x71\x04\x7e\xaf\xf7\xe0\xe5\x22\x1e\xb6\x0a\x84\x82\x60\x5d\xa8\x2d\x41\x89\x44\x12\xb8\x94\x22\x89\x8f\x7a\x83\xe2\x63\x49\x61\x8e\x23\xb0\x4d\xcc\x44\xe6\xe6\x9d\x12\x22\x12\xae\x33\x89\xa5\x83\xb1\x14\x31\x48\xcd\x40\x79\x27\x5b\xbf\x19\xcf\x65\xf4\x77\x9b\xb8\xc6\x77\x1d\x05\xec\xdf\xa0\x26\x38\xf6\x7b\x75\x79\xf7\x13\xf3\xd5\xef\x3d\x0c\x54\x45\xb2\xe1\xb4\x35\xf4\x75\x2b\x5f\xe7\x02\x76\x1e\xcd\x15\x1e\x56\x8f\xab\xec\x68\x7e\xf0\xff\x01\x6e\x0a\xf0\xf9\xf3\x8a\xcd\x99\x16\xf2\xbd\x91\x0e\x34\xe6\x14\x4b\xfa\xaf\xeb\xdb\xa0\x8b\x70\xbd\xbc\xb0\x05\xe2\x42\xa3\xc1\x24\xf3\x90\x14\x0b\x16\xc2\x60\xac\xce\x12\xa5\x45\x74\x3f\x3d\xbf\x7b\x7d\x3d\x3c\xaa\x23\x58\xe0\x24\xd4\x2d\xa2\x8a\xd0\xcb\xcb\x25\x68\x23\x28\x48\xe6\x1c\xf4\x28\x25\x03\x4e\x18\xa8\x5c\x74\xd7\xa1\x59\x33\xa9\x13\x1c\xe6\xc9\xd3\x3e\x16\x59\xda\x04\x31\x26\x50\xf9\xb2\xfb\x36\x93\xb0\x60\xcf\xe9\xc1\xb2\x89\x25\x23\x4f\xab\x84\x5b\x0b\x53\x2b\xb7\xff\xdf\xc6\x14\x21\x4f\xa5\x6e\xb1\x59\x5a\x5e\x53\x48\xcb\x04\x4a\xdc\x1e\x5a\x64\x47\x51\x3d\x55\x7f\x94\xb3\x03\x38\xed\x2a\xfc\xdd\xd5\xd4\xe9\x1a\xb3\x10\xcf\x59\xc8\xf4\x26\x00\xbd\x27\x76\xfb\x8c\x3f\x13\x51\x9c\x68\x18\xe2\x2a\xb7\x0f\x40\xd9\xef\xb5\xda\x09\x5e\x2d\xb2\x96\x72\x15\x80\xd6\x8c\x2f\x95\x9d\xb4\x54\x44\x98\x71\xc3\xe9\x1a\xcf\x21\x74\xcb\x3d\xe7\x34\x16\x8c\xeb\xd1\x34\x30\x94\x59\xe2\xfa\x3b\xd4\xac\x26\xeb\x16\x88\xc3\xc2\xb8\x09\xe8\x95\xa0\x86\xf7\x68\xc3\x71\xc4\x48\x1b\xdc\x6a\xc4\xf5\x6e\xa3\xf3\x3f\xd4\x68\xae\xe7\xad\x33\x62\x8e\xc9\x23\x70\x5a\x20\x91\x10\x61\x0d\x5c\x2a\xd8\xb5\x57\xea\xf7\x8c\x99\xe1\x52\x28\x50\x3a\x5c\xc2\xa3\x52\x92\x2c\xa4\xe0\x1a\x38\x1d\xcf\xce\x04\x5f\xb0\x65\x22\x53\x3b\x3f\xa0\x45\xc1\xc9\xf6\xc1\x7e\x4f\xd8\x39\x9b\x39\xc4\x41\x82\x90\xc7\x68\x25\x46\x63\xda\x2a\x3b\xfc\xfe\xa1\xb9\x51\xf7\x9c\xfd\xdb\xfb\x30\x3e\x14\x98\x7e\xc7\x21\xe6\x04\x64\xc7\x55\x44\x44\xbc\xa9\x66\x58\x3a\x65\xb8\x63\x75\x66\x3e\x55\x43\xb4\x8d\x6c\x11\xcd\x6b\x21\xe2\xa9\xa0\x50\x47\x8a\xa6\x82\x75\xa5\xc4\xc8\xef\xb4\xe2\x72\x4c\x68\x2c\xbc\x3e\xf2\x0d\x16\xf8\x41\x70\xf5\xd9\x85\x09\xf7\x93\x32\x7c\xf6\x91\xf1\xda\x98\x53\x78\x3e\xea\x1d\x50\xb4\x33\x21\x8d\x63\x8f\x8f\x4b\xee\x03\x6e\x04\x5d\x84\x02\x1b\x94\x1f\xcf\xbc\x13\xb4\xc0\xa1\x82\xb7\x2b\xce\x6e\x08\x79\x92\xef\x29\xb0\x8a\x57\xab\xd0\x5f\xc8\xc8\x55\x34\x1e\x2b\x2c\x3c\x3e\xfe\xf2\xa5\x1a\xf2\x58\x0a\x2d\x88\x48\x7b\x8e\x26\xf1\x21\x3d\xa1\x92\xc9\x43\xc6\xe7\x22\xe1\x74\x8a\xf5\x6d\x12\x76\xdd\x1f\xba\x83\xe7\x69\x70\xd9\x1a\x9f\x15\x90\x44\x32\xbd\xc9\x0c\x6a\x85\x89\x4a\xad\x0e\xc3\x3c\x4c\x48\x06\x75\x9e\xe9\xd4\x4f\xd6\xe1\xb4\xd2\x14\x91\x2c\x2e\xac\x4f\xa9\x50\x10\x5c\x39\x29\x35\xe3\xa9\x2b\x2a\xc3\xad\x39\xf6\xd7\x5e\x72\x93\x29\xb7\x98\x2f\x53\x13\x8e\x8f\x1d\xb4\x4c\x02\x29\x54\x18\x67\x91\xae\x53\xc5\x92\x09\xe3\x2f\x53\x17\x5f\xbe\x38\x3e\xef\x52\xed\x8e\xc4\xf5\xf3\x59\x58\xdb\xe8\x9e\x51\x56\xd4\xfe\xcb\xeb\x18\xa8\x79\xf6\x6f\x90\x27\x41\x9a\x6d\xff\xad\x80\xcd\x19\xe9\x00\xab\xa7\xc1\x65\x06\x2b\x6d\xef\xa3\x05\x2f\x37\xd3\x35\x07\xbd\xe3\xb7\xbb\xc1\x34\x48\x2f\x3a\x45\xbf\x3e\xff\x35\xd0\xf6\x7d\x1b\x75\x86\x19\xe8\xbf\x85\xf9\x55\xc8\xff\xfd\xad\xc9\x6e\x39\x3e\x67\xc4\xf4\xa6\x03\x5b\x0f\x8b\xdf\x33\xa6\x15\xa7\xd2\xe4\x38\x08\x9b\xca\x00\xff\xfd\xcd\x59\xd5\xa5\x44\xa1\x38\x7d\xa3\x73\xa7\xd1\x44\xfe\xd0\x31\x11\x3b\xe7\x7a\xc7\xb8\x5b\x9f\xdc\xec\xd9\xad\x32\xfb\x3a\x4c\x1c\x5b\x1d\xac\x63\xf3\x3a\x4d\xd6\x43\x6c\x8c\x25\x5b\x63\x0d\xe5\xb9\xba\x59\xd9\x0b\x26\x95\x36\x84\xae\x01\x89\xf1\x7d\x27\x6e\x88\x06\xfd\xb7\xdf\xeb\xf5\x6a\x83\x7f\x45\x0b\xc7\x8d\x34\xd0\x58\x33\xe2\xc0\xf9\x74\xa7\xb2\xf7\x22\x50\x77\x1f\x07\x9d\xed\x62\xac\x19\xc9\xe5\xaf\xfd\x6d\x02\xa1\xbe\xe7\x6a\x03\x6d\xc7\xb5\x2d\xa0\x7e\xb2\x65\x1c\xd0\x80\xc6\x5c\x83\x5c\x60\xd2\xf5\x4c\xd5\x59\xf3\x59\x47\x87\xf7\x9e\xe6\x8b\x7d\xcd\x6a\x27\x00\x1c\x86\xa8\x6e\x89\x4d\x8b\xa7\xa1\xa3\x26\x6b\xab\x2e\x8b\xfb\x81\x0f\x0a\x2d\x8e\xd4\x56\xd4\xb5\x36\xa5\xf1\x52\x79\x27\xf9\x6f\xe5\x30\x4a\x48\xcb\x2b\x48\xfb\x96\x87\x4a\xe5\xee\x63\xa2\x80\x2f\x19\x87\x77\x5c\x8d\x6a\xc1\xfd\xed\x7d\xf2\xc0\xfe\x68\x05\xb2\xa1\x4a\xdd\x9b\x83\xa6\x64\x68\x99\x0b\xce\x8b\xd8\x0a\x4b\xfa\x84\x25\xe4\xc3\x93\xad\x4f\xf6\x42\xd4\x00\x62\xc5\xfb\x90\x9b\x73\x5e\x24\x0d\x8c\xeb\xc0\x51\xdb\x82\xdb\x40\xdb\x6a\xab\x52\xe3\xeb\xf7\x3f\x32\xf1\xd8\xd8\xfc\xf6\x06\x5e\xa8\x06\x8b\x31\x8d\x18\xff\xa9\x40\xba\x2e\x7e\x95\x8f\xf6\x52\xca\x23\x59\xe0\x65\x47\xc9\x89\x8a\x27\x81\xd1\xd9\x4d\x90\xcd\xce\xd9\xc4\x3c\xc2\x1a\x57\x1e\x19\xbc\x90\xf1\xe4\x79\xdf\x1a\x20\xbd\x78\x29\xa3\xc4\x0c\x2b\xf5\x24\x24\x3d\x4d\xf4\x0a\xb8\x66\xbb\xba\xd3\x32\xa9\x4d\x75\xe6\x12\xea\x6c\x99\xd9\x5a\xec\x07\x6c\xdc\xc3\x8d\x2b\x33\x4a\xa7\x1f\x61\x63\x8c\xb0\xdd\xab\xd4\xea\x36\x38\x9d\x15\xac\xeb\x5b\xbf\xaa\x0a\x58\xaf\x1c\x1c\x7e\xc0\x66\x86\xf5\xca\xd1\xaf\xb3\x1f\x7b\xca\x29\x67\x88\xfd\xfd\xb5\x12\x0a\xb6\x40\x83\x6b\xe3\xe9\xe2\x0a\x73\x85\x55\x00\x44\x82\xae\xbe\xf9\x54\x92\x42\x65\x04\xb6\xa2\x61\x89\x4f\xce\xc3\xd2\xd8\xbe\xe7\x54\xde\x8f\x32\x7c\x6f\x48\x61\x16\xe1\x25\xdc\xc2\x02\x24\xf0\xda\xb3\x96\xc9\xfd\xc5\x02\xa4\xad\x90\x50\x63\x73\xec\xc6\x7c\x73\xad\x5b\x4d\x50\xd4\xaa\xf1\xdc\xac\xf8\xee\x38\xab\x1e\x93\x86\x53\xc1\x8f\x9f\x0e\xfa\xb5\x7b\x06\xc9\xcf\xe4\x73\x88\xbd\x95\xae\x38\x5d\xa8\x11\x53\x8f\x75\xcb\x09\x26\x2b\xc6\x97\x86\xf3\x2d\x60\xfa\x4f\xc9\x74\x2d\xe5\xd3\x9e\x07\x37\xdb\x35\xc9\x85\x14\x51\x2a\xd8\x26\xfc\x48\x99\xf7\xfd\xcf\x42\x51\xa6\x1e\x5d\xe6\xaf\xa8\xeb\x0a\x95\x48\x56\x96\x26\x8b\xf8\x1e\xd5\xc7\x91\x86\x27\x62\xd7\x34\xe2\x1a\x2e\x7a\xfd\xfd\xcf\xfa\xbd\x41\x2c\x59\x84\xe5\xa6\x78\x47\x52\x83\x79\x28\xe6\x7d\x7f\xbd\xa2\x4e\x21\xcd\xd7\x90\xad\x1f\x06\xeb\x15\xad\x95\xac\xbb\x14\xdb\x0c\xbe\x45\x0f\xce\x9f\x41\x27\x69\xdc\xff\xdc\x53\x53\x83\x3a\xad\xe6\x51\x95\xcc\xeb\xa9\x95\x0f\xd1\x7d\xf4\xf5\xcf\xac\x1d\xde\x52\xca\xdc\xc0\x9f\x30\xd3\x0b\x21\x43\xc0\xb4\x0a\x0b\xcd\x53\x57\xa2\xc5\xcf\x78\x29\x31\x85\x09\xe3\x42\xee\xa2\x62\x7a\x93\xfd\x24\x59\xa0\xd1\xce\xcd\x37\xc1\xdd\xd9\xf9\xb3\x06\xae\xd2\x9d\x46\x19\x30\x1b\x9e\x4b\x89\x88\x22\xcc\xe9\x9d\x38\x7f\x06\x92\xe8\x6c\xf1\xba\x42\x9f\x09\xf2\x13\xae\x59\x88\x62\xc6\x97\xe8\x33\xf9\x8a\x32\x33\x06\x11\x28\xa1\xbe\x51\x81\x80\xac\x04\x32\x26\x1a\x82\x85\x90\x55\x02\x15\x02\xc4\xe8\xeb\x3f\xbe\x51\xc1\xe1\x5b\x4a\x5b\xfe\x8e\x92\xd8\x77\x8f\x63\x45\x2a\x67\x9d\x3e\x48\xf7\xb5\x17\x42\xa6\x6d\xc7\xb3\xe8\xae\x30\xa7\x21\x94\xbc\xe4\x7d\x1d\xfc\xdd\x66\xed\xde\x94\x8e\xb0\xf3\x5d\x56\x28\x9f\xfe\x13\x00\x00\xff\xff\x09\xd4\x9d\x08\xdd\x25\x00\x00") +var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xdd\x53\xdb\x3a\x16\x7f\xef\x5f\xa1\xf1\x8b\xc9\x4e\x9a\x00\x73\xf7\x61\xdb\x27\x0a\xb4\xcd\x14\x42\x06\x53\xf6\xa1\xc3\xec\x28\xd2\x49\xa2\xc1\x96\x3c\x92\x1c\xc8\x32\xfc\xef\x3b\xf2\x47\x62\x59\x72\x70\x20\xbd\xb7\x7b\xa7\xbc\xb4\x60\x9d\xa3\xf3\xf1\x3b\x1f\x3a\x12\x42\x08\x3d\xbd\x43\xf9\x4f\x80\x53\x76\x0b\x52\x31\xc1\x83\x0f\x28\xf8\xb1\xc4\x92\xe1\x69\x0c\xea\x20\xdc\x7c\x89\xb4\x90\x78\x0e\x61\xef\x2e\xe8\x57\x74\x14\x52\xe0\x54\x5d\x19\xb2\x1f\xe5\x1f\x11\x0a\x7e\x10\xc1\x09\xd6\x07\xe1\x25\x23\x52\x28\x31\xd3\x83\x31\xe8\x07\x21\xef\x87\x69\x36\x8d\x19\x19\x4d\x4e\x28\x95\xa0\x14\xa8\x61\xd8\x47\xb5\xfd\x12\xac\x34\xc8\x89\xbd\x6a\x8c\x13\x08\x7b\xbd\xbb\xa0\xdc\xe2\x6e\x2d\x40\x2c\x08\xd6\x95\xd8\x12\x94\xc8\x24\x81\x2f\x52\x64\xe9\x41\x6f\x50\x7d\xac\x09\xcc\x71\x02\x4d\x15\x8b\x2d\x4b\xf5\x4e\x08\x11\x19\xd7\xc5\x8e\x35\xc2\x54\x8a\x14\xa4\x66\xa0\x82\x0f\x6b\xbb\x19\xcb\x15\xeb\x6f\x56\xa9\xc3\x77\x99\x44\xec\xbf\xa0\x2e\x71\x1a\xf6\xdc\xfd\x6e\x2f\xcd\xd7\xb0\x77\x37\x50\xd6\xce\x86\xd3\x5a\xd1\xe7\xf5\xfe\xba\xdc\x60\x63\xd1\x52\xe0\xa1\x4d\xae\x0a\xd2\x92\xf0\xb7\x83\xdb\x1c\x7c\xfe\xb8\x60\x53\xa6\x85\x7c\xad\xa7\x23\x8d\x39\xc5\x92\xfe\xe7\xe2\x3a\xda\x87\xbb\x9e\x9e\xd8\x0c\x71\xa1\xd1\xe0\xb2\xb0\x90\x14\x33\x16\xc3\x60\xa4\x4e\x33\xa5\x45\x72\x3b\x3e\xbf\x79\x7e\xde\xdd\xab\x67\x30\xc3\x59\xac\x3b\x78\x15\xa1\xa7\xa7\x2f\xa0\xcd\x46\x51\x36\xe5\xa0\xcf\xf2\x65\xc0\x09\x03\x55\x6e\xbd\x6f\xd7\x2c\x99\xd4\x19\x8e\x4b\xf0\x74\xf7\x45\x01\x9b\x28\xc5\x04\xac\x2f\x9b\x6f\x13\x09\x33\xf6\x98\x13\xd6\x55\xac\x29\x79\x62\x2f\x5c\x6b\x98\x6b\xb9\xfe\xff\xda\xa7\x08\x05\x2a\x37\x4b\x93\x65\xc3\x6a\x0a\x69\x99\x41\x8d\xdb\x5d\x07\x74\x54\xd1\x63\xdb\xa3\x8e\x0e\xe0\x74\x5f\xee\xdf\x5f\x4c\x9d\x2c\x31\x8b\xf1\x94\xc5\x4c\xaf\x22\xd0\x5b\x7c\xb7\x4d\xf9\x53\x91\xa4\x99\x86\x21\xb6\xb9\xbd\x21\x95\xfd\x5c\xad\xbd\xc9\xab\x03\x6a\x29\x57\x11\x68\xcd\xf8\x5c\x35\x41\x4b\x45\x82\x19\x37\x9c\x2e\xf0\x14\x62\xff\xbe\xe7\x9c\xa6\x82\x71\x7d\x36\x8e\xcc\xca\x02\xb8\xe1\x26\x6b\xda\x60\x5d\x27\xe2\xb8\x52\xee\x12\xf4\x42\x50\xc3\xfb\x6c\xc5\x71\xc2\x48\x97\xbc\xd5\x9a\xd7\xf7\xeb\x9d\xbf\x51\xa1\xb9\x98\x76\x46\xc4\x14\x93\x7b\xe0\xb4\xca\x44\x42\xc4\x4e\x72\xb1\x72\xd7\xd6\x5d\x3f\x15\xcc\x0c\x97\x4a\x80\x1a\x71\x2d\x1f\xd5\x40\x32\x93\x82\x6b\xe0\x74\x34\x39\x15\x7c\xc6\xe6\x99\xcc\xf5\x7c\x83\x14\x15\xa7\xa6\x0d\xb6\x5b\xa2\x89\xd9\xc2\x20\x9e\x25\x08\x05\x8c\x5a\x3e\x1a\xd1\x4e\xe8\x08\xfb\xbb\x62\xc3\xb5\x5c\xf3\xb7\xd7\xe5\xf8\x58\x60\xfa\x09\xc7\x98\x13\x90\x7b\x8e\x22\x22\xd2\x95\x8d\xb0\xbc\xcb\xf0\xfb\xea\xd4\x7c\xb2\x5d\xb4\xf6\x6c\xe5\xcd\x0b\x21\xd2\xb1\xa0\xe0\x66\x8a\xb6\x80\xf5\x41\xe2\x2c\xdc\x6b\xc4\x95\x39\xa1\x35\xf0\xfa\x28\x34\xb9\x20\x8c\xa2\xaf\xef\x7d\x39\xe1\xf6\xb2\x9e\x3e\xfb\xc8\x58\x6d\xc4\x29\x3c\x1e\xf4\x76\x08\xda\x89\x90\xc6\xb0\xc7\xc7\x35\xf3\x01\x37\x1b\x7d\x8e\x05\x36\x59\x7e\x34\x09\x3e\xa0\x19\x8e\x15\xbc\x1c\x71\xcd\x82\x50\x82\x7c\x4b\x80\x59\x56\xb5\x53\x7f\xb5\x47\x29\xa2\xb1\x58\xa5\xe1\xf1\xf1\xe1\xa1\xed\xf2\x54\x0a\x2d\x88\xc8\x6b\x8e\x26\xe9\x2e\x35\xc1\x42\xf2\x90\xf1\xa9\xc8\x38\x1d\x63\x7d\x9d\xc5\xd0\xe8\x6c\x47\xea\xec\xf4\x2a\x3a\xfa\xd7\xe1\xf3\xb3\xf9\xf3\x6f\xb8\xb7\xc3\xfd\x2d\x78\x37\x1e\x3f\x3e\xfe\x33\x50\xff\xff\x80\xfb\xe3\xe3\x3f\x19\xe8\xbf\x64\x93\x3e\x8e\xbe\x74\x6e\x48\x14\x90\x4c\x32\xbd\x2a\x14\x33\x50\x77\xa2\xd7\x3e\x4c\xb9\xe5\x79\x6b\x85\x5f\xaf\x61\xc2\x6c\x63\x90\x74\x78\xd4\xf7\x2f\xc2\x84\x14\x3d\x40\x60\x5a\xd8\x87\xa0\x65\x19\x65\x12\x48\x65\xa9\x51\xe1\x9a\xd6\xb5\xa0\x34\xe3\xb9\xe9\x0c\x46\xae\x31\x9f\x43\x01\x14\x0b\x2a\x16\x4d\x61\x79\x6b\xf9\x3f\x3a\xf0\xb7\x4e\x97\x5b\x89\xea\xb8\xbc\x21\xe9\x16\xde\x44\xb2\xb4\xd2\x34\xb7\x09\x8a\xa2\xaf\xdb\xe5\xf6\x88\xe1\x2c\x7f\x76\x39\xac\xe1\xa4\xd4\xa2\xc8\x29\x36\x59\x03\xed\xd5\xcf\x3e\xe0\x70\xf8\x2b\xc0\xe1\x37\x18\xea\xd4\x35\x30\x04\x2d\xcd\xf0\x2e\x0d\x30\x2f\xfe\x8d\xca\x5c\x93\x27\xb5\x5f\xb5\x11\xe6\x8c\xec\xa1\x29\x18\x47\x5f\x8a\xb2\xd5\x75\xce\x57\xf1\xf2\x33\x5d\x72\xd0\x1b\x7e\x76\x18\x6e\x69\x49\xdc\x56\xcc\x3d\x68\xb7\x10\xf7\xc3\x66\xd5\x1b\xd6\xbb\x8d\x97\x9a\x8d\x66\xaf\xe1\x0a\xfd\x9a\xed\x77\xde\xf8\xe7\x1f\x41\x9a\x4d\x56\xc8\x19\x31\xdd\xd8\x8e\xcd\x16\x4b\x5f\x73\x1c\xaf\xa8\x72\xb0\xee\x74\xee\xae\xf7\x37\x9f\x5e\x9c\x49\xf8\x84\xa8\x04\xa7\x2f\x74\xac\xb9\x37\x51\x38\xf4\x4c\x3e\xbc\xf3\x1b\xcf\x58\xc3\x3d\xa1\x37\xcf\xe8\xd6\x8c\xc3\xa3\xe2\xa8\xd1\xc0\xf9\xd5\x6b\x0d\x96\x9d\xf5\xdd\x6b\xf0\xb8\x52\x78\x4b\xf1\xdb\x05\x7c\x6d\x78\xed\xe2\x95\x54\xb2\x25\xd6\x50\x9f\xf8\xb4\x0b\xfb\x99\x49\xa5\xcd\x42\xdf\x21\x86\xf1\x6d\x14\x57\x44\x83\xfe\x23\xec\xf5\x7a\xce\x48\xca\x92\xc2\x33\x2b\x8d\x34\xd6\x8c\xb8\x44\xc5\x65\xc0\xd6\x11\x95\x6b\x3e\x0e\xba\xb8\x25\x68\x9c\x62\x7c\xf6\xda\x3e\x69\x42\xa8\x1f\xf8\x0a\x69\xd7\x03\xd5\xba\x24\xbd\x6b\xee\xb1\x43\x09\x1f\x71\x0d\x72\x86\xc9\xbe\xa7\xc1\x7b\x2b\xdf\xcb\x64\xf7\xea\xdd\x3e\x72\x76\xb4\xf6\xa6\xac\xdd\x6a\x80\x7f\xc7\xb6\x2b\x91\xa1\x27\x26\x9d\x4b\x98\x06\xf7\x1d\xaf\xba\x3b\x90\x38\x97\xa7\x4e\x61\xd5\x78\xae\x82\x0f\xe5\x6f\x75\x37\x4a\xc8\xc3\x2b\xca\x2b\x6d\x80\x6a\xe1\x1e\x62\xa2\x80\xcf\x19\x87\x57\x8c\x2f\x1c\xe7\xfe\xf4\xca\xbe\x63\x45\x6f\x38\xb2\x25\x4a\xfd\x33\xed\x36\x30\x74\xc4\x82\x77\x54\xb2\xc0\x92\x3e\x60\x09\x65\xfb\xd9\x94\xa7\x78\xbb\xd0\x92\xc4\xaa\x97\x0b\x7e\xce\x65\x90\xb4\x30\x76\x13\x87\x73\x3f\xdb\x4c\xb4\x9d\xe6\xfd\x0e\xdf\xb0\xff\x96\x1e\xad\x99\x9b\x5f\xbe\x1b\x16\xaa\x45\x63\x4c\x13\xc6\xbf\x2b\x90\xbe\x09\x8d\xf5\xb1\x79\x5d\x12\x90\xc2\xf1\x72\x4f\xe0\x44\xd5\x65\xb5\x69\x69\x8a\xd3\x47\x71\xe6\x38\xc3\x1a\x5b\xed\x43\x10\x33\x9e\x3d\x6e\x1b\xd4\xe5\x27\x6d\x65\x84\x98\x60\xa5\x1e\x84\xa4\x27\x99\x5e\x00\xd7\x6c\x13\x77\x5a\x66\x4e\x1f\x6a\x8e\x90\xde\x92\x59\x5c\xd8\x7c\x83\x95\xbf\x1d\xf3\x21\xa3\x46\x7d\x0f\x2b\xa3\x44\xd3\xbc\x4a\x2d\xae\xa3\x93\x49\xc5\xda\xbd\x8f\xb2\x45\xc0\x7a\xe1\xe1\xf0\x0d\x56\x13\xac\x17\x9e\x7a\x5d\xfc\xb8\x7d\xd7\x5d\x87\x3a\x6e\x5c\xc1\x66\x68\x70\x61\x2c\x5d\x1d\x02\xbf\x62\x15\x01\x91\xa0\xed\xd7\x08\x16\x28\x54\xb1\xa0\x29\x68\x5c\xe3\x53\xf2\x68\x48\xdc\xec\x12\xad\x97\x0d\x45\x7e\x6f\x81\x30\x4b\xf0\x1c\xae\x61\x06\x12\xb8\xf3\xe0\xc2\x60\x7f\x36\x03\xd9\x14\x48\xa8\x91\x21\xbb\x32\xdf\x7c\x17\x81\xc6\x29\x6a\xd1\x4a\x37\xa9\xbe\x7b\x68\xd5\x7d\xd6\x42\x15\x7d\xfb\xee\x59\xbf\xf4\xf7\x20\x25\x4d\xd9\x87\x34\xef\x4b\x2d\xa3\x0b\x75\xc6\xd4\xbd\xab\x39\xc1\x64\xc1\xf8\xdc\x70\xbe\x06\x4c\xff\x2d\x99\x76\x20\x9f\xd7\x3c\xb8\x5a\x0f\x6b\x3e\x4b\x91\xe4\x1b\x37\x17\xbe\x25\xcc\xfb\xe1\x7b\xa1\x28\x53\xf7\x3e\xf5\x17\xd4\x77\xe8\xcb\x24\xab\xef\x26\x2b\xff\x1e\xb8\xed\x48\xcb\xe3\x25\x5f\x37\xe2\x6b\x2e\x7a\xfd\xed\x0f\xce\x7a\x83\x54\xb2\x04\xcb\x55\xf5\xc2\x41\x0d\xa6\xb1\x98\xf6\xc3\xe5\x82\x7a\x37\x69\x3f\x86\xac\xed\x30\x58\x2e\xa8\x13\xb2\xfe\x50\xec\xd2\xf8\x56\x35\xb8\x7c\xa0\x73\x99\xfb\xfd\xaf\x7b\x04\xd1\x22\x4e\xa7\x7e\x54\x65\x53\x17\x5a\x65\x13\xdd\x47\x47\x7f\xcd\xa0\xe4\x25\xa1\xfa\x28\x1c\x3e\x60\xa6\x67\x42\xc6\x80\xa9\x9d\x16\xda\xbb\xae\x4c\x8b\xef\xe9\x5c\x62\x0a\x97\x8c\x0b\xb9\xf1\x8a\xa9\x4d\xcd\xc7\x32\x55\x36\xda\x98\xf9\x2a\xba\x39\x3d\x7f\xd4\xc0\x55\x3e\x85\xa9\x27\xcc\x96\x87\x3c\x44\x24\x09\xe6\xf4\x46\x9c\x3f\x02\xc9\x74\x31\x36\x5d\xa0\xf7\x04\x85\x19\xd7\x2c\x46\x29\xe3\x73\xf4\x9e\x1c\xa1\x42\x8d\x41\x02\x4a\xa8\x8f\x54\x20\x20\x0b\x81\x8c\x8a\x66\xc1\x4c\x48\x7b\x81\x8a\x01\x52\x74\xf4\xcf\x8f\x54\x70\xf8\x98\xaf\xad\x7f\x47\x59\x1a\xfa\xdb\xb1\x0a\xca\x45\xa5\x8f\xf2\xa9\xf1\x67\x21\xf3\xb2\x13\x34\xd6\x7d\xc5\x9c\xc6\x50\xb3\x52\x70\x34\xf8\xa3\xcb\x3d\x59\x1b\x1c\x61\x63\xbb\x22\x50\xde\xfd\x2f\x00\x00\xff\xff\x6e\x3d\xdc\x1f\x77\x2c\x00\x00") func dcosmasterresourcesTBytes() ([]byte, error) { return bindataRead( @@ -503,7 +503,7 @@ func dcosparamsT() (*asset, error) { return a, nil } -var _dcosprovisionSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x95\x7d\x6f\xdb\x36\x10\x87\xff\x17\xa0\xef\x70\x73\x82\x61\x05\x22\xea\xc5\x81\xbb\x2d\x08\x86\xce\x56\x0b\x63\xae\x1c\xd8\xee\x8a\xbd\x0a\x14\x79\xb2\x08\xd3\xa4\x40\x52\xce\x92\xa2\xfb\xec\x83\xa4\x3a\xee\xd6\xa4\x5d\xdc\x0a\x30\x2c\xcb\xba\xe7\x77\x3e\x3d\x26\x4f\xbe\x0a\x0b\xa1\xc2\x82\xda\xca\xf7\x7c\xef\x65\xba\x9c\x2f\x27\xd3\xc5\x65\xb8\xa3\x26\x94\xa2\x08\xb7\x68\xb5\x0d\xb9\xf4\xbd\xed\x86\x0b\x03\xa7\xfb\x5b\xda\xdb\x4f\x40\x6a\xca\xc1\x55\x08\xa8\x76\xb0\xa3\xc6\xfa\x1e\x81\x10\x1d\xeb\x0b\xeb\x0a\x0d\x86\x16\x5d\x53\x07\xa5\xa4\x6b\x1b\x72\xa6\x6d\xc0\xb1\x96\xfa\x26\x40\xb5\x13\x46\xab\x2d\x2a\xd7\xd3\x38\x96\xb4\x91\x0e\x38\x0b\xb5\x05\xa6\xb7\xb5\x56\xa8\x1c\x70\x7d\xad\xba\x24\xca\xb9\x41\x6b\xe1\x9b\x67\xb7\x8d\x41\x18\x4f\xb2\x27\xbe\x37\x99\x8f\x7f\x4a\x17\x79\x9a\xbd\x98\x66\x69\x3e\x99\xbf\xce\x66\xf3\x67\x93\xfc\xd5\x62\x76\x59\x39\x57\xdb\xef\xc3\x90\xde\x7e\x3b\x7c\x9a\x44\x43\xb2\xd3\x64\x6b\x91\x29\x4e\x14\xba\xbb\x66\x6c\xc8\x35\xdb\xa0\x09\x50\xad\x85\xc2\x3c\x26\x71\x4c\x92\x20\xfa\xfb\x2f\x54\x82\xca\x9c\x6e\xf9\xe8\x9c\x70\x2c\x7c\x6f\x36\xfd\x71\x7a\xb5\x4c\x57\x47\xe6\x48\x51\x88\xda\xa2\x1b\xe6\x23\x92\x7c\x17\xc4\xef\xa3\x3f\x87\xdb\x41\xef\x61\xbe\xca\x7e\x9d\x5e\x1d\xc9\x6c\xd4\xad\xa8\xf3\x11\x89\x82\x24\x6a\x8a\x46\xb9\x26\xfe\xcf\x24\x66\xab\xc9\xec\xf8\x41\x48\xc7\xe5\xd3\x3c\x21\xe7\x64\x14\x44\xe4\x5f\x6c\xdf\x63\xd4\x22\x9c\x4e\xc6\xf3\x65\x9e\x66\x3f\x4f\x17\xf3\xec\x65\x9a\xad\x40\x28\xdf\x03\x00\x38\x81\x02\x19\x6d\x2c\x82\x2e\x61\x5c\x09\x85\x16\xe1\x85\x41\xea\x5e\x53\x29\xe1\xb9\x30\x78\x4d\xa5\x3c\xeb\xdc\xdc\x6b\x55\x53\xb6\xa1\x6b\xb4\xa0\x15\xdc\x09\x04\xc2\x42\x21\xdb\xc7\xcf\x09\x2c\x75\x57\x50\x6a\x29\xf5\xb5\x50\xeb\x3b\xb4\xd4\x8c\x4a\xd8\x0a\x63\xb4\x81\xc6\x48\xb0\x95\x6e\x24\x87\x02\xa1\xb1\xc8\x41\x28\xeb\x90\x72\xd2\x77\xd7\xc1\xdb\x52\x3a\x96\xba\xe1\x4f\xfa\xab\xed\xf1\x09\x57\xdb\xc9\x31\xdb\x5b\x48\x0a\xa9\x0b\xc2\xb4\x41\xc2\x5a\x14\x6b\x51\xb4\x16\x84\xa9\x6e\x8e\xff\xdf\xd9\x7d\xf8\xc3\xee\x3e\x2a\xf7\x63\x0e\xef\xa3\xbe\x44\xce\x43\x4e\xef\x33\x1e\x70\xfb\x51\x19\x9f\x70\xfc\xbd\xc9\xdd\xef\xfa\x63\x07\xf7\x11\xe7\xdb\x9c\x8b\x0b\xdf\x43\x4b\x59\xf7\x0f\x68\x35\x0b\xca\x99\x5d\xee\x20\x08\x0c\x3a\x73\x03\x49\x04\xc1\x2f\x10\x47\xed\x01\xc1\x0d\x8c\x22\x08\xf4\x61\x4d\x0e\x79\x8b\x82\xd3\x87\x2d\x83\xaf\x8f\x03\xc7\x3d\xf8\x5e\x83\x8e\x65\x26\x3d\xf3\xcb\x01\x87\x3d\xf0\x43\x2f\x8e\x05\x9e\xdf\xfd\xea\x0f\x9e\x7e\x8b\xbc\xa6\xa2\xdb\xb8\xda\x05\x20\x10\x30\xb0\xe1\x9f\x57\xda\x38\x48\x92\xd3\xf0\xdd\xc9\xef\xea\xdd\x49\x92\x84\xf1\xa0\xdf\x19\xad\xad\xda\x17\xcf\x99\x56\xa5\x58\xb7\xf5\x66\x27\x18\x82\xb5\x15\x18\xb4\x8e\x9a\x0e\x5b\x6a\x03\x02\x84\x82\x37\x31\x21\xc3\x28\x7a\x7b\x01\x5c\xf7\x9e\xf0\x7a\xb3\x6e\x23\x0f\xad\xbe\x89\xcf\x92\xb3\xe1\xd9\xf9\xdb\x83\x4c\xa2\x84\xdf\x60\x70\xfa\xc3\x00\x2e\x61\x10\x0d\xe0\x8f\xfe\xb2\xab\x50\x1d\xcc\x46\x56\x69\x18\xd8\x86\x31\x44\x8e\x7c\x70\xf8\xa6\x30\x48\x37\xfd\xc7\x52\xf4\xef\x56\x22\xd6\x10\xfb\x1e\xd7\x0a\xdb\x16\x17\xf3\x59\xba\x7c\x3e\x9d\xa5\xe3\x79\xb6\x4a\xb3\xd5\xd2\xf7\xfe\x09\x00\x00\xff\xff\x06\x0c\x77\x75\x52\x08\x00\x00") +var _dcosprovisionSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x95\x61\x6f\xdb\x36\x10\x86\xbf\x0b\xd0\x7f\xb8\x39\xc1\xb0\x02\x11\x25\xd9\x81\xbb\x2d\x08\x86\xce\x56\x0b\x63\xae\x54\x58\xee\x8a\x6d\x18\x04\x8a\x3c\x59\x84\x69\x52\x20\x29\x67\x49\xd1\xfd\xf6\x41\x12\x9c\x64\x6b\xd2\x2e\x6e\xf9\xc5\x30\x45\x3e\x2f\x75\xf7\x48\x3a\xf9\x26\x2c\x85\x0a\x4b\x6a\x6b\xdf\xf3\xbd\xd7\x49\x9e\xe5\xf3\xc5\xea\x32\xdc\x53\x13\x4a\x51\x86\x3b\xb4\xda\x86\x5c\xfa\xde\x6e\xcb\x85\x81\xd3\xc3\x92\x6e\xf9\x09\x48\x4d\x39\xb8\x1a\x01\xd5\x1e\xf6\xd4\x58\xdf\x23\x10\xa2\x63\xc3\xc6\xa6\x46\x83\xa1\x45\xd7\x36\x41\x25\xe9\xc6\x86\x9c\x69\x1b\x70\x6c\xa4\xbe\x0e\x50\xed\x85\xd1\x6a\x87\xca\x0d\x34\x8e\x15\x6d\xa5\x03\xce\x42\x6d\x81\xe9\x5d\xa3\x15\x2a\x07\x5c\x5f\xa9\x3e\x89\x72\x6e\xd0\x5a\xf8\xee\xc5\x4d\x6b\x10\x66\xf3\xf4\x99\xef\xcd\xb3\xd9\x2f\xc9\xaa\x48\xd2\x57\x8b\x34\x29\xe6\xd9\xbb\x74\x99\xbd\x98\x17\x6f\x57\xcb\xcb\xda\xb9\xc6\xfe\x18\x86\xf4\xe6\xfb\xc9\xf3\x71\x34\x21\x7b\x4d\x76\x16\x99\xe2\x44\xa1\xbb\x3d\x8c\x0d\xb9\x66\x5b\x34\x01\xaa\x8d\x50\x58\xc4\x24\x8e\xc9\x38\x88\xfe\xfe\x0b\x95\xa0\xb2\xa0\x3b\x3e\x3d\x27\x1c\x4b\xdf\x5b\x2e\x7e\x5e\xbc\xc9\x93\xf5\x91\x39\x52\x94\xa2\xb1\xe8\x26\xc5\x94\x8c\x7f\x08\xe2\xfb\xe8\x2f\xe1\xf6\xd0\x07\x98\x6f\xd3\xdf\x17\x6f\x8e\x64\xb6\xea\x46\x34\xc5\x94\x44\xc1\x38\x6a\xcb\x56\xb9\x36\xfe\x4f\x25\x96\xeb\xf9\xf2\xf8\x42\x48\xc7\xe5\xf3\x62\x4c\xce\xc9\x34\x88\xc8\xbf\xd8\xbe\xc7\xa8\x45\x38\x9d\xcf\xb2\xbc\x48\xd2\x5f\x17\xab\x2c\x7d\x9d\xa4\x6b\x10\xca\xf7\x00\x00\x4e\xa0\x44\x46\x5b\x8b\xa0\x2b\x98\xd5\x42\xa1\x45\x78\x65\x90\xba\x77\x54\x4a\x78\x29\x0c\x5e\x51\x29\xcf\x7a\x37\x0f\x5a\x35\x94\x6d\xe9\x06\x2d\x68\x05\xb7\x02\x81\xb0\x50\xca\xae\xfd\x9c\x40\xae\xfb\x0d\x95\x96\x52\x5f\x09\xb5\xb9\x45\x4b\xcd\xa8\x84\x9d\x30\x46\x1b\x68\x8d\x04\x5b\xeb\x56\x72\x28\x11\x5a\x8b\x1c\x84\xb2\x0e\x29\x27\xc3\xe9\x7a\x78\xb7\x95\xce\xa4\x6e\xf9\xb3\x61\xb6\x1b\x9f\x71\xb5\xab\x1c\xb3\x83\x85\xa4\x94\xba\x24\x4c\x1b\x24\xac\x43\xb1\x0e\x45\x1b\x41\x98\xea\xeb\xf8\xff\x9d\x3d\x84\x3f\xee\xee\x93\x72\x3f\xe5\xf0\x21\xea\x6b\xe4\x3c\xe6\xf4\x21\xe3\x11\xb7\x9f\x94\xf1\x19\xc7\xef\x55\xee\x61\xd7\x9f\x5a\xb8\x4f\x38\xdf\xe5\x5c\x5c\xf8\x1e\x5a\xca\xfa\x27\xa0\xd3\x2c\xa8\x96\x36\xdf\x43\x10\x18\x74\xe6\x1a\xc6\x11\x04\xbf\x41\x1c\x75\x03\x82\x6b\x98\x46\x10\xe8\xbb\x77\x72\xc8\x3b\x14\x9c\x3e\x6e\x19\x7c\x7b\x1c\x38\x1e\xc0\x0f\x1a\x74\x2c\x73\x3c\x30\xbf\x1e\x70\x32\x00\x3f\xf6\xe2\x58\xe0\xf9\xed\x5d\x7f\xd4\xfd\x0e\x79\x45\x45\xff\xe1\xaa\xb4\x01\x01\x42\xc1\xfb\x98\x90\x49\x14\x7d\xb8\x00\xae\x87\x86\xf2\x66\xbb\x81\x40\xdc\x63\xbe\x8f\xcf\xc6\x67\x93\xb3\xf3\x0f\x77\x5d\x17\x15\xfc\x01\xa3\xd3\x9f\x46\x70\x09\xa3\x68\x04\x7f\x0e\xd3\xae\x46\x75\xa7\x20\xb2\x5a\xc3\xc8\xb6\x8c\x21\x72\xe4\xa3\xbb\x2b\xa5\x41\xba\x1d\xfe\x56\x62\xf8\xb5\x12\xb1\x81\xd8\xf7\xb8\x56\xd8\x1d\x71\x95\x2d\x93\xfc\xe5\x62\x99\xcc\xb2\x74\x9d\xa4\xeb\xdc\xf7\xfe\x09\x00\x00\xff\xff\x30\x8d\x82\xd8\xfb\x07\x00\x00") func dcosprovisionShBytes() ([]byte, error) { return bindataRead( diff --git a/pkg/acsengine/testdata/simple/dcos1.9.0.json b/pkg/acsengine/testdata/simple/dcos1.9.0.json new file mode 100644 index 0000000000..c4f1ec3cd8 --- /dev/null +++ b/pkg/acsengine/testdata/simple/dcos1.9.0.json @@ -0,0 +1,41 @@ +{ + "apiVersion": "vlabs", + "properties": { + "orchestratorProfile": { + "orchestratorType": "DCOS190" + }, + "masterProfile": { + "count": 3, + "dnsPrefix": "masterdns1", + "vmSize": "Standard_D2_v2" + }, + "agentPoolProfiles": [ + { + "name": "agentprivate", + "count": 3, + "vmSize": "Standard_D2_v2" + }, + { + "name": "agentpublic", + "count": 3, + "vmSize": "Standard_D2_v2", + "dnsPrefix": "agentpublic1", + "ports": [ + 80, + 443, + 8080 + ] + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm" + } + ] + } + } + } +} diff --git a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json new file mode 100644 index 0000000000..e11161d221 --- /dev/null +++ b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json @@ -0,0 +1,1650 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "agentprivateCount": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentprivateSubnet": { + "defaultValue": "10.0.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentprivate'." + }, + "type": "string" + }, + "agentprivateVMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "agentpublicCount": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentpublicEndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the agent pool IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "agentpublicSubnet": { + "defaultValue": "10.1.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentpublic'." + }, + "type": "string" + }, + "agentpublicVMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "dcosBootstrapURL": { + "defaultValue": "https://dcosio.azureedge.net/dcos/stable/bootstrap/e73ba2b1cd17795e4dcb3d6647d11a29b9c35084.bootstrap.tar.xz", + "metadata": { + "description": "The default mesosphere bootstrap package." + }, + "type": "string" + }, + "firstConsecutiveStaticIP": { + "defaultValue": "172.16.0.5", + "metadata": { + "description": "Sets the static IP of the first master" + }, + "type": "string" + }, + "linuxAdminUsername": { + "metadata": { + "description": "User name for the Linux Virtual Machines (SSH or Password)." + }, + "type": "string" + }, + "masterEndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "masterSubnet": { + "defaultValue": "172.16.0.0/24", + "metadata": { + "description": "Sets the subnet of the master node(s)." + }, + "type": "string" + }, + "masterVMSize": { + "allowedValues": [ + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F8", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "nameSuffix": { + "defaultValue": "31559618", + "metadata": { + "description": "A string hash of the master DNS name to uniquely identify the cluster." + }, + "type": "string" + }, + "sshRSAPublicKey": { + "metadata": { + "description": "SSH public key used for auth to all Linux machines. Not Required. If not set, you must provide a password key." + }, + "type": "string" + }, + "targetEnvironment": { + "defaultValue": "AzureCloud", + "metadata": { + "description": "The azure deploy environment. Currently support: AzureCloud, AzureChinaCloud" + }, + "type": "string" + } + }, + "variables": { + "adminUsername": "[parameters('linuxAdminUsername')]", + "agentprivateAccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]", + "agentprivateCount": "[parameters('agentprivateCount')]", + "agentprivateNSGID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('agentprivateNSGName'))]", + "agentprivateNSGName": "[concat(variables('orchestratorName'), '-agentprivate-nsg-', variables('nameSuffix'))]", + "agentprivateStorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),0)]", + "agentprivateStorageAccountsCount": "[variables('maxStorageAccountsPerAgent')]", + "agentprivateSubnet": "[parameters('agentprivateSubnet')]", + "agentprivateSubnetName": "[concat(variables('orchestratorName'), '-agentprivateSubnet')]", + "agentprivateVMNamePrefix": "[concat(variables('orchestratorName'), '-agentprivate-', variables('nameSuffix'))]", + "agentprivateVMSize": "[parameters('agentprivateVMSize')]", + "agentprivateVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agentprivateSubnetName'))]", + "agentpublicAccountName": "[concat(variables('storageAccountBaseName'), 'agnt1')]", + "agentpublicCount": "[parameters('agentpublicCount')]", + "agentpublicEndpointDNSNamePrefix": "[tolower(parameters('agentpublicEndpointDNSNamePrefix'))]", + "agentpublicIPAddressName": "[concat(variables('orchestratorName'), '-agent-ip-', variables('agentpublicEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", + "agentpublicLbBackendPoolName": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('agentpublicLbName'))]", + "agentpublicLbIPConfigID": "[concat(variables('agentpublicLbID'),'/frontendIPConfigurations/', variables('agentpublicLbIPConfigName'))]", + "agentpublicLbIPConfigName": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicLbName": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicNSGID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('agentpublicNSGName'))]", + "agentpublicNSGName": "[concat(variables('orchestratorName'), '-agentpublic-nsg-', variables('nameSuffix'))]", + "agentpublicStorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),1)]", + "agentpublicStorageAccountsCount": "[variables('maxStorageAccountsPerAgent')]", + "agentpublicSubnet": "[parameters('agentpublicSubnet')]", + "agentpublicSubnetName": "[concat(variables('orchestratorName'), '-agentpublicSubnet')]", + "agentpublicVMNamePrefix": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicVMSize": "[parameters('agentpublicVMSize')]", + "agentpublicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agentpublicSubnetName'))]", + "apiVersionDefault": "2016-03-30", + "apiVersionStorage": "2015-06-15", + "dataStorageAccountPrefixSeed": 97, + "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", + "masterCount": 3, + "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", + "masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]", + "masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]", + "masterFirstAddrPrefix": "[concat(variables('masterFirstAddrOctets')[0],'.',variables('masterFirstAddrOctets')[1],'.',variables('masterFirstAddrOctets')[2],'.')]", + "masterLbBackendPoolName": "[concat(variables('orchestratorName'), '-master-pool-', variables('nameSuffix'))]", + "masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]", + "masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]", + "masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]", + "masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]", + "masterNSGID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('masterNSGName'))]", + "masterNSGName": "[concat(variables('orchestratorName'), '-master-nsg-', variables('nameSuffix'))]", + "masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", + "masterStorageAccountExhibitorName": "[concat(variables('storageAccountBaseName'), 'exhb0')]", + "masterStorageAccountName": "[concat(variables('storageAccountBaseName'), 'mstr0')]", + "masterSubnet": "[parameters('masterSubnet')]", + "masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]", + "masterVMNamePrefix": "[concat(variables('orchestratorName'), '-master-', variables('nameSuffix'), '-')]", + "masterVMNic": [ + "[concat(variables('masterVMNamePrefix'), 'nic-0')]", + "[concat(variables('masterVMNamePrefix'), 'nic-1')]", + "[concat(variables('masterVMNamePrefix'), 'nic-2')]", + "[concat(variables('masterVMNamePrefix'), 'nic-3')]", + "[concat(variables('masterVMNamePrefix'), 'nic-4')]", + "[concat(variables('masterVMNamePrefix'), 'nic-5')]", + "[concat(variables('masterVMNamePrefix'), 'nic-6')]" + ], + "masterVMSize": "[parameters('masterVMSize')]", + "masterVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('masterSubnetName'))]", + "maxStorageAccountsPerAgent": "[div(variables('maxVMsPerPool'),variables('maxVMsPerStorageAccount'))]", + "maxVMsPerPool": 100, + "maxVMsPerStorageAccount": 20, + "nameSuffix": "[parameters('nameSuffix')]", + "oauthEnabled": "false", + "orchestratorName": "dcos", + "osImageOffer": "UbuntuServer", + "osImagePublisher": "Canonical", + "osImageSKU": "16.04.0-LTS", + "osImageVersion": "16.04.201606270", + "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", + "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountPrefixes": [ + "0", + "6", + "c", + "i", + "o", + "u", + "1", + "7", + "d", + "j", + "p", + "v", + "2", + "8", + "e", + "k", + "q", + "w", + "3", + "9", + "f", + "l", + "r", + "x", + "4", + "a", + "g", + "m", + "s", + "y", + "5", + "b", + "h", + "n", + "t", + "z" + ], + "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", + "storageAccountType": "Standard_LRS", + "targetEnvironment": "[parameters('targetEnvironment')]", + "virtualNetworkName": "[concat(variables('orchestratorName'), '-vnet-', variables('nameSuffix'))]", + "vmSizesMap": { + "Basic_A2": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A3": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A10": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A7": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A9": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D15_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D5_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_DS11": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS11_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS15_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS5_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F16s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F2s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F4s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F8s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_G1": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_GS1": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS5": { + "storageAccountType": "Premium_LRS" + }, + "Standard_H16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16mr": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV6": { + "storageAccountType": "Standard_LRS" + } + }, + "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]" + }, + "resources": [ + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[resourceGroup().location]", + "name": "[variables('agentprivateNSGName')]", + "properties": { + "securityRules": [] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentprivateStorageAccountsCount')]", + "name": "loop" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[variables('vnetID')]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", + "properties": { + "upgradePolicy": { + "mode": "Manual" + }, + "virtualMachineProfile": { + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "nic", + "properties": { + "ipConfigurations": [ + { + "name": "nicipconfig", + "properties": { + "subnet": { + "id": "[variables('agentprivateVnetSubnetID')]" + } + } + } + ], + "primary": "true" + } + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computerNamePrefix": "[variables('agentprivateVMNamePrefix')]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-e086b496175152c4aa7c5ec52954933d785c8a4a-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadOnly", + "createOption": "FromImage", + "name": "vmssosdisk", + "vhdContainers": [ + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]" + ] + } + } + } + }, + "sku": { + "capacity": "[variables('agentprivateCount')]", + "name": "[variables('agentprivateVMSize')]", + "tier": "Standard" + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentprivateVMNamePrefix'), '-vmss')]" + }, + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[resourceGroup().location]", + "name": "[variables('agentpublicNSGName')]", + "properties": { + "securityRules": [ + { + "name": "Allow_80", + "properties": { + "access": "Allow", + "description": "Allow traffic from the Internet to port 80", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 200, + "protocol": "*", + "sourceAddressPrefix": "Internet", + "sourcePortRange": "*" + } + }, + { + "name": "Allow_443", + "properties": { + "access": "Allow", + "description": "Allow traffic from the Internet to port 443", + "destinationAddressPrefix": "*", + "destinationPortRange": "443", + "direction": "Inbound", + "priority": 201, + "protocol": "*", + "sourceAddressPrefix": "Internet", + "sourcePortRange": "*" + } + }, + { + "name": "Allow_8080", + "properties": { + "access": "Allow", + "description": "Allow traffic from the Internet to port 8080", + "destinationAddressPrefix": "*", + "destinationPortRange": "8080", + "direction": "Inbound", + "priority": 202, + "protocol": "*", + "sourceAddressPrefix": "Internet", + "sourcePortRange": "*" + } + } + ] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentpublicStorageAccountsCount')]", + "name": "loop" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[resourceGroup().location]", + "name": "[variables('agentpublicIPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('agentpublicEndpointDNSNamePrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[variables('agentpublicLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('agentpublicLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('agentpublicLbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('agentpublicIPAddressName'))]" + } + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [ + { + "name": "LBRule80", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpublicLbID'), '/backendAddressPools/', variables('agentpublicLbBackendPoolName'))]" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpublicLbIPConfigID')]" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpublicLbID'),'/probes/tcp80Probe')]" + }, + "protocol": "tcp" + } + }, + { + "name": "LBRule443", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpublicLbID'), '/backendAddressPools/', variables('agentpublicLbBackendPoolName'))]" + }, + "backendPort": 443, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpublicLbIPConfigID')]" + }, + "frontendPort": 443, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpublicLbID'),'/probes/tcp443Probe')]" + }, + "protocol": "tcp" + } + }, + { + "name": "LBRule8080", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpublicLbID'), '/backendAddressPools/', variables('agentpublicLbBackendPoolName'))]" + }, + "backendPort": 8080, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpublicLbIPConfigID')]" + }, + "frontendPort": 8080, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpublicLbID'),'/probes/tcp8080Probe')]" + }, + "protocol": "tcp" + } + } + ], + "probes": [ + { + "name": "tcp80Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 80, + "protocol": "tcp" + } + }, + { + "name": "tcp443Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 443, + "protocol": "tcp" + } + }, + { + "name": "tcp8080Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 8080, + "protocol": "tcp" + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[variables('vnetID')]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", + "properties": { + "upgradePolicy": { + "mode": "Manual" + }, + "virtualMachineProfile": { + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "nic", + "properties": { + "ipConfigurations": [ + { + "name": "nicipconfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat('/subscriptions/', subscription().subscriptionId,'/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/loadBalancers/', variables('agentpublicLbName'), '/backendAddressPools/',variables('agentpublicLbBackendPoolName'))]" + } + ], + "subnet": { + "id": "[variables('agentpublicVnetSubnetID')]" + } + } + } + ], + "primary": "true" + } + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computerNamePrefix": "[variables('agentpublicVMNamePrefix')]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-e086b496175152c4aa7c5ec52954933d785c8a4a-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave_public\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadOnly", + "createOption": "FromImage", + "name": "vmssosdisk", + "vhdContainers": [ + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]" + ] + } + } + } + }, + "sku": { + "capacity": "[variables('agentpublicCount')]", + "name": "[variables('agentpublicVMSize')]", + "tier": "Standard" + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentpublicVMNamePrefix'), '-vmss')]" + }, + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[variables('masterStorageAccountName')]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[variables('masterStorageAccountExhibitorName')]", + "properties": { + "accountType": "Standard_LRS" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", + "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[variables('virtualNetworkName')]", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "[variables('masterSubnet')]", + "[variables('agentprivateSubnet')]", + "[variables('agentpublicSubnet')]" + ] + }, + "subnets": [ + { + "name": "[variables('masterSubnetName')]", + "properties": { + "addressPrefix": "[variables('masterSubnet')]" + } + }, + { + "name": "[variables('agentprivateSubnetName')]", + "properties": { + "addressPrefix": "[variables('agentprivateSubnet')]", + "networkSecurityGroup": { + "id": "[resourceId('Microsoft.Network/networkSecurityGroups', variables('agentprivateNSGName'))]" + } + } + }, + { + "name": "[variables('agentpublicSubnetName')]", + "properties": { + "addressPrefix": "[variables('agentpublicSubnet')]", + "networkSecurityGroup": { + "id": "[resourceId('Microsoft.Network/networkSecurityGroups', variables('agentpublicNSGName'))]" + } + } + } + ] + }, + "type": "Microsoft.Network/virtualNetworks" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[resourceGroup().location]", + "name": "[variables('masterAvailabilitySet')]", + "properties": {}, + "type": "Microsoft.Compute/availabilitySets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[resourceGroup().location]", + "name": "[variables('masterPublicIPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('masterEndpointDNSNamePrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[resourceGroup().location]", + "name": "[variables('masterLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('masterLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('masterLbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('masterPublicIPAddressName'))]" + } + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "masterLbLoopNode" + }, + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "backendPort": 22, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "[copyIndex(2200)]", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "masterLbLoopNode" + }, + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('masterLbName'), '/', 'SSHPort22-', variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "backendPort": 2222, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "22", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[resourceGroup().location]", + "name": "[variables('masterNSGName')]", + "properties": { + "securityRules": [ + { + "name": "sshPort22", + "properties": { + "access": "Allow", + "description": "Allow SSH", + "destinationAddressPrefix": "*", + "destinationPortRange": "2222", + "direction": "Inbound", + "priority": 201, + "protocol": "Tcp", + "sourceAddressPrefix": "*", + "sourcePortRange": "*" + } + }, + { + "name": "ssh", + "properties": { + "access": "Allow", + "description": "Allow SSH", + "destinationAddressPrefix": "*", + "destinationPortRange": "22", + "direction": "Inbound", + "priority": 200, + "protocol": "Tcp", + "sourceAddressPrefix": "*", + "sourcePortRange": "*" + } + } + ] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "nicLoopNode" + }, + "dependsOn": [ + "[variables('masterNSGID')]", + "[variables('vnetID')]", + "[variables('masterLbID')]", + "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]", + "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "properties": { + "ipConfigurations": [ + { + "name": "ipConfigNode", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" + } + ], + "privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "[variables('masterVnetSubnetID')]" + } + } + } + ], + "networkSecurityGroup": { + "id": "[variables('masterNSGID')]" + } + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Network/networkInterfaces/', variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", + "[variables('masterStorageAccountName')]", + "[variables('masterStorageAccountExhibitorName')]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "availabilitySet": { + "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('masterAvailabilitySet'))]" + }, + "hardwareProfile": { + "vmSize": "[variables('masterVMSize')]" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('masterVMNamePrefix'), 'nic-', copyIndex()))]" + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-e086b496175152c4aa7c5ec52954933d785c8a4a-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/master\\ntouch /etc/mesosphere/roles/azure_master\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[variables('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'-osdisk')]", + "vhd": { + "uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('masterStorageAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'vhds/',variables('masterVMNamePrefix'),copyIndex(),'-osdisk.vhd')]" + } + } + } + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('masterVMNamePrefix'), copyIndex())]" + }, + "type": "Microsoft.Compute/virtualMachines" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" + ], + "location": "[resourceGroup().location]", + "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", + "properties": { + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.OSTCExtensions", + "settings": { + "commandToExecute": "sh -c 'until ping -c1 leader.mesos;do echo waiting for leader.mesos;sleep 15;done;echo leader.mesos up'" + }, + "type": "CustomScriptForLinux", + "typeHandlerVersion": "1.4" + }, + "type": "Microsoft.Compute/virtualMachines/extensions" + } + ], + "outputs": { + "agentpublicFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))).dnsSettings.fqdn]" + }, + "masterFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn]" + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/simple/dcos1.9.0_expected_params.json b/pkg/acsengine/testdata/simple/dcos1.9.0_expected_params.json new file mode 100644 index 0000000000..5a12bcc9cb --- /dev/null +++ b/pkg/acsengine/testdata/simple/dcos1.9.0_expected_params.json @@ -0,0 +1,47 @@ +{ + "agentprivateCount": { + "value": 3 + }, + "agentprivateSubnet": { + "value": "10.0.0.0/16" + }, + "agentprivateVMSize": { + "value": "Standard_D2_v2" + }, + "agentpublicCount": { + "value": 3 + }, + "agentpublicEndpointDNSNamePrefix": { + "value": "agentpublic1" + }, + "agentpublicSubnet": { + "value": "10.1.0.0/16" + }, + "agentpublicVMSize": { + "value": "Standard_D2_v2" + }, + "dcosBootstrapURL": { + "value": "https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/1bdc9e5f7863c6ead141be2f268cb231ad6c1049.bootstrap.tar.xz" + }, + "firstConsecutiveStaticIP": { + "value": "172.16.0.5" + }, + "linuxAdminUsername": { + "value": "azureuser" + }, + "masterEndpointDNSNamePrefix": { + "value": "masterdns1" + }, + "masterSubnet": { + "value": "172.16.0.0/24" + }, + "masterVMSize": { + "value": "Standard_D2_v2" + }, + "sshRSAPublicKey": { + "value": "ssh-rsa PUBLICKEY azureuser@linuxvm" + }, + "targetEnvironment": { + "value": "AzurePublicCloud" + } +} \ No newline at end of file From 5bbfff0aed7b07fc75c0de12d55cea89a03ca389 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Tue, 14 Mar 2017 17:35:14 -0400 Subject: [PATCH 07/12] fix tests --- parts/dcosmasterresources.t | 6 ++++-- pkg/acsengine/templates.go | 2 +- pkg/acsengine/testdata/simple/dcos1.9.0_expected.json | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/parts/dcosmasterresources.t b/parts/dcosmasterresources.t index f50747ecb5..70b68fe5a1 100644 --- a/parts/dcosmasterresources.t +++ b/parts/dcosmasterresources.t @@ -205,10 +205,12 @@ } ], "loadBalancerInboundNatRules": [ - { {{if IsDCOS190}} - "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]", + { + "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]" + }, {{end}} + { "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" } ], diff --git a/pkg/acsengine/templates.go b/pkg/acsengine/templates.go index 071bd22c6f..06253abbbb 100644 --- a/pkg/acsengine/templates.go +++ b/pkg/acsengine/templates.go @@ -443,7 +443,7 @@ func dcoscustomdata190T() (*asset, error) { return a, nil } -var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xdd\x53\xdb\x3a\x16\x7f\xef\x5f\xa1\xf1\x8b\xc9\x4e\x9a\x00\x73\xf7\x61\xdb\x27\x0a\xb4\xcd\x14\x42\x06\x53\xf6\xa1\xc3\xec\x28\xd2\x49\xa2\xc1\x96\x3c\x92\x1c\xc8\x32\xfc\xef\x3b\xf2\x47\x62\x59\x72\x70\x20\xbd\xb7\x7b\xa7\xbc\xb4\x60\x9d\xa3\xf3\xf1\x3b\x1f\x3a\x12\x42\x08\x3d\xbd\x43\xf9\x4f\x80\x53\x76\x0b\x52\x31\xc1\x83\x0f\x28\xf8\xb1\xc4\x92\xe1\x69\x0c\xea\x20\xdc\x7c\x89\xb4\x90\x78\x0e\x61\xef\x2e\xe8\x57\x74\x14\x52\xe0\x54\x5d\x19\xb2\x1f\xe5\x1f\x11\x0a\x7e\x10\xc1\x09\xd6\x07\xe1\x25\x23\x52\x28\x31\xd3\x83\x31\xe8\x07\x21\xef\x87\x69\x36\x8d\x19\x19\x4d\x4e\x28\x95\xa0\x14\xa8\x61\xd8\x47\xb5\xfd\x12\xac\x34\xc8\x89\xbd\x6a\x8c\x13\x08\x7b\xbd\xbb\xa0\xdc\xe2\x6e\x2d\x40\x2c\x08\xd6\x95\xd8\x12\x94\xc8\x24\x81\x2f\x52\x64\xe9\x41\x6f\x50\x7d\xac\x09\xcc\x71\x02\x4d\x15\x8b\x2d\x4b\xf5\x4e\x08\x11\x19\xd7\xc5\x8e\x35\xc2\x54\x8a\x14\xa4\x66\xa0\x82\x0f\x6b\xbb\x19\xcb\x15\xeb\x6f\x56\xa9\xc3\x77\x99\x44\xec\xbf\xa0\x2e\x71\x1a\xf6\xdc\xfd\x6e\x2f\xcd\xd7\xb0\x77\x37\x50\xd6\xce\x86\xd3\x5a\xd1\xe7\xf5\xfe\xba\xdc\x60\x63\xd1\x52\xe0\xa1\x4d\xae\x0a\xd2\x92\xf0\xb7\x83\xdb\x1c\x7c\xfe\xb8\x60\x53\xa6\x85\x7c\xad\xa7\x23\x8d\x39\xc5\x92\xfe\xe7\xe2\x3a\xda\x87\xbb\x9e\x9e\xd8\x0c\x71\xa1\xd1\xe0\xb2\xb0\x90\x14\x33\x16\xc3\x60\xa4\x4e\x33\xa5\x45\x72\x3b\x3e\xbf\x79\x7e\xde\xdd\xab\x67\x30\xc3\x59\xac\x3b\x78\x15\xa1\xa7\xa7\x2f\xa0\xcd\x46\x51\x36\xe5\xa0\xcf\xf2\x65\xc0\x09\x03\x55\x6e\xbd\x6f\xd7\x2c\x99\xd4\x19\x8e\x4b\xf0\x74\xf7\x45\x01\x9b\x28\xc5\x04\xac\x2f\x9b\x6f\x13\x09\x33\xf6\x98\x13\xd6\x55\xac\x29\x79\x62\x2f\x5c\x6b\x98\x6b\xb9\xfe\xff\xda\xa7\x08\x05\x2a\x37\x4b\x93\x65\xc3\x6a\x0a\x69\x99\x41\x8d\xdb\x5d\x07\x74\x54\xd1\x63\xdb\xa3\x8e\x0e\xe0\x74\x5f\xee\xdf\x5f\x4c\x9d\x2c\x31\x8b\xf1\x94\xc5\x4c\xaf\x22\xd0\x5b\x7c\xb7\x4d\xf9\x53\x91\xa4\x99\x86\x21\xb6\xb9\xbd\x21\x95\xfd\x5c\xad\xbd\xc9\xab\x03\x6a\x29\x57\x11\x68\xcd\xf8\x5c\x35\x41\x4b\x45\x82\x19\x37\x9c\x2e\xf0\x14\x62\xff\xbe\xe7\x9c\xa6\x82\x71\x7d\x36\x8e\xcc\xca\x02\xb8\xe1\x26\x6b\xda\x60\x5d\x27\xe2\xb8\x52\xee\x12\xf4\x42\x50\xc3\xfb\x6c\xc5\x71\xc2\x48\x97\xbc\xd5\x9a\xd7\xf7\xeb\x9d\xbf\x51\xa1\xb9\x98\x76\x46\xc4\x14\x93\x7b\xe0\xb4\xca\x44\x42\xc4\x4e\x72\xb1\x72\xd7\xd6\x5d\x3f\x15\xcc\x0c\x97\x4a\x80\x1a\x71\x2d\x1f\xd5\x40\x32\x93\x82\x6b\xe0\x74\x34\x39\x15\x7c\xc6\xe6\x99\xcc\xf5\x7c\x83\x14\x15\xa7\xa6\x0d\xb6\x5b\xa2\x89\xd9\xc2\x20\x9e\x25\x08\x05\x8c\x5a\x3e\x1a\xd1\x4e\xe8\x08\xfb\xbb\x62\xc3\xb5\x5c\xf3\xb7\xd7\xe5\xf8\x58\x60\xfa\x09\xc7\x98\x13\x90\x7b\x8e\x22\x22\xd2\x95\x8d\xb0\xbc\xcb\xf0\xfb\xea\xd4\x7c\xb2\x5d\xb4\xf6\x6c\xe5\xcd\x0b\x21\xd2\xb1\xa0\xe0\x66\x8a\xb6\x80\xf5\x41\xe2\x2c\xdc\x6b\xc4\x95\x39\xa1\x35\xf0\xfa\x28\x34\xb9\x20\x8c\xa2\xaf\xef\x7d\x39\xe1\xf6\xb2\x9e\x3e\xfb\xc8\x58\x6d\xc4\x29\x3c\x1e\xf4\x76\x08\xda\x89\x90\xc6\xb0\xc7\xc7\x35\xf3\x01\x37\x1b\x7d\x8e\x05\x36\x59\x7e\x34\x09\x3e\xa0\x19\x8e\x15\xbc\x1c\x71\xcd\x82\x50\x82\x7c\x4b\x80\x59\x56\xb5\x53\x7f\xb5\x47\x29\xa2\xb1\x58\xa5\xe1\xf1\xf1\xe1\xa1\xed\xf2\x54\x0a\x2d\x88\xc8\x6b\x8e\x26\xe9\x2e\x35\xc1\x42\xf2\x90\xf1\xa9\xc8\x38\x1d\x63\x7d\x9d\xc5\xd0\xe8\x6c\x47\xea\xec\xf4\x2a\x3a\xfa\xd7\xe1\xf3\xb3\xf9\xf3\x6f\xb8\xb7\xc3\xfd\x2d\x78\x37\x1e\x3f\x3e\xfe\x33\x50\xff\xff\x80\xfb\xe3\xe3\x3f\x19\xe8\xbf\x64\x93\x3e\x8e\xbe\x74\x6e\x48\x14\x90\x4c\x32\xbd\x2a\x14\x33\x50\x77\xa2\xd7\x3e\x4c\xb9\xe5\x79\x6b\x85\x5f\xaf\x61\xc2\x6c\x63\x90\x74\x78\xd4\xf7\x2f\xc2\x84\x14\x3d\x40\x60\x5a\xd8\x87\xa0\x65\x19\x65\x12\x48\x65\xa9\x51\xe1\x9a\xd6\xb5\xa0\x34\xe3\xb9\xe9\x0c\x46\xae\x31\x9f\x43\x01\x14\x0b\x2a\x16\x4d\x61\x79\x6b\xf9\x3f\x3a\xf0\xb7\x4e\x97\x5b\x89\xea\xb8\xbc\x21\xe9\x16\xde\x44\xb2\xb4\xd2\x34\xb7\x09\x8a\xa2\xaf\xdb\xe5\xf6\x88\xe1\x2c\x7f\x76\x39\xac\xe1\xa4\xd4\xa2\xc8\x29\x36\x59\x03\xed\xd5\xcf\x3e\xe0\x70\xf8\x2b\xc0\xe1\x37\x18\xea\xd4\x35\x30\x04\x2d\xcd\xf0\x2e\x0d\x30\x2f\xfe\x8d\xca\x5c\x93\x27\xb5\x5f\xb5\x11\xe6\x8c\xec\xa1\x29\x18\x47\x5f\x8a\xb2\xd5\x75\xce\x57\xf1\xf2\x33\x5d\x72\xd0\x1b\x7e\x76\x18\x6e\x69\x49\xdc\x56\xcc\x3d\x68\xb7\x10\xf7\xc3\x66\xd5\x1b\xd6\xbb\x8d\x97\x9a\x8d\x66\xaf\xe1\x0a\xfd\x9a\xed\x77\xde\xf8\xe7\x1f\x41\x9a\x4d\x56\xc8\x19\x31\xdd\xd8\x8e\xcd\x16\x4b\x5f\x73\x1c\xaf\xa8\x72\xb0\xee\x74\xee\xae\xf7\x37\x9f\x5e\x9c\x49\xf8\x84\xa8\x04\xa7\x2f\x74\xac\xb9\x37\x51\x38\xf4\x4c\x3e\xbc\xf3\x1b\xcf\x58\xc3\x3d\xa1\x37\xcf\xe8\xd6\x8c\xc3\xa3\xe2\xa8\xd1\xc0\xf9\xd5\x6b\x0d\x96\x9d\xf5\xdd\x6b\xf0\xb8\x52\x78\x4b\xf1\xdb\x05\x7c\x6d\x78\xed\xe2\x95\x54\xb2\x25\xd6\x50\x9f\xf8\xb4\x0b\xfb\x99\x49\xa5\xcd\x42\xdf\x21\x86\xf1\x6d\x14\x57\x44\x83\xfe\x23\xec\xf5\x7a\xce\x48\xca\x92\xc2\x33\x2b\x8d\x34\xd6\x8c\xb8\x44\xc5\x65\xc0\xd6\x11\x95\x6b\x3e\x0e\xba\xb8\x25\x68\x9c\x62\x7c\xf6\xda\x3e\x69\x42\xa8\x1f\xf8\x0a\x69\xd7\x03\xd5\xba\x24\xbd\x6b\xee\xb1\x43\x09\x1f\x71\x0d\x72\x86\xc9\xbe\xa7\xc1\x7b\x2b\xdf\xcb\x64\xf7\xea\xdd\x3e\x72\x76\xb4\xf6\xa6\xac\xdd\x6a\x80\x7f\xc7\xb6\x2b\x91\xa1\x27\x26\x9d\x4b\x98\x06\xf7\x1d\xaf\xba\x3b\x90\x38\x97\xa7\x4e\x61\xd5\x78\xae\x82\x0f\xe5\x6f\x75\x37\x4a\xc8\xc3\x2b\xca\x2b\x6d\x80\x6a\xe1\x1e\x62\xa2\x80\xcf\x19\x87\x57\x8c\x2f\x1c\xe7\xfe\xf4\xca\xbe\x63\x45\x6f\x38\xb2\x25\x4a\xfd\x33\xed\x36\x30\x74\xc4\x82\x77\x54\xb2\xc0\x92\x3e\x60\x09\x65\xfb\xd9\x94\xa7\x78\xbb\xd0\x92\xc4\xaa\x97\x0b\x7e\xce\x65\x90\xb4\x30\x76\x13\x87\x73\x3f\xdb\x4c\xb4\x9d\xe6\xfd\x0e\xdf\xb0\xff\x96\x1e\xad\x99\x9b\x5f\xbe\x1b\x16\xaa\x45\x63\x4c\x13\xc6\xbf\x2b\x90\xbe\x09\x8d\xf5\xb1\x79\x5d\x12\x90\xc2\xf1\x72\x4f\xe0\x44\xd5\x65\xb5\x69\x69\x8a\xd3\x47\x71\xe6\x38\xc3\x1a\x5b\xed\x43\x10\x33\x9e\x3d\x6e\x1b\xd4\xe5\x27\x6d\x65\x84\x98\x60\xa5\x1e\x84\xa4\x27\x99\x5e\x00\xd7\x6c\x13\x77\x5a\x66\x4e\x1f\x6a\x8e\x90\xde\x92\x59\x5c\xd8\x7c\x83\x95\xbf\x1d\xf3\x21\xa3\x46\x7d\x0f\x2b\xa3\x44\xd3\xbc\x4a\x2d\xae\xa3\x93\x49\xc5\xda\xbd\x8f\xb2\x45\xc0\x7a\xe1\xe1\xf0\x0d\x56\x13\xac\x17\x9e\x7a\x5d\xfc\xb8\x7d\xd7\x5d\x87\x3a\x6e\x5c\xc1\x66\x68\x70\x61\x2c\x5d\x1d\x02\xbf\x62\x15\x01\x91\xa0\xed\xd7\x08\x16\x28\x54\xb1\xa0\x29\x68\x5c\xe3\x53\xf2\x68\x48\xdc\xec\x12\xad\x97\x0d\x45\x7e\x6f\x81\x30\x4b\xf0\x1c\xae\x61\x06\x12\xb8\xf3\xe0\xc2\x60\x7f\x36\x03\xd9\x14\x48\xa8\x91\x21\xbb\x32\xdf\x7c\x17\x81\xc6\x29\x6a\xd1\x4a\x37\xa9\xbe\x7b\x68\xd5\x7d\xd6\x42\x15\x7d\xfb\xee\x59\xbf\xf4\xf7\x20\x25\x4d\xd9\x87\x34\xef\x4b\x2d\xa3\x0b\x75\xc6\xd4\xbd\xab\x39\xc1\x64\xc1\xf8\xdc\x70\xbe\x06\x4c\xff\x2d\x99\x76\x20\x9f\xd7\x3c\xb8\x5a\x0f\x6b\x3e\x4b\x91\xe4\x1b\x37\x17\xbe\x25\xcc\xfb\xe1\x7b\xa1\x28\x53\xf7\x3e\xf5\x17\xd4\x77\xe8\xcb\x24\xab\xef\x26\x2b\xff\x1e\xb8\xed\x48\xcb\xe3\x25\x5f\x37\xe2\x6b\x2e\x7a\xfd\xed\x0f\xce\x7a\x83\x54\xb2\x04\xcb\x55\xf5\xc2\x41\x0d\xa6\xb1\x98\xf6\xc3\xe5\x82\x7a\x37\x69\x3f\x86\xac\xed\x30\x58\x2e\xa8\x13\xb2\xfe\x50\xec\xd2\xf8\x56\x35\xb8\x7c\xa0\x73\x99\xfb\xfd\xaf\x7b\x04\xd1\x22\x4e\xa7\x7e\x54\x65\x53\x17\x5a\x65\x13\xdd\x47\x47\x7f\xcd\xa0\xe4\x25\xa1\xfa\x28\x1c\x3e\x60\xa6\x67\x42\xc6\x80\xa9\x9d\x16\xda\xbb\xae\x4c\x8b\xef\xe9\x5c\x62\x0a\x97\x8c\x0b\xb9\xf1\x8a\xa9\x4d\xcd\xc7\x32\x55\x36\xda\x98\xf9\x2a\xba\x39\x3d\x7f\xd4\xc0\x55\x3e\x85\xa9\x27\xcc\x96\x87\x3c\x44\x24\x09\xe6\xf4\x46\x9c\x3f\x02\xc9\x74\x31\x36\x5d\xa0\xf7\x04\x85\x19\xd7\x2c\x46\x29\xe3\x73\xf4\x9e\x1c\xa1\x42\x8d\x41\x02\x4a\xa8\x8f\x54\x20\x20\x0b\x81\x8c\x8a\x66\xc1\x4c\x48\x7b\x81\x8a\x01\x52\x74\xf4\xcf\x8f\x54\x70\xf8\x98\xaf\xad\x7f\x47\x59\x1a\xfa\xdb\xb1\x0a\xca\x45\xa5\x8f\xf2\xa9\xf1\x67\x21\xf3\xb2\x13\x34\xd6\x7d\xc5\x9c\xc6\x50\xb3\x52\x70\x34\xf8\xa3\xcb\x3d\x59\x1b\x1c\x61\x63\xbb\x22\x50\xde\xfd\x2f\x00\x00\xff\xff\x6e\x3d\xdc\x1f\x77\x2c\x00\x00") +var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xdd\x53\xdb\x3a\x16\x7f\xef\x5f\xa1\xf1\x8b\xc9\x4e\x9a\x00\x73\xf7\x61\xdb\x27\x0a\xb4\xcd\x14\x42\x06\xd3\xee\x43\x87\xd9\x51\xa4\x93\x44\x83\x2d\x79\x24\x39\x90\x65\xf8\xdf\x77\xe4\x8f\xc4\xb2\xe4\xe0\x40\xb8\xb7\x7b\xa7\xbc\xb4\x60\x9d\xa3\xf3\xf1\x3b\x1f\x3a\x12\x42\x08\x3d\xbe\x43\xf9\x4f\x80\x53\xf6\x03\xa4\x62\x82\x07\x1f\x50\xf0\x73\x89\x25\xc3\xd3\x18\xd4\x41\xb8\xf9\x12\x69\x21\xf1\x1c\xc2\xde\x6d\xd0\xaf\xe8\x28\xa4\xc0\xa9\xba\x32\x64\x3f\xcb\x3f\x22\x14\xfc\x24\x82\x13\xac\x0f\xc2\x4b\x46\xa4\x50\x62\xa6\x07\x63\xd0\xf7\x42\xde\x0d\xd3\x6c\x1a\x33\x32\x9a\x9c\x50\x2a\x41\x29\x50\xc3\xb0\x8f\x6a\xfb\x25\x58\x69\x90\x13\x7b\xd5\x18\x27\x10\xf6\x7a\xb7\x41\xb9\xc5\xed\x5a\x80\x58\x10\xac\x2b\xb1\x25\x28\x91\x49\x02\x5f\xa4\xc8\xd2\x83\xde\xa0\xfa\x58\x13\x98\xe3\x04\x9a\x2a\x16\x5b\x96\xea\x9d\x10\x22\x32\xae\x8b\x1d\x6b\x84\xa9\x14\x29\x48\xcd\x40\x05\x1f\xd6\x76\x33\x96\x2b\xd6\xdf\xac\x52\x87\xef\x32\x89\xd8\x7f\x41\x5d\xe2\x34\xec\xb9\xfb\xfd\xb8\x34\x5f\xc3\xde\xed\x40\x59\x3b\x1b\x4e\x6b\x45\x9f\xd6\xfb\xeb\x72\x83\x8d\x45\x4b\x81\x87\x36\xb9\x2a\x48\x4b\xc2\xdf\x0e\x6e\x73\xf0\xf9\xc3\x82\x4d\x99\x16\xf2\xa5\x9e\x8e\x34\xe6\x14\x4b\xfa\x9f\x8b\xeb\x68\x1f\xee\x7a\x7c\x64\x33\xc4\x85\x46\x83\xcb\xc2\x42\x52\xcc\x58\x0c\x83\x91\x3a\xcd\x94\x16\xc9\x8f\xf1\xf9\xcd\xd3\xd3\xee\x5e\x3d\x83\x19\xce\x62\xdd\xc1\xab\x08\x3d\x3e\x7e\x01\x6d\x36\x8a\xb2\x29\x07\x7d\x96\x2f\x03\x4e\x18\xa8\x72\xeb\x7d\xbb\x66\xc9\xa4\xce\x70\x5c\x82\xa7\xbb\x2f\x0a\xd8\x44\x29\x26\x60\x7d\xd9\x7c\x9b\x48\x98\xb1\x87\x9c\xb0\xae\x62\x4d\xc9\x13\x7b\xe1\x5a\xc3\x5c\xcb\xf5\xff\xd7\x3e\x45\x28\x50\xb9\x59\x9a\x2c\x1b\x56\x53\x48\xcb\x0c\x6a\xdc\x6e\x3b\xa0\xa3\x8a\x1e\xdb\x1e\x75\x74\x00\xa7\xfb\x72\xff\xfe\x62\xea\x64\x89\x59\x8c\xa7\x2c\x66\x7a\x15\x81\xde\xe2\xbb\x6d\xca\x9f\x8a\x24\xcd\x34\x0c\xb1\xcd\xed\x15\xa9\xec\x6d\xb5\xf6\x26\xaf\x0e\xa8\xa5\x5c\x45\xa0\x35\xe3\x73\xd5\x04\x2d\x15\x09\x66\xdc\x70\xba\xc0\x53\x88\xfd\xfb\x9e\x73\x9a\x0a\xc6\xf5\xd9\x38\x32\x2b\x0b\xe0\x86\x9b\xac\x69\x83\x75\x9d\x88\xe3\x4a\xb9\x4b\xd0\x0b\x41\x0d\xef\xb3\x15\xc7\x09\x23\x5d\xf2\x56\x6b\x5e\xdf\xaf\x77\xfe\x46\x85\xe6\x62\xda\x19\x11\x53\x4c\xee\x80\xd3\x2a\x13\x09\x11\x3b\xc9\xc5\xca\x5d\x5b\x77\xfd\x54\x30\x33\x5c\x2a\x01\x6a\xc4\xb5\x7c\x54\x03\xc9\x4c\x0a\xae\x81\xd3\xd1\xe4\x54\xf0\x19\x9b\x67\x32\xd7\xf3\x15\x52\x54\x9c\x9a\x36\xd8\x6e\x89\x26\x66\x0b\x83\x78\x96\x20\x14\x30\x6a\xf9\x68\x44\x3b\xa1\x23\xec\xef\x8a\x0d\xd7\x72\xcd\xdf\x5e\x96\xe3\x63\x81\xe9\x27\x1c\x63\x4e\x40\xee\x39\x8a\x88\x48\x57\x36\xc2\xf2\x2e\xc3\xef\xab\x53\xf3\xc9\x76\xd1\xda\xb3\x95\x37\x2f\x84\x48\xc7\x82\x82\x9b\x29\xda\x02\xd6\x07\x89\xb3\x70\xaf\x11\x57\xe6\x84\xd6\xc0\xeb\xa3\xd0\xe4\x82\x30\x8a\xbe\xbe\xf7\xe5\x84\x1f\x97\xf5\xf4\xd9\x47\xc6\x6a\x23\x4e\xe1\xe1\xa0\xb7\x43\xd0\x4e\x84\x34\x86\x3d\x3e\xae\x99\x0f\xb8\xd9\xe8\x73\x2c\xb0\xc9\xf2\xa3\x49\xf0\x01\xcd\x70\xac\xe0\xf9\x88\x6b\x16\x84\x12\xe4\x5b\x02\xcc\xb2\xaa\x9d\xfa\xab\x3d\x4a\x11\x8d\xc5\x2a\x0d\x8f\x8f\x0f\x0f\x6d\x97\xa7\x52\x68\x41\x44\x5e\x73\x34\x49\x77\xa9\x09\x16\x92\x87\x8c\x4f\x45\xc6\xe9\x18\xeb\xeb\x2c\x86\x46\x67\x3b\x52\x67\xa7\x57\xd1\xd1\xbf\x0e\x9f\x9e\xcc\x9f\x7f\xc3\xbd\x1d\xee\xaf\xc1\xbb\xf1\xf8\xf1\xf1\x9f\x81\xfa\xff\x07\xdc\x1f\x1f\xff\xc9\x40\xff\x25\x9b\xf4\x71\xf4\xa5\x73\x43\xa2\x80\x64\x92\xe9\x55\xa1\x98\x81\xba\x13\xbd\xf6\x61\xca\x2d\xcf\x5b\x2b\xfc\x7a\x0d\x13\x66\x1b\x83\xa4\xc3\xa3\xbe\x7f\x11\x26\xa4\xe8\x01\x02\xd3\xc2\xde\x07\x2d\xcb\x28\x93\x40\x2a\x4b\x8d\x0a\xd7\xb4\xae\x05\xa5\x19\xcf\x4d\x67\x30\x72\x8d\xf9\x1c\x0a\xa0\x58\x50\xb1\x68\x0a\xcb\x5b\xcb\xff\xd1\x81\xbf\x75\xba\xdc\x4a\x54\xc7\xe5\x0d\x49\xb7\xf0\x26\x92\xa5\x95\xa6\xb9\x4d\x50\x14\x7d\xdd\x2e\xb7\x47\x0c\x67\xf9\x93\xcb\x61\x0d\x27\xa5\x16\x45\x4e\xb1\xc9\x1a\x68\xaf\x7e\xf6\x01\x87\xc3\x5f\x01\x0e\xbf\xc1\x50\xa7\xae\x81\x21\x68\x69\x86\x77\x69\x80\x79\xf1\x6f\x54\xe6\x9a\x3c\xa9\xfd\xaa\x8d\x30\x67\x64\x0f\x4d\xc1\x38\xfa\x52\x94\xad\xae\x73\xbe\x8a\x97\x9f\xe9\x92\x83\xde\xf0\xb3\xc3\x70\x4b\x4b\xe2\xb6\x62\xee\x41\xbb\x85\xb8\x1f\x36\xab\xde\xb0\xde\x6d\x3c\xd7\x6c\x34\x7b\x0d\x57\xe8\x97\x6c\xbf\xf3\xc6\x6f\x7f\x04\x69\x36\x59\x21\x67\xc4\x74\x63\x3b\x36\x5b\x2c\x7d\xc9\x71\xbc\xa2\xca\xc1\xba\xd3\xb9\xbb\xde\xdf\x7c\x7a\x76\x26\xe1\x13\xa2\x12\x9c\x3e\xd3\xb1\xe6\xde\x44\xe1\xd0\x33\xf9\xf0\xce\x6f\x3c\x63\x0d\xf7\x84\xde\x3c\xa3\x5b\x33\x0e\x8f\x8a\xa3\x46\x03\xe7\xeb\x73\xf6\xa9\xef\x3e\x83\xc7\x91\xc1\x97\xc1\x7d\xb5\xf9\x2d\x74\x78\x69\x04\xee\xe2\xb8\x54\xb2\x25\xd6\x50\x1f\x0a\xb5\x0b\xfb\x99\x49\xa5\xcd\x42\xdf\x39\x87\xf1\x6d\x14\x57\x44\x83\xfe\x23\xec\xf5\x7a\xce\xd4\xca\x92\xc2\x33\x4e\x8d\x34\xd6\x8c\xb8\x44\xc5\x7d\xc1\xd6\x29\x96\x6b\x3e\x0e\xba\xb8\x48\x68\x1c\x74\x7c\xf6\xda\x3e\x8c\x42\xa8\x1f\xf8\x6a\x6d\xd7\x33\xd7\xba\x6a\xbd\x6b\xee\xb1\x43\x95\x1f\x71\x0d\x72\x86\xc9\xbe\x07\xc6\x7b\xab\xf0\xcb\x64\xf7\x02\xdf\x3e\x95\x76\xb4\xf6\x66\xb5\xdd\xca\x84\x7f\xc7\xb6\x5b\x93\xa1\x27\x26\x9d\x7b\x9a\x06\xf7\x1d\x6f\xc3\x3b\x90\x38\xf7\xab\x4e\xed\xd5\x78\xae\x82\x0f\xe5\x6f\x75\x37\x4a\xc8\xc3\x2b\xca\x8b\x71\x80\x6a\xe1\x1e\x62\xa2\x80\xcf\x19\x87\x17\x4c\x38\x1c\xe7\xbe\x79\xf1\xdf\xb1\xe8\x37\x1c\xd9\x12\xa5\xfe\xb1\x77\x1b\x18\x3a\x62\xc1\x3b\x4d\x59\x60\x49\xef\xb1\x84\xb2\x43\x6d\xca\x53\x3c\x6f\x68\x49\x62\xd5\xe3\x06\x3f\xe7\x32\x48\x5a\x18\xbb\x89\xc3\xb9\xc2\x6d\x26\xda\x4e\x57\x02\x0e\xdf\xb0\xff\x9a\x36\xae\x99\x9b\x9f\xbf\x3e\x16\xaa\x45\x63\x4c\x13\xc6\xbf\x2b\x90\xbe\x21\x8e\xf5\xb1\x79\xa3\x12\x90\xc2\xf1\x72\x4f\xe0\x44\xd5\x7d\xb6\xe9\x83\x8a\x03\x4a\x71\x2c\x39\xc3\x1a\x5b\x0d\x45\x10\x33\x9e\x3d\x6c\x9b\xe5\xe5\x87\x71\x65\x84\x98\x60\xa5\xee\x85\xa4\x27\x99\x5e\x00\xd7\x6c\x13\x77\x5a\x66\x4e\xab\x6a\x4e\x99\xde\x92\x59\xdc\xe9\x7c\x83\x95\xbf\x21\xf5\x21\xa3\x46\x7d\x07\x2b\xa3\x44\xd3\xbc\x4a\x2d\xae\xa3\x93\x49\xc5\xda\xbd\xb2\xb2\x45\xc0\x7a\xe1\xe1\xf0\x0d\x56\x13\xac\x17\x9e\x7a\x5d\xfc\xb8\x9d\xd8\x6d\x87\x3a\x6e\x5c\xc1\x66\x68\x70\x61\x2c\x5d\x9d\x13\xbf\x62\x15\x01\x91\xa0\xed\x07\x0b\x16\x28\x54\xb1\xa0\x29\x68\x5c\xe3\x53\xf2\x68\x48\xdc\xec\x1b\xad\xc7\x0f\x45\x7e\x6f\x81\x30\x4b\xf0\x1c\xae\x61\x06\x12\xb8\xf3\x26\xc3\x60\x7f\x36\x03\xd9\x14\x48\xa8\x91\x21\xbb\x32\xdf\x7c\x77\x85\xc6\x29\x6a\xd1\x4a\x37\xa9\xbe\x7b\x68\xd5\x5d\xd6\x42\x15\x7d\xfb\xee\x59\xbf\xf4\xf7\x20\x25\x4d\xd9\x87\x34\xaf\x54\x2d\xa3\x0b\x75\xc6\xd4\x9d\xab\x39\xc1\x64\xc1\xf8\xdc\x70\xbe\x06\x4c\xff\x2d\x99\x76\x20\x9f\xd7\x3c\xb8\x5a\xcf\x73\x3e\x4b\x91\xe4\x1b\x37\x17\xbe\x26\xcc\xfb\xe1\x7b\xa1\x28\x53\x77\x3e\xf5\x17\xd4\x77\x2e\xcc\x24\xab\xef\x26\x2b\xff\x1e\xb8\xed\x48\xcb\xfb\x26\x5f\x37\xe2\x6b\x2e\x7a\xfd\xed\x6f\xd2\x7a\x83\x54\xb2\x04\xcb\x55\xf5\x08\x42\x0d\xa6\xb1\x98\xf6\xc3\xe5\x82\x7a\x37\x69\x3f\x86\xac\xed\x30\x58\x2e\xa8\x13\xb2\xfe\x50\xec\xd2\xf8\x56\x35\xb8\x7c\xc3\x73\x99\xfb\xfd\xaf\x7b\x27\xd1\x22\x4e\xa7\x7e\x54\x65\x53\x17\x5a\x65\x13\xdd\x47\x47\x7f\xcd\x2c\xe5\x39\xa1\xfa\x28\x1c\xde\x63\xa6\x67\x42\xc6\x80\xa9\x9d\x16\xda\xbb\xae\x4c\x8b\xef\xe9\x5c\x62\x0a\x97\x8c\x0b\xb9\xf1\x8a\xa9\x4d\xcd\xf7\x34\x55\x36\xda\x98\xf9\x2a\xba\x39\x3d\x7f\xd0\xc0\x55\x3e\xa8\xa9\x27\xcc\x96\xb7\x3e\x44\x24\x09\xe6\xf4\x46\x9c\x3f\x00\xc9\x74\x31\x59\x5d\xa0\xf7\x04\x85\x19\xd7\x2c\x46\x29\xe3\x73\xf4\x9e\x1c\xa1\x42\x8d\x41\x02\x4a\xa8\x8f\x54\x20\x20\x0b\x81\x8c\x8a\x66\xc1\x4c\x48\x7b\x81\x8a\x01\x52\x74\xf4\xcf\x8f\x54\x70\xf8\x98\xaf\xad\x7f\x47\x59\x1a\xfa\xdb\xb1\x0a\xca\x45\xa5\x8f\xf2\xc1\xf2\x67\x21\xf3\xb2\x13\x34\xd6\x7d\xc5\x9c\xc6\x50\xb3\x52\x70\x34\xf8\xa3\xcb\x55\x5a\x1b\x1c\x61\x63\xbb\x22\x50\xde\xfd\x2f\x00\x00\xff\xff\xde\x6b\xa4\x23\x9a\x2c\x00\x00") func dcosmasterresourcesTBytes() ([]byte, error) { return bindataRead( diff --git a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json index e11161d221..c9d22d1b89 100644 --- a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json @@ -1534,6 +1534,9 @@ } ], "loadBalancerInboundNatRules": [ + { + "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]" + }, { "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" } From 78ed456e33b6c14b6312f44a9848f1b5d376a664 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Tue, 14 Mar 2017 18:02:53 -0400 Subject: [PATCH 08/12] fix NAT rules for multiple masters --- parts/dcosmasterresources.t | 2 +- pkg/acsengine/templates.go | 2 +- pkg/acsengine/testdata/simple/dcos1.9.0_expected.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/dcosmasterresources.t b/parts/dcosmasterresources.t index 70b68fe5a1..ed1bc56b15 100644 --- a/parts/dcosmasterresources.t +++ b/parts/dcosmasterresources.t @@ -129,7 +129,7 @@ "frontendIPConfiguration": { "id": "[variables('masterLbIPConfigID')]" }, - "frontendPort": "22", + "frontendPort": "[copyIndex(22)]", "protocol": "tcp" }, "type": "Microsoft.Network/loadBalancers/inboundNatRules" diff --git a/pkg/acsengine/templates.go b/pkg/acsengine/templates.go index 06253abbbb..5425ce279d 100644 --- a/pkg/acsengine/templates.go +++ b/pkg/acsengine/templates.go @@ -443,7 +443,7 @@ func dcoscustomdata190T() (*asset, error) { return a, nil } -var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xdd\x53\xdb\x3a\x16\x7f\xef\x5f\xa1\xf1\x8b\xc9\x4e\x9a\x00\x73\xf7\x61\xdb\x27\x0a\xb4\xcd\x14\x42\x06\xd3\xee\x43\x87\xd9\x51\xa4\x93\x44\x83\x2d\x79\x24\x39\x90\x65\xf8\xdf\x77\xe4\x8f\xc4\xb2\xe4\xe0\x40\xb8\xb7\x7b\xa7\xbc\xb4\x60\x9d\xa3\xf3\xf1\x3b\x1f\x3a\x12\x42\x08\x3d\xbe\x43\xf9\x4f\x80\x53\xf6\x03\xa4\x62\x82\x07\x1f\x50\xf0\x73\x89\x25\xc3\xd3\x18\xd4\x41\xb8\xf9\x12\x69\x21\xf1\x1c\xc2\xde\x6d\xd0\xaf\xe8\x28\xa4\xc0\xa9\xba\x32\x64\x3f\xcb\x3f\x22\x14\xfc\x24\x82\x13\xac\x0f\xc2\x4b\x46\xa4\x50\x62\xa6\x07\x63\xd0\xf7\x42\xde\x0d\xd3\x6c\x1a\x33\x32\x9a\x9c\x50\x2a\x41\x29\x50\xc3\xb0\x8f\x6a\xfb\x25\x58\x69\x90\x13\x7b\xd5\x18\x27\x10\xf6\x7a\xb7\x41\xb9\xc5\xed\x5a\x80\x58\x10\xac\x2b\xb1\x25\x28\x91\x49\x02\x5f\xa4\xc8\xd2\x83\xde\xa0\xfa\x58\x13\x98\xe3\x04\x9a\x2a\x16\x5b\x96\xea\x9d\x10\x22\x32\xae\x8b\x1d\x6b\x84\xa9\x14\x29\x48\xcd\x40\x05\x1f\xd6\x76\x33\x96\x2b\xd6\xdf\xac\x52\x87\xef\x32\x89\xd8\x7f\x41\x5d\xe2\x34\xec\xb9\xfb\xfd\xb8\x34\x5f\xc3\xde\xed\x40\x59\x3b\x1b\x4e\x6b\x45\x9f\xd6\xfb\xeb\x72\x83\x8d\x45\x4b\x81\x87\x36\xb9\x2a\x48\x4b\xc2\xdf\x0e\x6e\x73\xf0\xf9\xc3\x82\x4d\x99\x16\xf2\xa5\x9e\x8e\x34\xe6\x14\x4b\xfa\x9f\x8b\xeb\x68\x1f\xee\x7a\x7c\x64\x33\xc4\x85\x46\x83\xcb\xc2\x42\x52\xcc\x58\x0c\x83\x91\x3a\xcd\x94\x16\xc9\x8f\xf1\xf9\xcd\xd3\xd3\xee\x5e\x3d\x83\x19\xce\x62\xdd\xc1\xab\x08\x3d\x3e\x7e\x01\x6d\x36\x8a\xb2\x29\x07\x7d\x96\x2f\x03\x4e\x18\xa8\x72\xeb\x7d\xbb\x66\xc9\xa4\xce\x70\x5c\x82\xa7\xbb\x2f\x0a\xd8\x44\x29\x26\x60\x7d\xd9\x7c\x9b\x48\x98\xb1\x87\x9c\xb0\xae\x62\x4d\xc9\x13\x7b\xe1\x5a\xc3\x5c\xcb\xf5\xff\xd7\x3e\x45\x28\x50\xb9\x59\x9a\x2c\x1b\x56\x53\x48\xcb\x0c\x6a\xdc\x6e\x3b\xa0\xa3\x8a\x1e\xdb\x1e\x75\x74\x00\xa7\xfb\x72\xff\xfe\x62\xea\x64\x89\x59\x8c\xa7\x2c\x66\x7a\x15\x81\xde\xe2\xbb\x6d\xca\x9f\x8a\x24\xcd\x34\x0c\xb1\xcd\xed\x15\xa9\xec\x6d\xb5\xf6\x26\xaf\x0e\xa8\xa5\x5c\x45\xa0\x35\xe3\x73\xd5\x04\x2d\x15\x09\x66\xdc\x70\xba\xc0\x53\x88\xfd\xfb\x9e\x73\x9a\x0a\xc6\xf5\xd9\x38\x32\x2b\x0b\xe0\x86\x9b\xac\x69\x83\x75\x9d\x88\xe3\x4a\xb9\x4b\xd0\x0b\x41\x0d\xef\xb3\x15\xc7\x09\x23\x5d\xf2\x56\x6b\x5e\xdf\xaf\x77\xfe\x46\x85\xe6\x62\xda\x19\x11\x53\x4c\xee\x80\xd3\x2a\x13\x09\x11\x3b\xc9\xc5\xca\x5d\x5b\x77\xfd\x54\x30\x33\x5c\x2a\x01\x6a\xc4\xb5\x7c\x54\x03\xc9\x4c\x0a\xae\x81\xd3\xd1\xe4\x54\xf0\x19\x9b\x67\x32\xd7\xf3\x15\x52\x54\x9c\x9a\x36\xd8\x6e\x89\x26\x66\x0b\x83\x78\x96\x20\x14\x30\x6a\xf9\x68\x44\x3b\xa1\x23\xec\xef\x8a\x0d\xd7\x72\xcd\xdf\x5e\x96\xe3\x63\x81\xe9\x27\x1c\x63\x4e\x40\xee\x39\x8a\x88\x48\x57\x36\xc2\xf2\x2e\xc3\xef\xab\x53\xf3\xc9\x76\xd1\xda\xb3\x95\x37\x2f\x84\x48\xc7\x82\x82\x9b\x29\xda\x02\xd6\x07\x89\xb3\x70\xaf\x11\x57\xe6\x84\xd6\xc0\xeb\xa3\xd0\xe4\x82\x30\x8a\xbe\xbe\xf7\xe5\x84\x1f\x97\xf5\xf4\xd9\x47\xc6\x6a\x23\x4e\xe1\xe1\xa0\xb7\x43\xd0\x4e\x84\x34\x86\x3d\x3e\xae\x99\x0f\xb8\xd9\xe8\x73\x2c\xb0\xc9\xf2\xa3\x49\xf0\x01\xcd\x70\xac\xe0\xf9\x88\x6b\x16\x84\x12\xe4\x5b\x02\xcc\xb2\xaa\x9d\xfa\xab\x3d\x4a\x11\x8d\xc5\x2a\x0d\x8f\x8f\x0f\x0f\x6d\x97\xa7\x52\x68\x41\x44\x5e\x73\x34\x49\x77\xa9\x09\x16\x92\x87\x8c\x4f\x45\xc6\xe9\x18\xeb\xeb\x2c\x86\x46\x67\x3b\x52\x67\xa7\x57\xd1\xd1\xbf\x0e\x9f\x9e\xcc\x9f\x7f\xc3\xbd\x1d\xee\xaf\xc1\xbb\xf1\xf8\xf1\xf1\x9f\x81\xfa\xff\x07\xdc\x1f\x1f\xff\xc9\x40\xff\x25\x9b\xf4\x71\xf4\xa5\x73\x43\xa2\x80\x64\x92\xe9\x55\xa1\x98\x81\xba\x13\xbd\xf6\x61\xca\x2d\xcf\x5b\x2b\xfc\x7a\x0d\x13\x66\x1b\x83\xa4\xc3\xa3\xbe\x7f\x11\x26\xa4\xe8\x01\x02\xd3\xc2\xde\x07\x2d\xcb\x28\x93\x40\x2a\x4b\x8d\x0a\xd7\xb4\xae\x05\xa5\x19\xcf\x4d\x67\x30\x72\x8d\xf9\x1c\x0a\xa0\x58\x50\xb1\x68\x0a\xcb\x5b\xcb\xff\xd1\x81\xbf\x75\xba\xdc\x4a\x54\xc7\xe5\x0d\x49\xb7\xf0\x26\x92\xa5\x95\xa6\xb9\x4d\x50\x14\x7d\xdd\x2e\xb7\x47\x0c\x67\xf9\x93\xcb\x61\x0d\x27\xa5\x16\x45\x4e\xb1\xc9\x1a\x68\xaf\x7e\xf6\x01\x87\xc3\x5f\x01\x0e\xbf\xc1\x50\xa7\xae\x81\x21\x68\x69\x86\x77\x69\x80\x79\xf1\x6f\x54\xe6\x9a\x3c\xa9\xfd\xaa\x8d\x30\x67\x64\x0f\x4d\xc1\x38\xfa\x52\x94\xad\xae\x73\xbe\x8a\x97\x9f\xe9\x92\x83\xde\xf0\xb3\xc3\x70\x4b\x4b\xe2\xb6\x62\xee\x41\xbb\x85\xb8\x1f\x36\xab\xde\xb0\xde\x6d\x3c\xd7\x6c\x34\x7b\x0d\x57\xe8\x97\x6c\xbf\xf3\xc6\x6f\x7f\x04\x69\x36\x59\x21\x67\xc4\x74\x63\x3b\x36\x5b\x2c\x7d\xc9\x71\xbc\xa2\xca\xc1\xba\xd3\xb9\xbb\xde\xdf\x7c\x7a\x76\x26\xe1\x13\xa2\x12\x9c\x3e\xd3\xb1\xe6\xde\x44\xe1\xd0\x33\xf9\xf0\xce\x6f\x3c\x63\x0d\xf7\x84\xde\x3c\xa3\x5b\x33\x0e\x8f\x8a\xa3\x46\x03\xe7\xeb\x73\xf6\xa9\xef\x3e\x83\xc7\x91\xc1\x97\xc1\x7d\xb5\xf9\x2d\x74\x78\x69\x04\xee\xe2\xb8\x54\xb2\x25\xd6\x50\x1f\x0a\xb5\x0b\xfb\x99\x49\xa5\xcd\x42\xdf\x39\x87\xf1\x6d\x14\x57\x44\x83\xfe\x23\xec\xf5\x7a\xce\xd4\xca\x92\xc2\x33\x4e\x8d\x34\xd6\x8c\xb8\x44\xc5\x7d\xc1\xd6\x29\x96\x6b\x3e\x0e\xba\xb8\x48\x68\x1c\x74\x7c\xf6\xda\x3e\x8c\x42\xa8\x1f\xf8\x6a\x6d\xd7\x33\xd7\xba\x6a\xbd\x6b\xee\xb1\x43\x95\x1f\x71\x0d\x72\x86\xc9\xbe\x07\xc6\x7b\xab\xf0\xcb\x64\xf7\x02\xdf\x3e\x95\x76\xb4\xf6\x66\xb5\xdd\xca\x84\x7f\xc7\xb6\x5b\x93\xa1\x27\x26\x9d\x7b\x9a\x06\xf7\x1d\x6f\xc3\x3b\x90\x38\xf7\xab\x4e\xed\xd5\x78\xae\x82\x0f\xe5\x6f\x75\x37\x4a\xc8\xc3\x2b\xca\x8b\x71\x80\x6a\xe1\x1e\x62\xa2\x80\xcf\x19\x87\x17\x4c\x38\x1c\xe7\xbe\x79\xf1\xdf\xb1\xe8\x37\x1c\xd9\x12\xa5\xfe\xb1\x77\x1b\x18\x3a\x62\xc1\x3b\x4d\x59\x60\x49\xef\xb1\x84\xb2\x43\x6d\xca\x53\x3c\x6f\x68\x49\x62\xd5\xe3\x06\x3f\xe7\x32\x48\x5a\x18\xbb\x89\xc3\xb9\xc2\x6d\x26\xda\x4e\x57\x02\x0e\xdf\xb0\xff\x9a\x36\xae\x99\x9b\x9f\xbf\x3e\x16\xaa\x45\x63\x4c\x13\xc6\xbf\x2b\x90\xbe\x21\x8e\xf5\xb1\x79\xa3\x12\x90\xc2\xf1\x72\x4f\xe0\x44\xd5\x7d\xb6\xe9\x83\x8a\x03\x4a\x71\x2c\x39\xc3\x1a\x5b\x0d\x45\x10\x33\x9e\x3d\x6c\x9b\xe5\xe5\x87\x71\x65\x84\x98\x60\xa5\xee\x85\xa4\x27\x99\x5e\x00\xd7\x6c\x13\x77\x5a\x66\x4e\xab\x6a\x4e\x99\xde\x92\x59\xdc\xe9\x7c\x83\x95\xbf\x21\xf5\x21\xa3\x46\x7d\x07\x2b\xa3\x44\xd3\xbc\x4a\x2d\xae\xa3\x93\x49\xc5\xda\xbd\xb2\xb2\x45\xc0\x7a\xe1\xe1\xf0\x0d\x56\x13\xac\x17\x9e\x7a\x5d\xfc\xb8\x9d\xd8\x6d\x87\x3a\x6e\x5c\xc1\x66\x68\x70\x61\x2c\x5d\x9d\x13\xbf\x62\x15\x01\x91\xa0\xed\x07\x0b\x16\x28\x54\xb1\xa0\x29\x68\x5c\xe3\x53\xf2\x68\x48\xdc\xec\x1b\xad\xc7\x0f\x45\x7e\x6f\x81\x30\x4b\xf0\x1c\xae\x61\x06\x12\xb8\xf3\x26\xc3\x60\x7f\x36\x03\xd9\x14\x48\xa8\x91\x21\xbb\x32\xdf\x7c\x77\x85\xc6\x29\x6a\xd1\x4a\x37\xa9\xbe\x7b\x68\xd5\x5d\xd6\x42\x15\x7d\xfb\xee\x59\xbf\xf4\xf7\x20\x25\x4d\xd9\x87\x34\xaf\x54\x2d\xa3\x0b\x75\xc6\xd4\x9d\xab\x39\xc1\x64\xc1\xf8\xdc\x70\xbe\x06\x4c\xff\x2d\x99\x76\x20\x9f\xd7\x3c\xb8\x5a\xcf\x73\x3e\x4b\x91\xe4\x1b\x37\x17\xbe\x26\xcc\xfb\xe1\x7b\xa1\x28\x53\x77\x3e\xf5\x17\xd4\x77\x2e\xcc\x24\xab\xef\x26\x2b\xff\x1e\xb8\xed\x48\xcb\xfb\x26\x5f\x37\xe2\x6b\x2e\x7a\xfd\xed\x6f\xd2\x7a\x83\x54\xb2\x04\xcb\x55\xf5\x08\x42\x0d\xa6\xb1\x98\xf6\xc3\xe5\x82\x7a\x37\x69\x3f\x86\xac\xed\x30\x58\x2e\xa8\x13\xb2\xfe\x50\xec\xd2\xf8\x56\x35\xb8\x7c\xc3\x73\x99\xfb\xfd\xaf\x7b\x27\xd1\x22\x4e\xa7\x7e\x54\x65\x53\x17\x5a\x65\x13\xdd\x47\x47\x7f\xcd\x2c\xe5\x39\xa1\xfa\x28\x1c\xde\x63\xa6\x67\x42\xc6\x80\xa9\x9d\x16\xda\xbb\xae\x4c\x8b\xef\xe9\x5c\x62\x0a\x97\x8c\x0b\xb9\xf1\x8a\xa9\x4d\xcd\xf7\x34\x55\x36\xda\x98\xf9\x2a\xba\x39\x3d\x7f\xd0\xc0\x55\x3e\xa8\xa9\x27\xcc\x96\xb7\x3e\x44\x24\x09\xe6\xf4\x46\x9c\x3f\x00\xc9\x74\x31\x59\x5d\xa0\xf7\x04\x85\x19\xd7\x2c\x46\x29\xe3\x73\xf4\x9e\x1c\xa1\x42\x8d\x41\x02\x4a\xa8\x8f\x54\x20\x20\x0b\x81\x8c\x8a\x66\xc1\x4c\x48\x7b\x81\x8a\x01\x52\x74\xf4\xcf\x8f\x54\x70\xf8\x98\xaf\xad\x7f\x47\x59\x1a\xfa\xdb\xb1\x0a\xca\x45\xa5\x8f\xf2\xc1\xf2\x67\x21\xf3\xb2\x13\x34\xd6\x7d\xc5\x9c\xc6\x50\xb3\x52\x70\x34\xf8\xa3\xcb\x55\x5a\x1b\x1c\x61\x63\xbb\x22\x50\xde\xfd\x2f\x00\x00\xff\xff\xde\x6b\xa4\x23\x9a\x2c\x00\x00") +var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xdd\x53\xdb\x3a\x16\x7f\xef\x5f\xa1\xf1\x8b\xc9\x4e\x9a\x00\x73\xf7\x61\xdb\x27\x0a\xb4\xcd\x14\x42\x06\xd3\xee\x43\x87\xd9\x51\xa4\x93\x44\x83\x2d\x79\x24\x39\x90\x65\xf8\xdf\x77\xe4\x8f\xc4\x96\xe4\xe0\x40\xb8\xb7\x7b\xa7\xbc\xb4\x60\x9d\xa3\xf3\xf1\x3b\x1f\x3a\x12\x42\x08\x3d\xbe\x43\xf9\x4f\x80\x53\xf6\x03\xa4\x62\x82\x07\x1f\x50\xf0\x73\x89\x25\xc3\xd3\x18\xd4\x41\xb8\xf9\x12\x69\x21\xf1\x1c\xc2\xde\x6d\xd0\xaf\xe8\x28\xa4\xc0\xa9\xba\x32\x64\x3f\xcb\x3f\x22\x14\xfc\x24\x82\x13\xac\x0f\xc2\x4b\x46\xa4\x50\x62\xa6\x07\x63\xd0\xf7\x42\xde\x0d\xd3\x6c\x1a\x33\x32\x9a\x9c\x50\x2a\x41\x29\x50\xc3\xb0\x8f\x6a\xfb\x25\x58\x69\x90\x93\xe6\xaa\x31\x4e\x20\xec\xf5\x6e\x83\x72\x8b\xdb\xb5\x00\xb1\x20\x58\x57\x62\x4b\x50\x22\x93\x04\xbe\x48\x91\xa5\x07\xbd\x41\xf5\xb1\x26\x30\xc7\x09\xd8\x2a\x16\x5b\x96\xea\x9d\x10\x22\x32\xae\x8b\x1d\x6b\x84\xa9\x14\x29\x48\xcd\x40\x05\x1f\xd6\x76\x33\x96\x2b\xd6\xdf\xac\x52\x87\xef\x32\x89\xd8\x7f\x41\x5d\xe2\x34\xec\xb9\xfb\xfd\xb8\x34\x5f\xc3\xde\xed\x40\x35\x76\x36\x9c\xd6\x8a\x3e\xad\xf7\xd7\xe5\x06\x1b\x8b\x96\x02\x0f\x9b\xe4\xaa\x20\x2d\x09\x7f\x3b\xb8\xcd\xc1\xe7\x0f\x0b\x36\x65\x5a\xc8\x97\x7a\x3a\xd2\x98\x53\x2c\xe9\x7f\x2e\xae\xa3\x7d\xb8\xeb\xf1\x91\xcd\x10\x17\x1a\x0d\x2e\x0b\x0b\x49\x31\x63\x31\x0c\x46\xea\x34\x53\x5a\x24\x3f\xc6\xe7\x37\x4f\x4f\xbb\x7b\xf5\x0c\x66\x38\x8b\x75\x07\xaf\x22\xf4\xf8\xf8\x05\xb4\xd9\x28\xca\xa6\x1c\xf4\x59\xbe\x0c\x38\x61\xa0\xca\xad\xf7\xed\x9a\x25\x93\x3a\xc3\x71\x09\x9e\xee\xbe\x28\x60\x13\xa5\x98\x40\xe3\xcb\xe6\xdb\x44\xc2\x8c\x3d\xe4\x84\x75\x15\x6b\x4a\x9e\x34\x17\xae\x35\xcc\xb5\x5c\xff\x7f\xed\x53\x84\x02\x95\x9b\xc5\x66\x69\x59\x4d\x21\x2d\x33\xa8\x71\xbb\xed\x80\x8e\x2a\x7a\x9a\xf6\xa8\xa3\x03\x38\xdd\x97\xfb\xf7\x17\x53\x27\x4b\xcc\x62\x3c\x65\x31\xd3\xab\x08\xf4\x16\xdf\x6d\x53\xfe\x54\x24\x69\xa6\x61\x88\x9b\xdc\x5e\x91\xca\xde\x56\x6b\x6f\xf2\xea\x80\x5a\xca\x55\x04\x5a\x33\x3e\x57\x36\x68\xa9\x48\x30\xe3\x86\xd3\x05\x9e\x42\xec\xdf\xf7\x9c\xd3\x54\x30\xae\xcf\xc6\x91\x59\x59\x00\x37\xdc\x64\xcd\x26\x58\xd7\x89\x38\xae\x94\xbb\x04\xbd\x10\xd4\xf0\x3e\x5b\x71\x9c\x30\xd2\x25\x6f\xb5\xe6\xf5\xfd\x7a\xe7\x6f\x54\x68\x2e\xa6\x9d\x11\x31\xc5\xe4\x0e\x38\xad\x32\x91\x10\xb1\x93\x5c\x1a\xb9\x6b\xeb\xae\x9f\x0a\x66\x86\x4b\x25\x40\x8d\xb8\x96\x8f\x6a\x20\x99\x49\xc1\x35\x70\x3a\x9a\x9c\x0a\x3e\x63\xf3\x4c\xe6\x7a\xbe\x42\x8a\x8a\x93\x6d\x83\xed\x96\xb0\x31\x5b\x18\xc4\xb3\x04\xa1\x80\xd1\x86\x8f\x46\xb4\x13\x3a\xc2\xfe\xae\xd8\x70\x2d\x67\xff\xf6\xb2\x1c\x1f\x0b\x4c\x3f\xe1\x18\x73\x02\x72\xcf\x51\x44\x44\xba\x6a\x22\x2c\xef\x32\xfc\xbe\x3a\x35\x9f\x9a\x2e\x5a\x7b\xb6\xf2\xe6\x85\x10\xe9\x58\x50\x70\x33\x45\x5b\xc0\xfa\x20\x71\x16\xee\x35\xe2\xca\x9c\xd0\x1a\x78\x7d\x14\x9a\x5c\x10\x46\xd1\xd7\xf7\xbe\x9c\xf0\xe3\xb2\x9e\x3e\xfb\xc8\x58\x6d\xc4\x29\x3c\x1c\xf4\x76\x08\xda\x89\x90\xc6\xb0\xc7\xc7\x35\xf3\x01\x37\x1b\x7d\x8e\x05\x36\x59\x7e\x34\x09\x3e\xa0\x19\x8e\x15\x3c\x1f\x71\x76\x41\x28\x41\xbe\x25\xc0\x1a\x56\x6d\xa6\xfe\x6a\x8f\x52\x44\x63\xb1\x4a\xc3\xe3\xe3\xc3\xc3\xa6\xcb\x53\x29\xb4\x20\x22\xaf\x39\x9a\xa4\xbb\xd4\x84\x06\x92\x87\x8c\x4f\x45\xc6\xe9\x18\xeb\xeb\x2c\x06\xab\xb3\x1d\xa9\xb3\xd3\xab\xe8\xe8\x5f\x87\x4f\x4f\xe6\xcf\xbf\xe1\xde\x0e\xf7\xd7\xe0\xdd\x78\xfc\xf8\xf8\xcf\x40\xfd\xff\x1d\xee\xff\x74\xd4\xff\x92\x1d\xfb\x38\xfa\xd2\xb9\x3b\x51\x40\x32\xc9\xf4\xaa\x50\xcc\xe0\xde\x09\xe5\xe6\xc9\xca\xad\xd5\x5b\xcb\xfd\x7a\x0d\x13\x66\x1b\x03\xab\xc3\xa3\xbe\x7f\x11\x26\xa4\x68\x08\x02\xd3\xcf\xde\x07\x2d\xcb\x28\x93\x40\x2a\x4b\x8d\x0a\xd7\xb4\xae\x05\xa5\x19\xcf\x4d\x67\x00\x73\x8d\xf9\x3c\x37\x9a\xc1\x76\x1b\x4d\x61\xf9\xc6\xf2\x7f\x74\xe0\xdf\x38\x6a\x6e\x25\xaa\xe3\xf2\x86\xa4\x5b\x78\x13\xc9\xd2\x4a\xd3\xdc\x26\x28\x8a\xbe\x6e\x97\xdb\x23\x86\xb3\xfc\xc9\xe5\xb0\x86\x93\x52\x8b\x22\xc1\x34\xc9\x2c\xb4\x57\x3f\xfb\x80\xc3\xe1\xaf\x00\x87\xdf\x60\xa8\x53\xd7\xc0\x10\xb4\x74\xc6\xbb\x74\xc3\xbc\xf8\x37\x2a\x73\x4d\x9e\xd4\x7e\xd5\xae\x98\x33\xb2\x87\x0e\x61\x1c\x7d\x29\x6a\x58\xd7\xa1\x5f\xc5\xcb\xcf\x74\xc9\x41\x6f\xf8\x35\xc3\x70\x4b\x7f\xe2\xf6\x65\xee\xa9\xbb\x85\xb8\x1f\xda\x55\x6f\x58\x6f\x3d\x9e\xeb\x3c\xec\xc6\xc3\x15\xfa\x25\xdb\xef\xbc\xf1\xdb\x9f\x47\xec\x8e\x2b\xe4\x8c\x98\xd6\x6c\xc7\xce\x8b\xa5\x2f\x39\x9b\x57\x54\x39\x58\x77\x3a\x84\xd7\xfb\x9b\x4f\xcf\x0e\x28\x7c\x42\x54\x82\xd3\x67\xda\xd7\xdc\x9b\x28\x1c\x7a\xc6\x20\xde\x61\x8e\x67\xc6\xe1\x1e\xd7\xed\x03\x7b\x63\xe0\xe1\x51\x71\x64\x35\x70\xbe\x3e\x67\x9f\xfa\xee\x33\x78\x1c\x19\x7c\x19\xdc\x57\x9b\xdf\x42\x87\x97\x46\xe0\x2e\x8e\x4b\x25\x5b\x62\x0d\xf5\x09\x51\xbb\xb0\x9f\x99\x54\xda\x2c\xf4\x1d\x7a\x18\xdf\x46\x71\x45\x34\xe8\x3f\xc2\x5e\xaf\xe7\x8c\xb0\x1a\x52\x78\x66\xab\x91\xc6\x9a\x11\x97\xa8\xb8\x3c\xd8\x3a\xd2\x72\xcd\xc7\x41\x17\xb7\x0a\xd6\xa9\xc7\x67\xaf\xed\x93\x29\x84\xfa\x81\xaf\xd6\x76\x3d\x80\xad\xab\xd6\x3b\x7b\x8f\x1d\xaa\xfc\x88\x6b\x90\x33\x4c\xf6\x3d\x3d\xde\x5b\x85\x5f\x26\xbb\x17\xf8\xf6\x11\xb5\xa3\xb5\x37\xab\xed\x56\x26\xfc\x3b\xb6\x5d\xa1\x0c\x3d\x31\xe9\x5c\xda\x58\xdc\x77\xbc\x1a\xef\x40\xe2\x5c\xb6\x3a\xb5\x57\xe3\xb9\x0a\x3e\x94\xbf\xd5\xdd\x28\x21\x0f\xaf\x28\x2f\xc6\x01\xaa\x85\x7b\x88\x89\x02\x3e\x67\x1c\x5e\x30\xee\x70\x9c\xfb\xe6\xc5\x7f\xc7\xa2\x6f\x39\xb2\x25\x4a\xfd\x33\xf0\x36\x30\x74\xc4\x82\x77\xb4\xb2\xc0\x92\xde\x63\x09\x65\x87\x6a\xcb\x53\xbc\x75\x68\x49\x62\xd5\x4b\x07\x3f\xe7\x32\x48\x5a\x18\xbb\x89\xc3\xb9\xcf\xb5\x13\x6d\xa7\xfb\x01\x87\x6f\xd8\x7f\x4d\x1b\x67\xe7\xe6\xe7\xef\x92\x85\x6a\xd1\x18\xd3\x84\xf1\xef\x0a\xa4\x6f\x88\xd3\xf8\x68\x5f\xaf\x04\xa4\x70\xbc\xdc\x13\x38\x51\x75\xb9\x6d\xfa\xa0\xe2\x80\x52\x1c\x4b\xce\xb0\xc6\x8d\x86\x22\x88\x19\xcf\x1e\xb6\x0d\xf6\xf2\xc3\xb8\x32\x42\x4c\xb0\x52\xf7\x42\xd2\x93\x4c\x2f\x80\x6b\xb6\x89\x3b\x2d\x33\xa7\x55\x35\xa7\x4c\x6f\xc9\x2c\x2e\x78\xbe\xc1\xca\xdf\x90\xfa\x90\x51\xa3\xbe\x83\x95\x51\xc2\x36\xaf\x52\x8b\xeb\xe8\x64\x52\xb1\x76\xef\xaf\x9a\x22\x60\xbd\xf0\x70\xf8\x06\xab\x09\xd6\x0b\x4f\xbd\x2e\x7e\xdc\x4e\xec\xb6\x43\x1d\x37\xae\x60\x33\x34\xb8\x30\x96\xae\xce\x89\x5f\xb1\x8a\x80\x48\xd0\xcd\xd7\x0b\x0d\x50\xa8\x62\x81\x2d\x68\x5c\xe3\x53\xf2\xb0\x24\xb6\xfb\xc6\xc6\x4b\x88\x22\xbf\xb7\x40\x98\x25\x78\x0e\xd7\x30\x03\x09\xdc\x79\xa0\x61\xb0\x3f\x9b\x81\xb4\x05\x12\x6a\x64\xc8\xae\xcc\x37\xdf\xc5\xa1\x71\x8a\x5a\xb4\xd2\x4d\xaa\xef\x1e\x5a\x75\x97\xb5\x50\x45\xdf\xbe\x7b\xd6\x2f\xfd\x3d\x48\x49\x53\xf6\x21\xf6\xfd\x6a\xc3\xe8\x42\x9d\x31\x75\xe7\x6a\x4e\x30\x59\x30\x3e\x37\x9c\xaf\x01\xd3\x7f\x4b\xa6\x1d\xc8\xe7\x35\x0f\xae\xd6\xf3\x9c\xcf\x52\x24\xf9\xc6\xf6\xc2\xd7\x84\x79\x3f\x7c\x2f\x14\x65\xea\xce\xa7\xfe\x82\xfa\xce\x85\x99\x64\xf5\xdd\x64\xe5\xdf\x03\xb7\x1d\x69\x79\xec\xe4\xeb\x46\x7c\xcd\x45\xaf\xbf\xfd\x81\x5a\x6f\x90\x4a\x96\x60\xb9\xaa\x5e\x44\xa8\xc1\x34\x16\xd3\x7e\xb8\x5c\x50\xef\x26\xed\xc7\x90\xb5\x1d\x06\xcb\x05\x75\x42\xd6\x1f\x8a\x5d\x1a\xdf\xaa\x06\x97\x0f\x7a\x2e\x73\xbf\xff\x75\x8f\x26\x5a\xc4\xe9\xd4\x8f\xaa\x6c\xea\x42\xab\x6c\xa2\xfb\xe8\xe8\xaf\x99\xa5\x3c\x27\x54\x1f\x85\xc3\x7b\xcc\xf4\x4c\xc8\x18\x30\x6d\xa6\x85\xf6\xae\x2b\xd3\xe2\x7b\x3a\x97\x98\xc2\x25\xe3\x42\x6e\xbc\x62\x6a\x93\xfd\xb8\xa6\xca\x46\x1b\x33\x5f\x45\x37\xa7\xe7\x0f\x1a\xb8\xca\x07\x35\xf5\x84\xd9\xf2\xf0\x87\x88\x24\xc1\x9c\xde\x88\xf3\x07\x20\x99\x2e\x26\xab\x0b\xf4\x9e\xa0\x30\xe3\x9a\xc5\x28\x65\x7c\x8e\xde\x93\x23\x54\xa8\x31\x48\x40\x09\xf5\x91\x0a\x04\x64\x21\x90\x51\xd1\x2c\x98\x09\xd9\x5c\xa0\x62\x80\x14\x1d\xfd\xf3\x23\x15\x1c\x3e\xe6\x6b\xeb\xdf\x51\x96\x86\xfe\x76\xac\x82\x72\x51\xe9\xa3\x7c\xb0\xfc\x59\xc8\xbc\xec\x04\xd6\xba\xaf\x98\xd3\x18\x6a\x56\x0a\x8e\x06\x7f\x74\xb9\x4a\x6b\x83\x23\x6c\x6c\x57\x04\xca\xbb\xff\x05\x00\x00\xff\xff\xc5\x98\xa6\xa6\xa7\x2c\x00\x00") func dcosmasterresourcesTBytes() ([]byte, error) { return bindataRead( diff --git a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json index c9d22d1b89..38efd6af61 100644 --- a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json @@ -1465,7 +1465,7 @@ "frontendIPConfiguration": { "id": "[variables('masterLbIPConfigID')]" }, - "frontendPort": "22", + "frontendPort": "[copyIndex(22)]", "protocol": "tcp" }, "type": "Microsoft.Network/loadBalancers/inboundNatRules" From 6de26483ccf67d17bbfe0f4dc6466b0e390c5ed7 Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Thu, 16 Mar 2017 11:26:39 -0400 Subject: [PATCH 09/12] Fix NAT rule --- parts/dcosmasterresources.t | 20 ++++++-------------- parts/dcosmastervars.t | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 15 deletions(-) diff --git a/parts/dcosmasterresources.t b/parts/dcosmasterresources.t index ed1bc56b15..cdb64dcc00 100644 --- a/parts/dcosmasterresources.t +++ b/parts/dcosmasterresources.t @@ -113,23 +113,19 @@ {{if IsDCOS190}} { "apiVersion": "[variables('apiVersionDefault')]", - "copy": { - "count": "[variables('masterCount')]", - "name": "masterLbLoopNode" - }, "dependsOn": [ "[variables('masterLbID')]" ], "location": "[resourceGroup().location]", - "name": "[concat(variables('masterLbName'), '/', 'SSHPort22-', variables('masterVMNamePrefix'), copyIndex())]", + "name": "[concat(variables('masterLbName'), '/', 'SSHPort22-', variables('masterVMNamePrefix'), '0')]", "properties": { "backendPort": 2222, "enableFloatingIP": false, "frontendIPConfiguration": { "id": "[variables('masterLbIPConfigID')]" }, - "frontendPort": "[copyIndex(22)]", + "frontendPort": "22", "protocol": "tcp" }, "type": "Microsoft.Network/loadBalancers/inboundNatRules" @@ -187,9 +183,6 @@ "[variables('vnetID')]", {{end}} "[variables('masterLbID')]", -{{if IsDCOS190}} - "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]", -{{end}} "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], "location": "[resourceGroup().location]", @@ -204,16 +197,15 @@ "id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" } ], - "loadBalancerInboundNatRules": [ {{if IsDCOS190}} - { - "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'),copyIndex())]" - }, -{{end}} + "loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]", +{{else}} + "loadBalancerInboundNatRules": [ { "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" } ], +{{end}} "privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]", "privateIPAllocationMethod": "Static", "subnet": { diff --git a/parts/dcosmastervars.t b/parts/dcosmastervars.t index 80e41b7bdc..133681cac7 100644 --- a/parts/dcosmastervars.t +++ b/parts/dcosmastervars.t @@ -79,4 +79,36 @@ "storageAccountPrefixes": [ "0", "6", "c", "i", "o", "u", "1", "7", "d", "j", "p", "v", "2", "8", "e", "k", "q", "w", "3", "9", "f", "l", "r", "x", "4", "a", "g", "m", "s", "y", "5", "b", "h", "n", "t", "z" ], "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", "storageAccountType": "Standard_LRS", - "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]" + "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]", + "masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]", + "masterLbInboundNatRules": [ + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]" + }, + { + "id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]" + } + ] + ] From b3a4228d1c768038d793577c56d736e2422065cd Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Thu, 16 Mar 2017 12:05:14 -0400 Subject: [PATCH 10/12] Fix tests --- parts/dcosmastervars.t | 7 +++++-- pkg/acsengine/templates.go | 2 +- pkg/api/vlabs/const.go | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/parts/dcosmastervars.t b/parts/dcosmastervars.t index b97a73f9fd..cd50a008f1 100644 --- a/parts/dcosmastervars.t +++ b/parts/dcosmastervars.t @@ -84,7 +84,7 @@ "storageAccountPrefixes": [ "0", "6", "c", "i", "o", "u", "1", "7", "d", "j", "p", "v", "2", "8", "e", "k", "q", "w", "3", "9", "f", "l", "r", "x", "4", "a", "g", "m", "s", "y", "5", "b", "h", "n", "t", "z" ], "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", "storageAccountType": "Standard_LRS", - "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", +{{if IsDCOS190}} "masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]", "masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]", "masterLbInboundNatRules": [ @@ -116,4 +116,7 @@ "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]" } ] - ] + ], +{{end}} + "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]" + diff --git a/pkg/acsengine/templates.go b/pkg/acsengine/templates.go index b145e7a5a5..06ac7e71b6 100644 --- a/pkg/acsengine/templates.go +++ b/pkg/acsengine/templates.go @@ -464,7 +464,7 @@ func dcosmasterresourcesT() (*asset, error) { return a, nil } -var _dcosmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\x5b\x6f\xe2\x4a\x12\x7e\xcf\xaf\x68\x59\x23\x19\x24\x73\xcd\x65\xf6\x20\xed\x43\x6e\x67\x0e\x0a\x61\x50\x3c\xe1\x25\x42\xa3\xc6\x2e\x43\x6f\x4c\x37\xd3\xdd\x26\x30\x88\xff\xbe\x2a\xdb\xe0\x7b\x12\x92\xd5\x6a\xf2\x50\x49\x5c\x5f\x55\x7d\x5d\xdd\x55\x5d\x36\x21\x84\x18\xd4\x5d\x30\xfe\xa8\x40\x72\xba\x00\xa3\x47\x8c\xa7\x25\x95\x74\x01\x1a\xa4\xaa\x99\x3e\xe3\xc1\xfa\x32\x0d\x31\xeb\x13\xc3\x3a\x09\x4d\x35\x95\x33\xd0\xb7\x7c\xc5\xa4\xe0\x0b\xe0\xba\x60\x5e\x40\xa4\xac\x17\x74\x3d\xbe\x57\x23\x90\x23\x21\x7c\xa3\x47\x3a\xed\x76\x5e\x63\x6b\x21\xe9\x0c\x2e\x1d\x47\x04\xa1\xf7\x6e\x0a\x92\x55\x22\xfc\x72\xb6\xe7\xe0\xb2\x55\x6d\x45\x25\xa3\x53\x1f\x54\xcd\xcc\x84\x32\xeb\x56\x99\x2a\xeb\xce\xac\x27\x44\x5d\xaa\x69\x56\x3b\x92\xe0\xb1\xb5\x0d\xe0\x1a\x3d\xf2\xd7\x57\x8b\x44\x40\xba\x64\x63\x90\x8a\x09\x7e\x03\x1e\x0d\xfc\x90\x4b\xb7\xdd\xb9\x68\xb4\x4f\x1b\xa7\x6d\xa3\x88\x8b\xdd\xc6\xb8\xf3\x46\xfb\xa2\xd1\x39\x37\xac\x93\xed\x96\x79\xa4\xf9\x0f\x55\xf7\x94\xd3\x19\xb8\x37\x4c\x3d\xab\xdd\xae\xc2\x3c\x0d\x4a\x42\x9e\x35\x4e\xdb\x8d\xa5\x84\x15\x83\x97\xd0\x25\x70\x77\xb7\x8b\x5d\x0f\x70\x5f\x47\x52\x78\xcc\x07\x8c\x63\x83\x23\x41\x1f\x42\xf8\x29\x75\xac\x32\x48\x2f\xd4\x11\xf2\x14\xff\xc6\x9f\xed\x56\x52\x3e\x03\x42\xbe\xac\xfa\xdc\x85\xb5\x45\xbe\xac\x70\xe5\xa4\xf7\xef\x5c\x90\x6c\x84\xc4\x9e\x79\x7b\xdb\xdd\x8e\x58\x64\x4f\x93\x64\x7e\xb6\xb9\xff\x09\x31\x94\x08\xa4\x03\xe3\x28\xcd\x45\x3d\x21\x06\x73\x8d\x5e\xc9\x69\xbe\x83\x4d\x68\xd5\xbf\xd9\x6e\x0f\x91\xf1\x5c\x16\x7c\xec\xac\x62\xd8\x70\x75\xd7\x20\x35\xf3\x98\x43\x35\x28\xa3\xf7\x54\x40\xed\xb3\xf2\xc5\xd9\x27\xc5\x01\x19\xe6\x24\xca\x4e\x73\x9c\xf7\x52\x58\x71\x92\x1c\xe7\xad\xe4\x94\x27\x28\x64\xeb\x24\x21\x1e\xa5\x6f\x90\x77\xe7\x23\xc5\xed\xf1\x61\xb0\xdd\x1e\x58\x94\x26\x8a\x90\x22\xa7\x2a\xae\x93\x93\x2a\xcb\xac\xc5\xc4\x22\x27\xe9\x27\xc6\x82\x2a\x0d\xf2\x72\x45\x99\x4f\xa7\xcc\x67\x7a\x63\x43\x54\xed\x8e\xe0\x0e\xd5\xe9\x82\x17\xd2\x99\x83\xd2\x92\x6a\x21\x87\x61\xd3\xb2\x88\xd9\x88\x3c\x34\x68\xd6\x45\xc3\xb4\x48\xca\x14\x7b\x9c\x1d\x78\x1e\x5b\x47\x3d\x80\xa4\xa3\x5f\xc7\x7d\x68\xbb\x6d\xde\x87\x0f\xf6\xa7\x3b\x54\xec\x76\x59\xf4\x2d\x77\x97\x82\x71\x7d\x33\xb4\x91\x44\xd4\x35\x42\xc6\x5a\xf8\xe2\x05\x64\x2d\xbd\x19\xaf\xd8\xa4\xbb\x51\x04\x1b\x4c\xaf\xa8\xf3\x0c\xdc\xc5\x8e\x36\xdc\x77\xee\x23\x13\xb1\x14\xc2\x3f\x66\xf5\x83\x69\xff\x26\x8c\x23\x21\xaa\xbe\xbe\x5b\x33\xef\x99\x23\x85\x12\x9e\x6e\x0e\x41\xbf\x08\xf9\xdc\xf2\x05\x75\xaf\xa8\x4f\xb9\x03\x52\x99\xd9\x66\x1b\xb9\x89\x98\x94\xf9\x1f\x5d\x0b\xee\xb1\x59\x1c\xa7\xb8\x9e\x84\x88\x59\xb7\xcc\x96\x27\x05\xd7\xc0\xdd\xbd\x5d\x20\xa9\x66\x82\xab\x56\x76\x55\x79\xf7\x6f\xc6\xff\x68\x46\xfd\xe9\xdf\xc8\xe8\x96\xbb\xc7\xe5\xf5\xe3\xf1\x8e\x89\x33\xb4\xbf\xbd\x6b\x03\x79\xf4\xdb\x06\x27\x90\x4c\x6f\xbe\x49\x11\x2c\xcb\x36\x72\x68\x7f\xab\xc8\x64\xac\xf9\xc8\x92\xb8\x9a\x1d\xb3\xa6\x51\x30\xf5\x99\xd3\x1f\x5d\xba\xae\x04\xa5\x3e\x1a\x95\x2d\x1b\x65\x47\xa6\xa2\x1a\xd1\xf0\x08\x8e\xd9\xe1\xe1\x76\x3d\x67\x53\x16\x93\xa8\xe0\xaa\x32\x16\x57\x54\xc1\x81\x31\xac\xe7\xd3\xb6\xf9\x46\x8c\x8f\xb9\x5e\x28\x2d\x23\xd7\xf1\x94\x90\xed\x71\x7d\x75\x1d\x28\x2d\x16\xe3\xe1\xed\x8f\x6c\x53\x1e\x73\xd0\x76\x30\xe5\xa0\xe3\xf3\x55\xec\x6b\x69\xc8\x3e\x04\xf8\x0a\xb2\x8e\x22\x44\x85\x8b\x48\x69\xe6\x5b\x61\xf4\xf8\x83\x1b\x5f\xf0\xb9\x4a\x16\xf1\x7a\x91\xac\x98\xd4\x01\xf5\xe3\x7f\xb3\xe5\x91\xd5\x25\x35\xf2\x6a\xce\x8a\xc4\x57\x71\xb6\x2c\xb3\xa5\x42\x24\xf6\xb5\xc2\x19\x4d\xd6\x9f\x0e\x52\xa4\x70\x54\x76\x30\xf4\x9b\x47\xbc\xe4\x7a\xfe\x9b\x49\xa5\xb1\x16\xbf\x3b\x1a\x87\x46\x8c\xa9\x96\x3e\xd3\x99\xab\xce\x43\xd4\xb5\xe0\x0a\x9c\x40\xb3\x15\xd8\x9a\x6a\x2c\x62\x5c\x6a\xb3\xb0\xc1\x59\x9f\x67\xa1\xcf\x42\x16\x72\x81\xcd\xfa\xd3\xe9\xa4\xca\x4f\xea\x22\xae\xba\x61\x8a\xee\xda\x13\xe4\x56\x4c\x7f\x11\xd9\x79\x37\xb2\x3b\x29\x5b\xef\xf8\x3e\x37\x2d\x1c\xd9\xcb\xaa\xb7\x2d\xec\x5b\x85\xd6\x31\xbe\x1f\x32\xc7\xe8\x1d\xe6\xfa\xea\xac\xa4\x99\x85\xde\x38\x73\x1a\xe9\x66\x74\xb4\x71\xe7\x33\xc6\xdd\xcf\x18\x9f\x7e\xc6\xf8\xec\x33\xc6\xe7\x9f\x31\xbe\x38\x0c\xe0\x93\xfc\x2e\xda\xec\x77\xf1\x05\x3e\xad\x4c\x6f\x7d\x72\x2c\x0a\x26\xe9\x13\x93\x18\x08\x1a\xe8\xf9\x2d\x47\x86\xf8\xd6\x6b\x78\xd4\x57\x90\x68\x73\x07\x12\x11\xae\x23\x54\x02\x50\xfd\x05\x9d\xc1\x77\xcf\x03\x89\xca\xc7\x69\xc0\x75\x60\x83\x5c\x81\xcc\x83\xc2\x3b\x5d\xcd\x23\xe0\x35\xe5\x82\x33\x87\xfa\x79\x94\x7d\xf7\x88\xfa\xce\x45\xb3\x7d\xd6\x6c\x37\x06\x3f\xec\x3c\x22\x7e\x4b\x4e\x50\xf8\x62\xdc\xbe\xe8\x7e\x6d\xef\x0b\x4e\xa9\xf9\x1d\x6c\x46\x54\xcf\xd3\x85\x66\xb6\xe6\x62\x01\xb9\x19\x92\x66\x3f\x82\x58\xc4\x6c\x35\x95\x9a\xb7\x30\x2d\x42\xb2\xdf\xe0\xfe\x7c\x86\x8d\x4a\xa7\x4c\xa9\xf9\x83\x7d\x19\x4d\x28\x77\xb0\x29\x24\x3a\xa7\x4f\x35\x02\x5f\x38\xd1\x20\x9b\x2a\xcb\xf0\xac\xec\xef\xa4\x70\x26\xab\xd5\x9b\x7b\xe0\xde\x32\x86\x65\x5e\xf2\x62\x48\xea\xe0\x64\x83\xe4\x1b\xea\x21\xb8\x59\x7f\x5a\x08\xb7\x46\x5d\xb7\xd6\xb5\x7c\xe0\x33\x3d\xaf\x95\x7b\xae\xd7\x2d\x44\x75\xde\x42\xd5\x93\x9e\x5c\x3e\x87\x84\x5c\x02\xce\x7e\x05\x60\x6b\xc9\xf8\xac\x56\x55\x1d\x55\xa3\x59\xc9\x42\xb2\x4f\x8b\xbd\x33\x3d\xb1\xa9\x92\x0f\x3d\x10\x6e\x03\x31\xda\x86\x45\x8c\x0b\x14\x0e\x0a\x86\x42\xa0\x08\x50\x74\x50\x7c\x45\xe1\xa2\xf8\x0f\x8a\x25\x8a\x15\x8a\x2e\x8a\x7f\xa1\xc0\xa2\x31\x9e\x51\xfc\x42\xf1\x82\xe2\x14\xc5\x5f\x28\x3c\x14\x78\xd6\x0d\x2c\x0b\x63\x8d\xe2\x0c\x05\x45\x31\x43\xb1\x40\x81\x95\x65\x6c\x50\x9c\xa3\x98\xa2\x98\xa3\xe0\x28\x34\x8a\xdf\x46\xd2\x23\xca\x97\xb5\x7f\x9d\x35\x9e\xe2\x7d\xab\x9c\x13\xf7\x16\x66\x75\xae\x7e\x6c\x96\xe1\xf6\xd9\x9a\x72\x97\x4a\xf7\xe7\xe0\xc1\x3e\x7c\x42\x73\x84\xba\x12\x42\x63\xda\x97\x8f\x0f\x83\x42\x29\xe4\x01\xc5\x29\x4f\xcd\xfb\x7c\x2a\x02\xee\x0e\xa9\x7e\x08\x7c\xe8\xbb\xef\xb8\xc6\x0f\x2f\x8a\x2c\x63\xab\x5a\xb6\xfd\x4f\xa3\xe4\x8a\xce\xb6\xdc\x12\x0e\x23\x21\x75\xb7\xfb\x3f\x66\x12\x39\x3d\x9e\xcf\x60\x9a\x25\x92\xeb\x16\xb9\x4f\x75\xf1\x47\x96\xf2\x0f\x45\xcc\x7d\x95\x7d\x65\xf6\x71\x49\xed\xf7\x7e\x3c\xfb\x70\xec\xd7\xb2\xfe\x0a\x83\xcc\x93\x89\xf5\xff\xcf\x4c\xe7\x0f\xe5\xd5\xfd\x43\x79\x9d\xfe\xa1\xbc\xce\xde\xc3\xeb\x24\xf9\xeb\xbf\x01\x00\x00\xff\xff\x20\x36\x84\x77\x59\x19\x00\x00") +var _dcosmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\x5d\x6f\xda\xcc\x12\xbe\xcf\xaf\x58\x59\x95\x0c\x92\x21\x86\xa4\xe9\x69\xa4\x73\x91\x26\x79\xfb\xa2\x12\x8a\xe2\x86\x9b\x08\xbd\x5a\xec\x31\xec\x89\xd9\xa5\xbb\x6b\x0a\x45\xfc\xf7\xa3\xf1\x07\xfe\x4e\x42\x72\x74\xd4\x5c\x4c\x84\xe7\x99\x99\x67\x67\x77\x66\xc7\x26\x84\x10\x83\x7a\x4b\xc6\x1f\x14\x48\x4e\x97\x60\x5c\x12\xe3\x71\x45\x25\x5d\x82\x06\xa9\x5a\x66\xc0\x78\xb8\xb9\xca\x43\xcc\xf6\xd4\xb0\x4e\x22\x53\x4d\xe5\x1c\xf4\x2d\x5f\x33\x29\xf8\x12\xb8\xae\x98\x57\x10\x39\xeb\x25\xdd\x4c\xee\xd4\x18\xe4\x58\x88\xc0\xb8\x24\x3d\xdb\x2e\x6b\x1c\x2d\x24\x9d\xc3\x95\xeb\x8a\x30\xf2\xde\xcf\x41\x8a\x4a\x84\x5f\xcd\x53\x0e\x1e\x5b\xb7\xd6\x54\x32\x3a\x0b\x40\xb5\xcc\x42\x28\xb3\x6d\xd5\xa9\x8a\xee\xcc\x76\x46\xd4\xa3\x9a\x16\xb5\x63\x09\x3e\xdb\x38\x00\x9e\x71\x49\x3e\x7f\xb2\x48\x0c\xa4\x2b\x36\x01\xa9\x98\xe0\x37\xe0\xd3\x30\x88\xb8\xf4\xed\xde\x45\xc7\x3e\xeb\x9c\xd9\x46\x15\x97\xb8\x4d\x70\x1f\x3b\xf6\x45\xa7\xf7\xd1\xb0\x4e\x76\x3b\xe6\x93\xee\xdf\x54\xdd\x51\x4e\xe7\xe0\xdd\x30\xf5\xa4\xf6\xfb\x06\xf3\x3c\x28\x0b\x79\xde\x39\xb3\x3b\x2b\x09\x6b\x06\xbf\x22\x97\xc0\xbd\xfd\x3e\x71\x3d\xc4\x7d\x1d\x4b\xe1\xb3\x00\x30\x8e\x03\xae\x04\x7d\x08\x11\xe4\xd4\x89\xca\x20\x97\x91\x8e\x90\xc7\xe4\x3f\xfe\xed\x76\x92\xf2\x39\x10\xf2\x61\x3d\xe0\x1e\x6c\x2c\xf2\x61\x8d\x2b\x27\x97\xff\x2e\x05\x29\x46\xc8\xec\x99\x9f\xda\xee\xf7\xc4\x22\x29\x4d\x52\xf8\xdb\x95\x7e\x13\x62\x28\x11\x4a\x17\x26\x71\x9a\xab\x7a\x42\x0c\xe6\x19\x97\x35\xa7\xf9\x1b\x6c\x23\xab\xc1\xcd\x6e\x77\x88\x8c\xe7\xb2\xe2\x63\x6f\x55\xc3\x46\xab\xbb\x06\xa9\x99\xcf\x5c\xaa\x41\x19\x97\x8f\x15\x54\x9a\x95\x0f\x6e\x9a\x14\x17\x64\x94\x93\x38\x3b\xdd\x49\xd9\x4b\x65\xc5\x59\x72\xdc\x97\x92\x53\x9f\xa0\x88\xad\x9b\x85\x78\x90\x81\x41\x5e\x9d\x8f\x1c\xb7\x87\xfb\xe1\x6e\x77\x60\x51\x9b\x28\x42\xaa\x9c\x9a\xb8\x4e\x4f\x9a\x2c\x8b\x16\x53\x8b\x9c\xe4\x9f\x18\x4b\xaa\x34\xc8\xab\x35\x65\x01\x9d\xb1\x80\xe9\xad\x03\x71\xb5\xbb\x82\xbb\x54\xe7\x0b\x5e\x48\x77\x01\x4a\x4b\xaa\x85\x1c\x45\x4d\xcb\x22\x66\x27\xf6\xd0\xa1\x45\x17\x1d\xd3\x22\x39\x53\xec\x71\x4e\xe8\xfb\x6c\x13\xf7\x00\x92\x8f\x7e\x9d\xf4\xa1\xdd\xae\x7b\x17\x3d\x48\x4f\x77\xa4\xd8\xef\x8b\xe8\x5b\xee\xad\x04\xe3\xfa\x66\xe4\x20\x89\xb8\x6b\x44\x8c\xb5\x08\xc4\x2f\x90\xad\xfc\x66\x3c\x63\x93\xef\x46\x31\x6c\x38\xfb\x42\xdd\x27\xe0\x1e\x76\xb4\x51\xda\xb9\x8f\x4c\xc4\x4a\x88\xe0\x98\xd5\x0f\x67\x83\x9b\x28\x8e\x84\xb8\xfa\x06\x5e\xcb\xbc\x63\xae\x14\x4a\xf8\xba\x3b\x02\xfd\x4b\xc8\xa7\xd3\x40\x50\xef\x0b\x0d\x28\x77\x41\x2a\xb3\xd8\x6c\x63\x37\x31\x93\x3a\xff\xe3\x6b\xc1\x7d\x36\x4f\xe2\x54\xd7\x93\x11\x31\xdb\x96\x79\xea\x4b\xc1\x35\x70\x2f\xb5\x0b\x25\xd5\x4c\x70\x75\x5a\x5c\x55\xd9\xfd\x8b\xf1\xdf\x9a\xd1\x60\xf6\x17\x32\xba\xe5\xde\x71\x79\x7d\x7b\xbc\x63\xe2\x8c\x9c\xaf\xaf\xda\x40\x1e\xff\x77\xc0\x0d\x25\xd3\xdb\xaf\x52\x84\xab\xba\x8d\x1c\x39\x5f\x1b\x32\x99\x68\xde\xb2\x24\xae\xe6\xc7\xac\x69\x1c\xce\x02\xe6\x0e\xc6\x57\x9e\x27\x41\xa9\xb7\x46\x65\xab\x4e\xdd\x91\x69\xa8\x46\x34\x3c\x82\x63\x71\x78\xb8\xdd\x2c\xd8\x8c\x25\x24\x1a\xb8\xaa\x82\xc5\x17\xaa\xe0\xc0\x18\x36\x8b\x99\x6d\xbe\x10\xe3\x6d\xae\x97\x4a\xcb\xd8\x75\x32\x25\x14\x7b\xdc\x40\x5d\x87\x4a\x8b\xe5\x64\x74\xfb\xa3\xd8\x94\x27\x1c\xb4\x13\xce\x38\xe8\xe4\x7c\x55\xfb\x5a\x1e\x92\x86\x80\x40\x41\xd1\x51\x8c\x68\x70\x11\x2b\xcd\x72\x2b\x8c\x1f\xbf\x71\xe3\x2b\x3e\xd7\xd9\x22\x9e\x2f\x92\x35\x93\x3a\xa4\x41\xf2\xb3\x58\x1e\x45\x5d\x56\x23\xcf\xe6\xac\x4a\x7c\x9d\x64\xcb\x32\x4f\x55\x84\xc4\xbe\x56\x39\xa3\xd9\xfa\xf3\x41\xaa\x14\x8e\xca\x0e\x86\x7e\xf1\x88\xd7\x5c\xcf\x7f\x31\xa9\x34\xd6\xe2\x77\x57\xe3\xd0\x88\x31\xd5\x2a\x60\xba\x70\xd5\xf9\x88\xba\x16\x5c\x81\x1b\x6a\xb6\x06\x47\x53\x8d\x45\x8c\x4b\xed\x56\x36\xb8\xe8\xf3\x3c\xf2\x59\xc9\x42\x29\xb0\xd9\x7e\x3c\x9b\x36\xf9\xc9\x5d\xc4\x4d\x37\x4c\xd5\x9d\x3d\x45\x6e\xd5\xf4\x57\x91\xbd\x57\x23\xfb\xd3\xba\xf5\x4e\xee\x4a\xd3\xc2\x91\xbd\xac\x79\xdb\xa2\xbe\x55\x69\x1d\x93\xbb\x11\x73\x8d\xcb\xc3\x5c\xdf\x9c\x95\x3c\xb3\xc8\x1b\x67\x6e\x27\xdf\x8c\x8e\x36\xee\xbd\xc7\xb8\xff\x1e\xe3\xb3\xf7\x18\x9f\xbf\xc7\xf8\xe3\x7b\x8c\x2f\x0e\x03\xf8\xb4\xbc\x8b\x0e\xfb\x5d\x7d\x81\xcf\x2b\xf3\x5b\x9f\x1d\x8b\x8a\x49\xfe\xc4\x64\x06\x82\x86\x7a\x71\xcb\x91\x21\xbe\xf5\x1a\x3e\x0d\x14\x64\xda\xd2\x81\x44\x84\xe7\x0a\x95\x01\xd4\x60\x49\xe7\xf0\xdd\xf7\x41\xa2\xf2\x61\x16\x72\x1d\x3a\x20\xd7\x20\xcb\xa0\xe8\x4e\x57\x8b\x18\x78\x4d\xb9\xe0\xcc\xa5\x41\x19\xe5\x7c\x7b\x40\x7d\xef\xa2\x6b\x9f\x77\xed\xce\xf0\x87\x53\x46\x24\x6f\xc9\x19\x0a\x5f\x8c\xed\x8b\xfe\x27\x3b\x2d\x38\xa5\x16\xdf\x60\x3b\xa6\x7a\x91\x2f\x34\xf3\x74\x21\x96\x50\x9a\x21\x69\xf1\x23\x88\x45\xcc\xd3\xae\x52\x8b\x53\x4c\x8b\x90\xec\x37\x78\xff\x3c\xc1\x56\xe5\x53\xa6\xd4\xe2\xde\xb9\x8a\x27\x94\x6f\xb0\xad\x24\xba\xa4\xcf\x35\x82\x40\xb8\xf1\x20\x9b\x2b\xcb\xe8\xac\xa4\x77\x52\x34\x93\xb5\xda\xdd\x14\x98\x5a\x26\xb0\xc2\x4b\x5e\x02\xc9\x1d\x9c\x62\x90\x72\x43\x3d\x04\x37\xdb\x8f\x4b\xe1\xb5\xa8\xe7\xb5\xfa\x56\x00\x7c\xae\x17\xad\x7a\xcf\xed\xb6\x85\xa8\xde\x4b\xa8\x76\xd6\x93\xeb\xe7\x90\x88\x4b\xc8\xd9\xcf\x10\x1c\x2d\x19\x9f\xb7\x9a\xaa\xa3\x69\x34\xab\x59\x48\xf1\x69\xb5\x77\xe6\x27\x36\x55\xf3\xa1\x07\xa2\x6d\x20\x86\x6d\x58\xc4\xb8\x40\xe1\xa2\x60\x28\x04\x8a\x10\x45\x0f\xc5\x27\x14\x1e\x8a\xff\xa0\x58\xa1\x58\xa3\xe8\xa3\xf8\x17\x0a\x2c\x1a\xe3\x09\xc5\x4f\x14\xbf\x50\x9c\xa1\xf8\x8c\xc2\x47\x81\x67\xdd\xc0\xb2\x30\x36\x28\xce\x51\x50\x14\x73\x14\x4b\x14\x58\x59\xc6\x16\xc5\x47\x14\x33\x14\x0b\x14\x1c\x85\x46\xf1\xdb\xc8\x7a\x44\xfd\xb2\xd2\xd7\x59\xe3\x31\xd9\xb7\xc6\x39\x31\xb5\x30\x9b\x73\xf5\x63\xbb\x8a\xb6\xcf\xd1\x94\x7b\x54\x7a\xff\x0c\xef\x9d\x74\x92\x1c\xa8\x9b\xeb\xef\x4e\xef\xb3\x5d\x1a\xf7\xd4\x62\xc0\x67\x22\xe4\xde\x88\xea\xfb\x30\x80\x81\xf7\x8a\xbb\xf9\xf0\xf6\xc7\x0a\xb6\xea\xd4\x71\xfe\xee\xd4\xdc\xbb\xc5\x3e\x5a\x19\x1f\xd5\x62\x2c\xa4\xee\xf7\xff\xc7\x4c\x62\xa7\xc7\xf3\x19\xce\x8a\x44\x4a\x2d\xa0\xf4\xfd\x2d\xf9\x72\x52\xff\xf5\x87\x79\xcf\xb2\x6f\xcc\x3e\x2e\xc9\x7e\xed\x17\xb1\x37\xc7\x7e\x2e\xeb\xcf\x30\x28\x3c\x99\x5a\xff\xff\xcc\xf4\xfe\x50\x5e\xfd\x3f\x94\xd7\xd9\x1f\xca\xeb\xfc\x35\xbc\x4e\x72\x0c\x0b\xaf\x3b\x38\xdc\x7c\x11\x42\xe3\x45\xb2\x7a\xb8\x1f\x56\x2e\xf7\x32\x20\x8a\x76\xf2\xdf\x00\x00\x00\xff\xff\xe5\x0a\xa9\x4e\x73\x19\x00\x00") func dcosmastervarsTBytes() ([]byte, error) { return bindataRead( diff --git a/pkg/api/vlabs/const.go b/pkg/api/vlabs/const.go index e43258d655..5887b46e47 100644 --- a/pkg/api/vlabs/const.go +++ b/pkg/api/vlabs/const.go @@ -9,7 +9,7 @@ const ( const ( // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188 DCOS = "DCOS" - // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type + // DCOS190 is the string constant for DCOS 1.8.8 orchestrator type DCOS190 OrchestratorType = "DCOS190" // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type DCOS188 OrchestratorType = "DCOS188" From 73521705f5cdadcf043f10e150122bca85ffae6c Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Mon, 27 Mar 2017 16:22:06 -0400 Subject: [PATCH 11/12] Refresh DCOS 1.9 packages id --- pkg/acsengine/engine.go | 6 +++--- pkg/acsengine/testdata/simple/dcos1.9.0_expected.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/acsengine/engine.go b/pkg/acsengine/engine.go index a961f0b6e5..e4b0a986ba 100644 --- a/pkg/acsengine/engine.go +++ b/pkg/acsengine/engine.go @@ -731,11 +731,11 @@ func getPackageGUID(orchestratorType api.OrchestratorType, masterCount int) stri if orchestratorType == api.DCOS190 { switch masterCount { case 1: - return "184a00ac1c03d69224966ea84859b1a752779571" + return "f53b7dec83de900ef55ade839d9730237b0c7454" case 3: - return "e086b496175152c4aa7c5ec52954933d785c8a4a" + return "06b50f9dcce85789b858b03ff7f86af6d1a95519" case 5: - return "082a0a039f562c8d4ab324de2da9647debbc7b2c" + return "32dafb5eeb752025ed70fa9e5ce850e7ff42ba38" } } else if orchestratorType == api.DCOS188 { switch masterCount { diff --git a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json index 09d7622dab..f96790b65b 100644 --- a/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.9.0_expected.json @@ -1022,7 +1022,7 @@ "osProfile": { "adminUsername": "[variables('adminUsername')]", "computerNamePrefix": "[variables('agentprivateVMNamePrefix')]", - "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-e086b496175152c4aa7c5ec52954933d785c8a4a-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_06b50f9dcce85789b858b03ff7f86af6d1a95519\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_06b50f9dcce85789b858b03ff7f86af6d1a95519\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-06b50f9dcce85789b858b03ff7f86af6d1a95519-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", "linuxConfiguration": { "disablePasswordAuthentication": "true", "ssh": { @@ -1311,7 +1311,7 @@ "osProfile": { "adminUsername": "[variables('adminUsername')]", "computerNamePrefix": "[variables('agentpublicVMNamePrefix')]", - "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-e086b496175152c4aa7c5ec52954933d785c8a4a-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave_public\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_06b50f9dcce85789b858b03ff7f86af6d1a95519\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_06b50f9dcce85789b858b03ff7f86af6d1a95519\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-06b50f9dcce85789b858b03ff7f86af6d1a95519-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave_public\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", "linuxConfiguration": { "disablePasswordAuthentication": "true", "ssh": { @@ -1618,7 +1618,7 @@ "osProfile": { "adminUsername": "[variables('adminUsername')]", "computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]", - "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_e086b496175152c4aa7c5ec52954933d785c8a4a\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-e086b496175152c4aa7c5ec52954933d785c8a4a-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/master\\ntouch /etc/mesosphere/roles/azure_master\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[45,45,10],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.3\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"],[\"ephemeral0.3\",\"/var/tmp\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"sed -i \\\"s/^Port 22$/Port 22\\\\nPort 2222/1\\\" /etc/ssh/sshd_config\",\"service ssh restart\",\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/EarlyAccess\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"[\\\"3dt--6a71ec3c3407eb25c6bf2330326dc49b3de3c2eb\\\", \\\"adminrouter--ffc5b908bbba1c7e87ce09c84f0835e3f960fc8e\\\", \\\"avro-cpp--7b355a85f39ca6dbe2468ec50b71f3787c6c7c3d\\\", \\\"boost-libs--2015ccb58fb756f61c02ee6aa05cc1e27459a9ec\\\", \\\"bootstrap--6e05035d265bd327d2ec114101fd292dc0aaf3a3\\\", \\\"boto--6344d31eef082c7bd13259b17034ea7b5c34aedf\\\", \\\"check-time--be7d0ba757ec87f9965378fee7c76a6ee5ae996d\\\", \\\"cni--e48337da39a8cd379414acfe0da52a9226a10d24\\\", \\\"cosmos--93d021389b92d4c08c7e2236da510da69b1c632f\\\", \\\"curl--1148f64e03819f381cda4dc2e8a6199fb3c53a7e\\\", \\\"dcos-config--setup_06b50f9dcce85789b858b03ff7f86af6d1a95519\\\", \\\"dcos-history--f8e3cc66dc1b9e01800e721ee980c09f3a8dfe46\\\", \\\"dcos-image--e637ab1daad8d81eea7f9be042394a94c42a39d6\\\", \\\"dcos-image-deps--3ed9dee844359c415123cb6fb6b306f215faab2a\\\", \\\"dcos-integration-test--0fb256ff2c38ff751eaf2ce4748273a8338b4441\\\", \\\"dcos-log--b542bb89a5af9642e04df35869beee4ce253e535\\\", \\\"dcos-metadata--setup_06b50f9dcce85789b858b03ff7f86af6d1a95519\\\", \\\"dcos-metrics--41f4d0b1b84b8e8fe2876baeb3bd07ce873a54e0\\\", \\\"dcos-oauth--0079529da183c0f23a06d2b069721b6fa6cc7b52\\\", \\\"dcos-signal--1bcd3b612cbdc379380dcba17cdf9a3b6652d9dc\\\", \\\"dcos-ui--da8a5003a3c5ec478f89b18a5a216a0ea7bb1d62\\\", \\\"dnspython--0f833eb9a8abeba3179b43f3a200a8cd42d3795a\\\", \\\"docker-gc--59a98ed6446a084bf74e4ff4b8e3479f59ea8528\\\", \\\"dvdcli--5374dd4ffb519f1dcefdec89b2247e3404f2e2e3\\\", \\\"erlang--c88d0e71b0bd2900612498095d3ac320ae9ff80d\\\", \\\"exhibitor--72d9d8f947e5411eda524d40dde1a58edeb158ed\\\", \\\"flask--26d1bcdb2d1c3dcf1d2c03bc0d4f29c86d321b21\\\", \\\"java--cd5e921ce66b0d3303883c06d73a657314044304\\\", \\\"libevent--208be855d2be29c9271a7bd6c04723ff79946e02\\\", \\\"libsodium--9ff915db08c6bba7d6738af5084e782b13c84bf8\\\", \\\"logrotate--faf6c640a994ac549afe734e05d322ab9052448b\\\", \\\"marathon--fa629c85fc11eceffce921aeaf43d1eac2ee4a7d\\\", \\\"mesos--3ee073c6f436f77d94bcd0af0648d6f26e2ec197\\\", \\\"mesos-dns--f374ceda1dfade3eacdbdfed0d57bcf88c905242\\\", \\\"mesos-modules--7ef1d3c2691c64e84f1b60da4f014aea926daef7\\\", \\\"metronome--4328a268b5139ab5bc2e942b28d748d6815763b5\\\", \\\"navstar--b1ed66efe8fe7bd7e0138a66a51558c8cc486060\\\", \\\"ncurses--d889894b71aa1a5b311bafef0e85479025b4dacb\\\", \\\"octarine--521813a6f6459dc1e0e32e161999b95ed9eacbac\\\", \\\"openssl--b01a32a42e3ccba52b417276e9509a441e1d4a82\\\", \\\"pkgpanda-api--20de028f4e65672f301a187e46f12330d9f836cc\\\", \\\"pkgpanda-role--f8a749a4a821476ad2ef7e9dd9d12b6a8c4643a4\\\", \\\"pytest--78aee3e58a049cdab0d266af74f77d658b360b4f\\\", \\\"python--b7a144a49577a223d37d447c568f51330ee95390\\\", \\\"python-azure-mgmt-resource--9e68c5bacce73c50d9b313d660f402dffca9d39e\\\", \\\"python-dateutil--fdc6ff929f65dd0918cf75a9ad56704683d31781\\\", \\\"python-docopt--beba78faa13e5bf4c52393b4b82d81f3c391aa65\\\", \\\"python-gunicorn--a537f95661fb2689c52fe12510eb0d01cb83af60\\\", \\\"python-isodate--40d378c688e6badfd16676dd8b51b742bfebc8d5\\\", \\\"python-jinja2--7450f5ae5a822f63f7a58c717207be0456df51ed\\\", \\\"python-kazoo--cb7ce13a1068cd82dd84ea0de32b529a760a4bdd\\\", \\\"python-markupsafe--dd46d2a3c58611656a235f96d4adc51b2a7a590e\\\", \\\"python-passlib--802ec3605c0b82428fedba60983b1bafaa036bb8\\\", \\\"python-pyyaml--81dd44cc4a24db7cefa7016c6586a131acf279c3\\\", \\\"python-requests--1b2cadbd3811cc0c2ee235ce927e13ea1d6af41d\\\", \\\"python-retrying--eb7b8bac133f50492b1e1349cbe77c3e38bd02c3\\\", \\\"python-tox--07244f8a939a10353634c952c6d88ec4a3c05736\\\", \\\"rexray--869621bb411c9f2a793ea42cdfeed489e1972aaa\\\", \\\"six--f06424b68523c4dfa2a7c3e7475d479f3d361e42\\\", \\\"spartan--58a5611725de935357a0d96b2caef838ebc99b79\\\", \\\"strace--7d01796d64994451c1b2b82d161a335cbe90569b\\\", \\\"teamcity-messages--e623a4d86eb3a8d199cefcc240dd4c5460cb2962\\\", \\\"toybox--f235594ab8ea9a2864ee72abe86723d76f92e848\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /var/tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/tmp/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nLimitNOFILE=16384\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"\\\"bound_values\\\":\\n \\\"adminrouter_auth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n \\\"cluster_name\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"exhibitor_azure_account_key\\\": |-\\n ', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1, '\\n \\\"exhibitor_azure_account_name\\\": |-\\n ',variables('masterStorageAccountExhibitorName'),'\\n \\\"exhibitor_azure_prefix\\\": |-\\n ',variables('masterPublicIPAddressName'),'\\n \\\"master_list\\\": |-\\n [\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n \\\"oauth_enabled\\\": |-\\n ',variables('oauthEnabled'),'\\n\\\"late_bound_package_id\\\": |-\\n dcos-provider-06b50f9dcce85789b858b03ff7f86af6d1a95519-azure--setup\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/late-config.yaml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/bin/add_dcos_path.sh /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o //var/tmp/bootstrap.tar.xz https://dcosio.azureedge.net/dcos/EarlyAccess/bootstrap/6e72844be5d6bdfe89590232fa3701096f1ee1a6.bootstrap.tar.xz\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf //var/tmp/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f //var/tmp/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/master\\ntouch /etc/mesosphere/roles/azure_master\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"}]}'))]", "linuxConfiguration": { "disablePasswordAuthentication": "true", "ssh": { From cacdf8cc566c99089a6969a97db5b176b50a997e Mon Sep 17 00:00:00 2001 From: William Buchwalter Date: Mon, 27 Mar 2017 18:16:48 -0400 Subject: [PATCH 12/12] Fix typo --- pkg/api/const.go | 2 +- pkg/api/vlabs/const.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/api/const.go b/pkg/api/const.go index 4192aec61c..76ad1fed04 100644 --- a/pkg/api/const.go +++ b/pkg/api/const.go @@ -6,7 +6,7 @@ const ( Mesos OrchestratorType = "Mesos" // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188 DCOS OrchestratorType = "DCOS" - // DCOS190 is the string constant for DCOS 1.8.8 orchestrator type + // DCOS190 is the string constant for DCOS 1.9.0 orchestrator type DCOS190 OrchestratorType = "DCOS190" // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type DCOS188 OrchestratorType = "DCOS188" diff --git a/pkg/api/vlabs/const.go b/pkg/api/vlabs/const.go index 6da2266eb1..7a0fbc7a28 100644 --- a/pkg/api/vlabs/const.go +++ b/pkg/api/vlabs/const.go @@ -9,7 +9,7 @@ const ( const ( // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188 DCOS = "DCOS" - // DCOS190 is the string constant for DCOS 1.8.8 orchestrator type + // DCOS190 is the string constant for DCOS 1.9.0 orchestrator type DCOS190 OrchestratorType = "DCOS190" // DCOS188 is the string constant for DCOS 1.8.8 orchestrator type DCOS188 OrchestratorType = "DCOS188"