mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixos/tests/virtualbox: fix net-hostonlyif test
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user