openstack: don't use nova-image.nix

as it was dropped in 19.03: d190b204f0
This commit is contained in:
phaer 2024-09-05 14:56:07 +02:00
parent 6682cf731c
commit c38cf4bfda

View File

@ -1,17 +1,8 @@
{
modulesPath,
lib,
...
}:
if lib.pathExists "${toString modulesPath}/../maintainers/scripts/openstack/nova-image.nix"
then {
imports = [
"${toString modulesPath}/../maintainers/scripts/openstack/nova-image.nix"
];
formatAttr = "novaImage";
}
else {
{
imports = [
"${toString modulesPath}/../maintainers/scripts/openstack/openstack-image.nix"
];