mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-22 10:05:06 +03:00
implement kubevirt format
requires https://github.com/NixOS/nixpkgs/pull/151482 Signed-off-by: jbpratt <jbpratt78@gmail.com>
This commit is contained in:
parent
05a3eb158a
commit
5e08c56f66
@ -55,6 +55,7 @@ install-iso-hyperv | Installer ISO with enabled hyper-v support
|
||||
iso | ISO
|
||||
kexec | kexec tarball (extract to / and run /kexec_nixos)
|
||||
kexec-bundle | same as before, but it's just an executable
|
||||
kubevirt | KubeVirt image
|
||||
lxc | create a tarball which is importable as an lxc container, use together with lxc-metadata
|
||||
lxc-metadata | the necessary metadata for the lxc image to start, usage: lxc image import $(nixos-generate -f lxc-metadata) $(nixos-generate -f lxc)
|
||||
openstack | qcow2 image for openstack
|
||||
|
8
formats/kubevirt.nix
Normal file
8
formats/kubevirt.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
"${toString modulesPath}/virtualisation/kubevirt.nix"
|
||||
];
|
||||
|
||||
formatAttr = "kubevirtImage";
|
||||
}
|
Loading…
Reference in New Issue
Block a user