nixosTests.cloud-init-hostname: handleTest -> runTest
This commit is contained in:
parent
3faac88ef3
commit
501fabc856
@ -319,7 +319,7 @@ in
|
||||
clatd = runTest ./clatd.nix;
|
||||
clickhouse = import ./clickhouse { inherit runTest; };
|
||||
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;
|
||||
cntr = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./cntr.nix { };
|
||||
cockpit = runTest ./cockpit.nix;
|
||||
|
@ -1,12 +1,4 @@
|
||||
{
|
||||
system ? builtins.currentSystem,
|
||||
config ? { },
|
||||
pkgs ? import ../.. { inherit system config; },
|
||||
}:
|
||||
|
||||
with import ../lib/testing-python.nix { inherit system pkgs; };
|
||||
with pkgs.lib;
|
||||
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
# Hostname can also be set through "hostname" in user-data.
|
||||
# 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
|
||||
'';
|
||||
};
|
||||
|
||||
in
|
||||
makeTest {
|
||||
{
|
||||
name = "cloud-init-hostname";
|
||||
meta = with pkgs.lib.maintainers; {
|
||||
maintainers = [
|
||||
meta.maintainers = with lib.maintainers; [
|
||||
lewo
|
||||
illustris
|
||||
];
|
||||
};
|
||||
|
||||
nodes.machine2 =
|
||||
{ ... }:
|
||||
|
Loading…
x
Reference in New Issue
Block a user