Sha256: 914887289160aa71e3115b0af745f76286965e212678c38967d75a16396def83

Contents?: true

Size: 784 Bytes

Versions: 1

Compression:

Stored size: 784 Bytes

Contents

#!/usr/bin/env bash

set -xe

# Create a new BOSH environment with Director
bosh create-env deployments/bosh/bosh.yml \
  --state=config/state.json \
  --vars-store=config/creds.yml \
  --vars-file=deployments/bosh/bosh_vars.yml \
  --var-file private_key=<%= @values['kite']['private_key_path'] %> \
  -o deployments/bosh/cpi.yml \
  -o deployments/bosh/jumpbox-user.yml

# Configure alias for the new environment
bosh alias-env <%= @values['bosh']['name'] %> \
  -e <%= @values['bosh']['static_ip'] %>  \
  --ca-cert <(bosh int ./config/creds.yml --path /director_ssl/ca)

bosh -e <%= @values['bosh']['name'] %> ucc deployments/bosh/cloud_config.yml

# Get jumpbox user key
bosh int config/creds.yml --path /jumpbox_ssh/private_key > config/jumpbox.key
chmod 600 config/jumpbox.key

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kite-0.0.8 tpl/aws/bosh-install.sh.erb