nixos/tests/virtualbox: fix net-hostonlyif test

This commit is contained in:
André Lima
2026-04-30 04:06:18 +01:00
parent bc1201e3aa
commit efd21c4520

View File

@@ -309,7 +309,11 @@ let
"echo 'Could not get IPv4 address for ${name}!' >&2; "
"exit 1"
)
).strip()
)
ip = ip + '\n'
ip = ip[:ip.find('\n')]
return ip