modules/vmCommon: temp. avoid smartd failing if no drive was found

main
Felix Stupp 1 year ago
parent 9ca68eae66
commit f966982a54
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -170,6 +170,8 @@ in
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi${toString n}";
options = "-d ignore";
});
# TODO this prevents invalid config files from failing smartd, but makes it run without any devices at start (no alternative implemented yet; mind NixOS does NOT validate the config on rebuild)
extraOptions = [ "--quit=never" ];
# TODO smartd.defaults.autodetected, set automatic self-tests
# TODO smartd configure notifications
};

Loading…
Cancel
Save