1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/lib/vargen: hass VM

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2023-09-14 15:55:13 -04:00
parent 9d0220fb55
commit 1bb4cfb1da
No known key found for this signature in database
2 changed files with 25 additions and 0 deletions

View file

@ -156,6 +156,11 @@ func main() {
netip.MustParseAddr("192.168.1.11"), netip.MustParseAddr("192.168.1.11"),
mac("00:0c:15:05:1e:e6"), mac("00:0c:15:05:1e:e6"),
), ),
mgmt0.newHost(
"hass",
netip.MustParseAddr("192.168.1.12"),
mac("52:54:00:22:db:4d"),
),
iot0.newHost( iot0.newHost(
"keylight", "keylight",
netip.MustParseAddr("192.168.66.10"), netip.MustParseAddr("192.168.66.10"),

View file

@ -117,6 +117,16 @@
}, },
"mac": "00:0c:15:05:1e:e6" "mac": "00:0c:15:05:1e:e6"
}, },
{
"name": "hass",
"ipv4": "192.168.1.12",
"ipv6": {
"gua": "2600:6c4a:787f:5e00:5054:ff:fe22:db4d",
"ula": "fd9e:1a04:f01d:0:5054:ff:fe22:db4d",
"lla": "fe80::5054:ff:fe22:db4d"
},
"mac": "52:54:00:22:db:4d"
},
{ {
"name": "keylight", "name": "keylight",
"ipv4": "192.168.66.10", "ipv4": "192.168.66.10",
@ -370,6 +380,16 @@
"lla": "fe80::20c:15ff:fe05:1ee6" "lla": "fe80::20c:15ff:fe05:1ee6"
}, },
"mac": "00:0c:15:05:1e:e6" "mac": "00:0c:15:05:1e:e6"
},
{
"name": "hass",
"ipv4": "192.168.1.12",
"ipv6": {
"gua": "2600:6c4a:787f:5e00:5054:ff:fe22:db4d",
"ula": "fd9e:1a04:f01d:0:5054:ff:fe22:db4d",
"lla": "fe80::5054:ff:fe22:db4d"
},
"mac": "52:54:00:22:db:4d"
} }
] ]
}, },