Merge pull request #165268 from vkleen/nixos/tests/deduplicate-vlans

nixos/test-driver: deduplicate VLANs
This commit is contained in:
Jacek Galowicz 2022-03-22 14:53:31 +01:00 committed by GitHub
commit 6567abf122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,7 @@ class Driver:
tmp_dir = get_tmp_dir()
with rootlog.nested("start all VLans"):
vlans = list(set(vlans))
self.vlans = [VLan(nr, tmp_dir) for nr in vlans]
def cmd(scripts: List[str]) -> Iterator[NixStartScript]: