mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-22 01:52:05 +03:00
openstack: don't use nova-image.nix
as it was dropped in 19.03: d190b204f0
This commit is contained in:
parent
6682cf731c
commit
c38cf4bfda
@ -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"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user