This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Setup a Root CA in vault | |
# Generate and sign an Intermediate cert | |
# | |
# Requires: | |
# * A running vault server already initialzed and unsealed | |
# * Environment variable VAULT_TOKEN is set | |
# * vault cli (https://www.vaultproject.io) | |
# * httpie (https://github.com/jkbrzt/httpie) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text | |
skipx | |
install | |
url --url http://mirror.raystedman.net/centos/6/os/x86_64/ | |
repo --name=updates --baseurl=http://mirror.raystedman.net/centos/6/updates/x86_64/ | |
lang en_US.UTF-8 | |
keyboard us | |
rootpw s0m3password | |
firewall --disable | |
authconfig --enableshadow --passalgo=sha512 |