diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-15 20:25:41 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-26 01:05:01 +0000 |
| commit | 464503218652139d412b42ff0f00d2be2e89a698 (patch) | |
| tree | fa1fa1e8c9aebf1fb0b87624390cc9bf6aab2565 /scripts | |
| parent | 57d267db7878180d1ecd1936df5284550d0031c3 (diff) | |
| download | meta-virtualization-464503218652139d412b42ff0f00d2be2e89a698.tar.gz | |
vxn: fix non-interactive mode for clean container output
Fix several issues preventing non-interactive mode (vxn --no-daemon run)
from showing clean container output:
- Fix console capture: check DAEMON_MODE instead of DAEMON_SOCKET in Xen
backend so ephemeral runs use xl console capture instead of the daemon
socat bridge (DAEMON_SOCKET is always set, DAEMON_MODE is only "start"
for actual daemon launches)
- Fix race condition: add post-loop marker detection after VM exits,
with 2s delay for xl console to flush its buffer
- Add stdbuf -oL to xl console for line-buffered output
- Suppress mke2fs stdout (was only redirecting stderr)
- Suppress kernel console messages during VM lifecycle in non-verbose mode
- Fix grep -P (Perl regex) for BusyBox compatibility in exit code parsing
- Preserve temp directory on failure for debugging
- Fix hardcoded "QEMU" in error messages to "VM"
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
