Skip to content

Instantly share code, notes, and snippets.

View jhunt's full-sized avatar
🎧
codin'

James Hunt jhunt

🎧
codin'
View GitHub Profile
#!/bin/bash
cpis=0
forges=0
read -r -d '' CPI_USAGE <<EOF
BOSH Director Cloud Provider Interfaces
(you need *exactly one* of these)
vsphere - VMWare's vSphere ESXi+vCenter
#!/bin/bash
cpis=0
forges=0
read -r -d '' CPI_USAGE <<EOF
BOSH Director Cloud Provider Interfaces
(you need *exactly one* of these)
vsphere - VMWare's vSphere ESXi+vCenter
package main
import (
"crypto/tls"
"fmt"
"net/http"
"net/http/httputil"
"net/url"
"os"
)
#!/bin/bash
IP=$(prompt_for "What's yo IP??")
## all good!
safe -t $SAFE_TARGET set "$VAULT_PREFIX/blah/secret" ip="$IP"
cat <<EOF
flags:
#!/bin/bash
set -eu
WHO=../work/bosh-test-deployments/bosh-to-test.yml
subkits=$(spruce json $WHO | jq -Mr '.kit.subkits[]')
have_subkit() {
want=${1:?have_subkit() -- must specify a subkit}
for kit in $subkits; do
if [[ "$want" == "$kit" ]]; then
#!/bin/bash
set -eu
WHO=../work/bosh-test-deployments/bosh-to-test.yml
subkits=$(spruce json $WHO | jq -Mr '.kit.subkits[]')
have_subkit() {
want=${1:?have_subkit() -- must specify a subkit}
for kit in $subkits; do
if [[ "$want" == "$kit" ]]; then

Living on The Edge, In Production

Submission Type

Presentation

Category

Experiment and Extension Projects

Submission Type

Presentation

Category

Experiment and Extension Projects

Biography

Submission Type

Presentation

Category

Experiment and Extension Projects

Biography

Submission Type

Presentation

Category

Experiment and Extension Projects

Biography