test-lab/ha: nixpkgs-fmt formatting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-27 06:18:42 +10:00
co-authored by Claude Sonnet 4.6
parent dc36a47ac9
commit 34c55f27ca
3 changed files with 17 additions and 17 deletions
+15 -15
View File
@@ -206,18 +206,18 @@ in
# ── Packages ──────────────────────────────────────────────────────────
environment.systemPackages = with pkgs; [
# HA stack
corosync # corosync-cfgtool, corosync-quorumtool
pacemaker # crm_mon, crm_resource, cibadmin, crm_attribute, pcs CLI
drbd # drbdadm, drbdsetup, drbdmon
ocf-resource-agents # OCF heartbeat agents (Filesystem, IPaddr2, drbd, …)
corosync # corosync-cfgtool, corosync-quorumtool
pacemaker # crm_mon, crm_resource, cibadmin, crm_attribute, pcs CLI
drbd # drbdadm, drbdsetup, drbdmon
ocf-resource-agents # OCF heartbeat agents (Filesystem, IPaddr2, drbd, …)
# Storage
xfsprogs # mkfs.xfs, xfs_admin, xfs_info
targetcli-fb # targetcli shell + targetctl
xfsprogs # mkfs.xfs, xfs_admin, xfs_info
targetcli-fb # targetcli shell + targetctl
# Networking / debug
iproute2 # ip, ss
iputils # ping
iproute2 # ip, ss
iputils # ping
tcpdump
lsof
@@ -233,16 +233,16 @@ in
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 # SSH
3260 # iSCSI
3121 # pacemaker-remoted
2224 # pcsd
22 # SSH
3260 # iSCSI
3121 # pacemaker-remoted
2224 # pcsd
drbdPort # DRBD replication
];
allowedUDPPorts = [
5404 # corosync cluster
5405 # corosync cluster
5407 # corosync crypto
5404 # corosync cluster
5405 # corosync cluster
5407 # corosync crypto
];
# Corosync uses ports 5404-5407 UDP; allow them on the cluster net
extraCommands = ''
+1 -1
View File
@@ -3,7 +3,7 @@
# ha-test-node1: VMID 200, 192.168.2.200/24
{
networking.hostName = "ha-test-node1";
networking.hostId = "a1b2c3d4"; # random, required by ZFS (not used here) but harmless
networking.hostId = "a1b2c3d4"; # random, required by ZFS (not used here) but harmless
networking.interfaces.ens18.ipv4.addresses = [{
address = "192.168.2.200";
+1 -1
View File
@@ -3,7 +3,7 @@
# ha-test-node2: VMID 201, 192.168.2.201/24
{
networking.hostName = "ha-test-node2";
networking.hostId = "e5f6a7b8"; # random, required by ZFS (not used here) but harmless
networking.hostId = "e5f6a7b8"; # random, required by ZFS (not used here) but harmless
networking.interfaces.ens18.ipv4.addresses = [{
address = "192.168.2.201";