Shortening network name
This commit is contained in:
parent
6a3e3590f8
commit
06e9697dad
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<xsl:template match="/">
|
||||
<network ipv6='yes'>
|
||||
<name>my-talos-net</name>
|
||||
<bridge name="control-plane-net" stp="on" delay="0"/>
|
||||
<bridge name="cp-net" stp="on" delay="0"/>
|
||||
<forward mode='nat'>
|
||||
<nat ipv6='yes'/>
|
||||
</forward>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ variable "talos_version" {
|
|||
}
|
||||
|
||||
resource "libvirt_network" "talos_bridge" {
|
||||
name = "control-plane-net"
|
||||
name = "cp-net"
|
||||
autostart = true
|
||||
|
||||
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 \
|
||||
--cdrom /var/lib/libvirt/images/talos-kvm/metal-arm64.iso \
|
||||
--os-variant=linux2022 \
|
||||
--network network=control-plane-net \
|
||||
--network network=cp-net \
|
||||
--graphics none \
|
||||
--boot hd,cdrom \
|
||||
--noautoconsole
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue