nixosTests.cloud-init-hostname: handleTest -> runTest
This commit is contained in:
parent
3faac88ef3
commit
501fabc856
@ -319,7 +319,7 @@ in
|
|||||||
clatd = runTest ./clatd.nix;
|
clatd = runTest ./clatd.nix;
|
||||||
clickhouse = import ./clickhouse { inherit runTest; };
|
clickhouse = import ./clickhouse { inherit runTest; };
|
||||||
cloud-init = runTest ./cloud-init.nix;
|
cloud-init = runTest ./cloud-init.nix;
|
||||||
cloud-init-hostname = handleTest ./cloud-init-hostname.nix { };
|
cloud-init-hostname = runTest ./cloud-init-hostname.nix;
|
||||||
cloudlog = runTest ./cloudlog.nix;
|
cloudlog = runTest ./cloudlog.nix;
|
||||||
cntr = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./cntr.nix { };
|
cntr = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./cntr.nix { };
|
||||||
cockpit = runTest ./cockpit.nix;
|
cockpit = runTest ./cockpit.nix;
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
{
|
{ lib, pkgs, ... }:
|
||||||
system ? builtins.currentSystem,
|
|
||||||
config ? { },
|
|
||||||
pkgs ? import ../.. { inherit system config; },
|
|
||||||
}:
|
|
||||||
|
|
||||||
with import ../lib/testing-python.nix { inherit system pkgs; };
|
|
||||||
with pkgs.lib;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
# Hostname can also be set through "hostname" in user-data.
|
# Hostname can also be set through "hostname" in user-data.
|
||||||
# This is how proxmox configures hostname through cloud-init.
|
# This is how proxmox configures hostname through cloud-init.
|
||||||
@ -27,16 +19,13 @@ let
|
|||||||
${pkgs.cdrkit}/bin/genisoimage -volid cidata -joliet -rock -o $out/metadata.iso $out/iso
|
${pkgs.cdrkit}/bin/genisoimage -volid cidata -joliet -rock -o $out/metadata.iso $out/iso
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
makeTest {
|
{
|
||||||
name = "cloud-init-hostname";
|
name = "cloud-init-hostname";
|
||||||
meta = with pkgs.lib.maintainers; {
|
meta.maintainers = with lib.maintainers; [
|
||||||
maintainers = [
|
|
||||||
lewo
|
lewo
|
||||||
illustris
|
illustris
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
nodes.machine2 =
|
nodes.machine2 =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user