bk node and refactor
This commit is contained in:
@@ -24,17 +24,8 @@ vm:
|
||||
storage: 256
|
||||
data_storage:
|
||||
name: "vdb"
|
||||
pool: "data"
|
||||
size: 3.5
|
||||
lan_mac: "0a:49:6e:4d:03:00"
|
||||
lan_net: "lan-net"
|
||||
lan_group: "vlan10-access"
|
||||
# PCIe passthrough address
|
||||
# result of `lspci | grep -i -e "sata controller" -e "vga"` and parse it.
|
||||
# Ex) 04:00.0 > domain: "0x0000", bus: "0x04", slot: "0x00", function: "0x0"
|
||||
pass_through:
|
||||
igpu:
|
||||
address: "0000:00:02.0"
|
||||
domain: "0x0000"
|
||||
bus: "0x00"
|
||||
slot: "0x02"
|
||||
function: "0x0"
|
||||
|
||||
@@ -12,12 +12,12 @@ vm:
|
||||
name: "auth"
|
||||
cpu: 2
|
||||
cpu_pin: |
|
||||
<vcpupin vcpu='0' cpuset='8'/>
|
||||
<vcpupin vcpu='1' cpuset='9'/>
|
||||
<emulatorpin cpuset='8-9'/>
|
||||
<vcpupin vcpu='0' cpuset='6'/>
|
||||
<vcpupin vcpu='1' cpuset='7'/>
|
||||
<emulatorpin cpuset='6-7'/>
|
||||
shares: 1024
|
||||
memory: 2
|
||||
storage: 64
|
||||
storage: 32
|
||||
lan_mac: "0a:49:6e:4d:02:00"
|
||||
lan_net: "lan-net"
|
||||
lan_group: "vlan10-access"
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
# Node Factors
|
||||
node:
|
||||
name: "bk"
|
||||
group: "svadmins"
|
||||
uid: 2009
|
||||
home_path: "/home/bk"
|
||||
ssh_san: "{{ node['name'] }},{{ node['name'] }}.{{ domain['internal'] }}"
|
||||
local_san: "localhost {{ node['name'] }}.{{ domain['internal'] }}"
|
||||
# VM Factors
|
||||
vm:
|
||||
name: "bk"
|
||||
cpu: 2
|
||||
cpu_pin: |
|
||||
<vcpupin vcpu='0' cpuset='6'/>
|
||||
<vcpupin vcpu='1' cpuset='7'/>
|
||||
<emulatorpin cpuset='6-7'/>
|
||||
shares: 512
|
||||
memory: 2
|
||||
storage: 32
|
||||
data_storage:
|
||||
name: "vdb"
|
||||
pool: "backup"
|
||||
size: 3.5
|
||||
lan_mac: "0a:49:6e:4d:09:00"
|
||||
lan_net: "lan-net"
|
||||
lan_group: "vlan10-access"
|
||||
@@ -21,6 +21,6 @@ node:
|
||||
data_path: "{{ node['homelab_path'] }}/data"
|
||||
config_path: "{{ node['homelab_path'] }}/config"
|
||||
ssh_san: "{{ node['name'] }},{{ node['name'] }}.{{ domain['internal'] }}"
|
||||
ssh_users: "vmm,fw,infra,auth,app"
|
||||
ssh_users: "vmm,fw,bk,infra,auth,app"
|
||||
# add the hostname of wsl, it is needed to improve the sudo problem
|
||||
local_san: "localhost {{ node['name'] }} {{ node['name'] }}.{{ domain['internal'] }}"
|
||||
|
||||
@@ -52,6 +52,8 @@ network4:
|
||||
vmm:
|
||||
client: "192.168.1.10"
|
||||
server: "192.168.10.10"
|
||||
bk:
|
||||
server: "192.168.10.9"
|
||||
infra:
|
||||
server: "192.168.10.11"
|
||||
auth:
|
||||
@@ -60,8 +62,6 @@ network4:
|
||||
server: "192.168.10.13"
|
||||
switch:
|
||||
client: "192.168.1.2"
|
||||
nas:
|
||||
client: "192.168.1.11"
|
||||
printer:
|
||||
client: "192.168.1.101"
|
||||
|
||||
@@ -85,18 +85,14 @@ network6:
|
||||
vmm:
|
||||
client: "fd00:1::10"
|
||||
server: "fd00:10::10"
|
||||
bk:
|
||||
server: "fd00:10::9"
|
||||
infra:
|
||||
server: "fd00:10::11"
|
||||
auth:
|
||||
server: "fd00:10::12"
|
||||
app:
|
||||
server: "fd00:10::13"
|
||||
switch:
|
||||
client: "fd00:1::2"
|
||||
nas:
|
||||
client: "fd00:1::11"
|
||||
printer:
|
||||
client: "fd00:1::101"
|
||||
|
||||
# Suricata Factors
|
||||
# suricata_home_net: '[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]'
|
||||
|
||||
@@ -15,11 +15,11 @@ vm:
|
||||
cpu_pin: |
|
||||
<vcpupin vcpu='0' cpuset='2'/>
|
||||
<vcpupin vcpu='1' cpuset='3'/>
|
||||
<vcpupin vcpu='2' cpuset='6'/>
|
||||
<vcpupin vcpu='3' cpuset='7'/>
|
||||
<emulatorpin cpuset='6-7'/>
|
||||
<vcpupin vcpu='2' cpuset='8'/>
|
||||
<vcpupin vcpu='3' cpuset='9'/>
|
||||
<emulatorpin cpuset='8-9'/>
|
||||
shares: 2048
|
||||
memory: 6
|
||||
memory: 4
|
||||
storage: 256
|
||||
lan_mac: "0a:49:6e:4d:01:00"
|
||||
lan_net: "lan-net"
|
||||
|
||||
Reference in New Issue
Block a user