Created
October 24, 2019 16:03
-
-
Save micahyoung/c9d6ad0114e3ae81eef682d9de4a94f7 to your computer and use it in GitHub Desktop.
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 | |
set -o errexit -o pipefail -o nounset | |
bosh repack-stemcell --empty-image \ | |
--cloud-properties="$(bosh interpolate --path /Tables/0/Rows/0 <(bosh inspect-local-stemcell --json $1))" \ | |
$1 \ | |
$(dirname $1)/light-$(basename $1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment