test_vms_cli: set hostPlatform x86_64-linux
This commit is contained in:
@@ -61,6 +61,7 @@ def test_vm_persistence(
|
|||||||
) -> None:
|
) -> None:
|
||||||
# set up a clan flake with some systemd services to test persistence
|
# set up a clan flake with some systemd services to test persistence
|
||||||
config = flake.machines["my_machine"]
|
config = flake.machines["my_machine"]
|
||||||
|
config["nixpkgs"]["hostPlatform"] = "x86_64-linux"
|
||||||
# logrotate-checkconf doesn't work in VM because /nix/store is owned by nobody
|
# logrotate-checkconf doesn't work in VM because /nix/store is owned by nobody
|
||||||
config["systemd"]["services"]["logrotate-checkconf"]["enable"] = False
|
config["systemd"]["services"]["logrotate-checkconf"]["enable"] = False
|
||||||
config["services"]["getty"]["autologinUser"] = "root"
|
config["services"]["getty"]["autologinUser"] = "root"
|
||||||
|
|||||||
Reference in New Issue
Block a user