Skip to content

Instantly share code, notes, and snippets.

@jhunt
Created January 12, 2018 20:16
Show Gist options
  • Save jhunt/f69343b973ce21ca501607ddbf743e6d to your computer and use it in GitHub Desktop.
Save jhunt/f69343b973ce21ca501607ddbf743e6d to your computer and use it in GitHub Desktop.
#!/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:
- vsphere
- init
params:
# A "vcenter something" is a setting that we ...
# default is "BLAH"
vcenter_something: $WE_ASKED_FOR
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment