Repository navigation
v0.9.0
What's Changed
馃敡 Fixed
- CRITICAL: Fixed incorrect implementation of bash history expansion fix from v0.8.0. The previous fix wrapped
bash +H -ccommands in an additionalsh -clayer, which defeated the purpose because the outer shell still interpreted!before passing to bash. Commands with sudo now correctly usebash +H -cas the outer shell wrapper, ensuring history expansion is disabled throughout the command execution chain. This fixes "command not found" errors when using!(logical negation) in commands with_sudo=True.
What This Fixes
Problem in v0.8.0:
orbctl run -m vm-name sh -c "sudo -H bash +H -c '! test -e /file'"
# Result: "!: command not found" because sh processes ! before bashFixed in v0.9.0:
orbctl run -m vm-name bash +H -c "sudo -H bash +H -c '! test -e /file'"
# Result: Works correctly, history expansion disabled throughoutInstallation
pip install pyinfra-orbstack==0.9.0
# or
uv pip install pyinfra-orbstack==0.9.0