WIP: feat(machines/hypervisor0*): init #198
No reviewers
Labels
No labels
awaiting
awaiting-author
awaiting
awaiting-reviewer
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/infrastructure#198
Loading…
Reference in a new issue
No description provided.
Delete branch "hypervisor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It contains a CephFS module which contains only monitor HA and the Incus enablement.
We are not using yet the Preseed to reproduce this on another set of
machines automatically.
TODO:
Signed-off-by: Ryan Lahfa ryan@dgnum.eu
@ -3,3 +3,3 @@
# SPDX-License-Identifier: EUPL-1.2
{ lib, ... }:
{ meta, lib, ... }:
meta should go after lib as it is a custom arg
@ -8,1 +8,3 @@
enabledModules = [ ];
enabledModules = [
"dgn-hypervisor"
"dgn-cephfs"
Pls sort the modules
@ -0,0 +7,4 @@
meta,
pkgs,
config,
lib,
@ -0,0 +24,4 @@
options.dgn-cephfs = {
enable = mkEnableOption "the CephFS module for our hypervisors";
fsid = mkOption {
type = types.str;
Needs a description
@ -0,0 +64,4 @@
publicNetwork = "10.0.254.0/24";
};
extraConfig.public_addr = builtins.head meta.network.${config.networking.hostName}.addresses.ipv4;
Colmena gives
name
as an argument, no need for hostName@ -0,0 +72,4 @@
mon = {
enable = true;
daemons = [ config.networking.hostName ];
Same as above, plus, if the config for mon, osd and mgr is the same, it can be factorized
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.