mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-25 19:07:59 +03:00
openstack: rename nova-image to openstack-image
This commit is contained in:
parent
0cce7924f1
commit
c54ce47d5d
@ -1,8 +1,13 @@
|
||||
{ modulesPath, ... }:
|
||||
{
|
||||
{ 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"
|
||||
];
|
||||
formatAttr = "openstackImage";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user