checks/backups: don't hardcode system
This commit is contained in:
@@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
clan.core.networking.targetHost = "machine";
|
clan.core.networking.targetHost = "machine";
|
||||||
networking.hostName = "machine";
|
networking.hostName = "machine";
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
|
||||||
|
|
||||||
programs.ssh.knownHosts = {
|
programs.ssh.knownHosts = {
|
||||||
machine.hostNames = [ "machine" ];
|
machine.hostNames = [ "machine" ];
|
||||||
@@ -173,10 +172,7 @@
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Needs investigation on aarch64-linux
|
checks = pkgs.lib.mkIf pkgs.stdenv.isLinux {
|
||||||
# vm-test-run-test-backups> qemu-kvm: No machine specified, and there is no default
|
|
||||||
# vm-test-run-test-backups> Use -machine help to list supported machines
|
|
||||||
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && !pkgs.stdenv.isAarch64) {
|
|
||||||
test-backups = (import ../lib/container-test.nix) {
|
test-backups = (import ../lib/container-test.nix) {
|
||||||
name = "test-backups";
|
name = "test-backups";
|
||||||
nodes.machine = {
|
nodes.machine = {
|
||||||
|
|||||||
Reference in New Issue
Block a user