nixos/testing: re-add nixos-run-vms script
Originally removed in 926fb93968
. This
one is actually quite useful for `nixos-build-vms(8)`.
This commit is contained in:
parent
6b62dc4834
commit
260d9cc7e1
1 changed files with 6 additions and 0 deletions
|
@ -186,6 +186,12 @@ rec {
|
|||
--set startScripts "''${vmStartScripts[*]}" \
|
||||
--set testScript "$out/test-script" \
|
||||
--set vlans '${toString vlans}'
|
||||
|
||||
ln -s ${testDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
|
||||
wrapProgram $out/bin/nixos-run-vms \
|
||||
--set startScripts "''${vmStartScripts[*]}" \
|
||||
--set testScript "${pkgs.writeText "start-all" "start_all(); join_all();"}" \
|
||||
--set vlans '${toString vlans}'
|
||||
'');
|
||||
|
||||
# Make a full-blown test
|
||||
|
|
Loading…
Reference in a new issue