You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Always remove all created temp dirs
* Add variable to write patched stemcell to a different file
* Add the invisible but obvious option to choose a different tmp dir
* Make script compatible with both Jammy and Noble
* Fix typo in script file name
* Add manual version setting and autobump based on parameter or output tgz
* Replace yq with bosh int
* Replace yq with bosh int
Copy file name to clipboardExpand all lines: scripts/stemcell-repack-debugger.sh
+36-13Lines changed: 36 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,17 @@ show_help() {
9
9
echo" --help, -h Show this help message and exit"
10
10
echo" --debug Enable debug mode"
11
11
echo" --debug_pub_key FILE Set a multiline public key file"
12
-
echo" --bump-version Bump the version in the stemcell with 0.0.<timestamp>"
12
+
echo" --bump-version[=version] Bump the version in the stemcell to a dev version that will be increased if you use the same stemcell tgz, e.g. <version>+dev.<int>"
13
+
echo" The optional version can be used instead of the stemcell version and increased if it is already a dev version"
14
+
echo" If als OUT is specified and the file is present and a tgz containing stemcell.MF, the version information is automatically used"
13
15
echo
14
16
echo"Environment Variables:"
15
17
echo" stemcell_tgz Path to the stemcell tarball *REQUIRED*"
16
18
echo" AGENT_BINARY Path to the agent binary to be copied into the stemcell *OPTIONAL*"
17
19
echo" AGENT_JSON Path to the agent JSON configuration file *OPTIONAL*"
18
20
echo" BOSH_DEBUG_PUB_KEY Public key for the BOSH debug user in a single line *OPTIONAL*"
21
+
echo" OUT Path to the patched stemcell tarball *OPTIONAL*"
22
+
echo" TMPDIR Path with enough disk space to hold all temporary files for repacking *OPTIONAL*"
0 commit comments