Skip to content

Commit dcd86aa

Browse files
committed
Nit: fix example stemcell filepath in repack script
1 parent c05226f commit dcd86aa

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/stemcell-repack-debugger.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -e
44

5+
example_stemcell_tgz_path="path/to/bosh-linux-stemcell-builder/tmp/bosh-stemcell-VERSION-IAAS-HYPERVISOR-OS_NAME.tgz"
6+
57
show_help() {
68
echo "Usage: $0 [options]"
79
echo
@@ -22,7 +24,7 @@ show_help() {
2224
echo " TMPDIR Path with enough disk space to hold all temporary files for repacking *OPTIONAL*"
2325
echo
2426
echo "Example:"
25-
echo " export stemcell_tgz=\"/home/username/workspace/bosh/bosh-linux-stemcell-builder/tmp/bosh-stemcell-0.0.8-google-kvm-ubuntu-noble-go_agent.tgz\""
27+
echo " export stemcell_tgz=\"${example_stemcell_tgz_path}\""
2628
echo " export AGENT_BINARY=\"/path/to/bosh-agent\""
2729
echo " export AGENT_JSON=\"/path/to/agent.json\""
2830
echo " export BOSH_DEBUG_PUB_KEY=\"ssh-rsa AAA... user@hostname\""
@@ -74,7 +76,7 @@ fi
7476

7577

7678
if [ -z ${stemcell_tgz} ]; then
77-
echo "stemcell_tgz is not set. export stemcell_tgz="/home/username/workspace/bosh/bosh-linux-stemcell-builder/tmp/bosh-stemcell-0.0.8-google-kvm-ubuntu-noble-go_agent.tgz""
79+
echo "stemcell_tgz is not set. export stemcell_tgz=\"${example_stemcell_tgz_path}\""
7880
fi
7981

8082
# stemcell_tgz=/tmp/stemcell.tgz

0 commit comments

Comments
 (0)