Upgrade automated provisioning of Proxmox VMs (#174)

This commit is contained in:
Nicolas Jeannerod 2025-02-21 20:24:50 +01:00
commit d9a67c0db3
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
510 changed files with 365 additions and 162 deletions

View file

@ -119,7 +119,8 @@ Most of the directories in this repository have their own README going into more
details as to what they are for. As an overview:
- [`deployment/`](./deployment) contains bits and pieces having to do with
auto-deployment of test VMs on a private Proxmox.
auto-deployment of test VMs on a private Proxmox. This directory is
deprecated, the information it contains outdate. Refer to `infra/` instead.
- [`infra/`](./infra) contains the configurations for the various VMs that are
in production for the project, for instance the Git instances or the Wiki.

View file

@ -1,5 +1,9 @@
# Provisioning VMs via Proxmox
NOTE: This directory is outdated and most of the interesting code has moved to
`infra/`. There is still some information to extract from here, but treat all
that you read with a grain of salt.
## Quick links
Proxmox API doc

View file

@ -2,7 +2,6 @@
let
allVmIds = builtins.genList (x: 100 + x) 156; # 100 -- 255
makeInstaller = import ../infra/makeInstaller.nix;
in
{
@ -26,24 +25,6 @@ in
}) allVmIds
);
flake.isoInstallers.provisioning =
let
inherit (builtins) mapAttrs;
in
mapAttrs (
vmname: nixosConfiguration:
makeInstaller {
inherit (inputs) nixpkgs;
inherit nixosConfiguration;
hostKeys = {
ed25519 = {
private = ./hostKeys/${vmname}/ssh_host_ed25519_key;
public = ./hostKeys/${vmname}/ssh_host_ed25519_key.pub;
};
};
}
) self.nixosConfigurations.provisioning;
nixops4Deployments.feditest =
{ providers, ... }:

Some files were not shown because too many files have changed in this diff Show more