Describe the bug
Depending on flag-ordering, specifying the --no-tmpfs toggle-flag can make the PostBuild.sh script hang during command-line argument-processing
Severity
Nuisance: this flag is rarely used.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
Specification of flag results in AMI being built without the tmp.mount option being activated.
Deviance Description
Script hangs during option-parsing.
Fix Suggestions
Fix option-handling in:
--no-tmpfs)
NOTMPFS="true"
;;
Section (lines 501-503). Presumably add a shift statement before the switch-option stanza-close.