From 20bb6db030fdea1e3a00cf181e28daa06c37a74f Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Wed, 10 Sep 2025 23:30:39 +0200 Subject: [PATCH] finally figured out the mental model for installing machines to hardware --- clan.nix | 1 + machines/m1/facter.json | 48 ++++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/clan.nix b/clan.nix index 72e7e8c..4e373a3 100644 --- a/clan.nix +++ b/clan.nix @@ -10,6 +10,7 @@ name = "Management node 1"; machineClass = "nixos"; tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity: medium" "" ]; + deploy.targetHost = "root@192.168.1.222"; }; c1 = { name = "Compute node 1"; diff --git a/machines/m1/facter.json b/machines/m1/facter.json index 63db210..1bd71e1 100644 --- a/machines/m1/facter.json +++ b/machines/m1/facter.json @@ -1072,7 +1072,7 @@ { "type": "mem", "base": 0, - "range": 8214482944, + "range": 8214478848, "enabled": true, "access": "read_write", "prefetch": "unknown" @@ -1341,6 +1341,29 @@ "network_interface": [ { "index": 29, + "attached_to": 0, + "class_list": [ + "network_interface" + ], + "base_class": { + "hex": "0107", + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "hex": "0000", + "name": "Loopback", + "value": 0 + }, + "model": "Loopback network interface", + "sysfs_id": "/class/net/lo", + "unix_device_name": "lo", + "unix_device_names": [ + "lo" + ] + }, + { + "index": 30, "attached_to": 13, "class_list": [ "network_interface" @@ -1380,29 +1403,6 @@ "driver_modules": [ "r8169" ] - }, - { - "index": 30, - "attached_to": 0, - "class_list": [ - "network_interface" - ], - "base_class": { - "hex": "0107", - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "hex": "0000", - "name": "Loopback", - "value": 0 - }, - "model": "Loopback network interface", - "sysfs_id": "/class/net/lo", - "unix_device_name": "lo", - "unix_device_names": [ - "lo" - ] } ], "pci": [