Skip to content

v0.2.26

Choose a tag to compare

@eusthace811 eusthace811 released this 15 Feb 15:07
· 16 commits to master since this release

What's new

noid exec without a command now opens an interactive console instead of erroring. Environment variables can be injected into both exec and console sessions:

noid exec myvm -e FOO=bar           # interactive console with FOO set
noid exec myvm -e FOO=bar -- echo $FOO  # non-interactive exec (as before)
noid console myvm -e FOO=bar        # console with env vars
noid exec myvm                      # interactive console (no longer errors)

Changes

  • noid exec without a command routes to the interactive console instead of erroring
  • Added -e/--env flag to noid console for environment variable injection
  • Centralized env var validation (validate_env_name, validate_env_vars, limits) in noid-types, shared across client, server, and core
  • Server now returns 400 (not 500) for invalid env vars in both REST and WS exec endpoints
  • Console env injection uses marker-based synchronization for reliable variable setup