Entering the ACTUAL network name ong

This commit is contained in:
vandomej 2025-10-03 11:21:48 -07:00
parent 06e9697dad
commit 0ae160d15e
2 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,8 @@
<!-- This template completely replaces the generated XML with our custom XML --> <!-- This template completely replaces the generated XML with our custom XML -->
<xsl:template match="/"> <xsl:template match="/">
<network ipv6='yes'> <network ipv6='yes'>
<name>my-talos-net</name> <name>control-plane-net</name>
<bridge name="cp-net" stp="on" delay="0"/> <bridge name="cp-bridge" stp="on" delay="0"/>
<forward mode='nat'> <forward mode='nat'>
<nat ipv6='yes'/> <nat ipv6='yes'/>
</forward> </forward>

View file

@ -42,7 +42,7 @@ variable "talos_version" {
} }
resource "libvirt_network" "talos_bridge" { resource "libvirt_network" "talos_bridge" {
name = "cp-net" name = "control-plane-net"
autostart = true autostart = true
xml { xml {
@ -99,7 +99,7 @@ resource "null_resource" "control_plane_node_1" {
--disk path=/var/lib/libvirt/images/talos-kvm/control-plane-node-1-disk.qcow2,bus=virtio,size=40,format=qcow2 \ --disk path=/var/lib/libvirt/images/talos-kvm/control-plane-node-1-disk.qcow2,bus=virtio,size=40,format=qcow2 \
--cdrom /var/lib/libvirt/images/talos-kvm/metal-arm64.iso \ --cdrom /var/lib/libvirt/images/talos-kvm/metal-arm64.iso \
--os-variant=linux2022 \ --os-variant=linux2022 \
--network network=cp-net \ --network network=control-plane-net \
--graphics none \ --graphics none \
--boot hd,cdrom \ --boot hd,cdrom \
--noautoconsole --noautoconsole