From 4c5b45130882bb2ced53fd8d81dba5064f82dd28 Mon Sep 17 00:00:00 2001 From: Xavor Date: Mon, 1 Sep 2025 14:06:16 +0200 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20dynu=20uodater?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dynu-updater | 1 + vm-windows-demo/data-volume.yaml | 6 +++--- vm-windows-demo/nad-br-admin.yaml | 2 +- vm-windows-demo/nad-br-srv.yaml | 2 +- vm-windows-demo/virtual-machine.yaml | 8 ++++---- 5 files changed, 10 insertions(+), 9 deletions(-) create mode 160000 dynu-updater diff --git a/dynu-updater b/dynu-updater new file mode 160000 index 0000000..49e4f11 --- /dev/null +++ b/dynu-updater @@ -0,0 +1 @@ +Subproject commit 49e4f11719438e96554bd0761a9b36627205dc52 diff --git a/vm-windows-demo/data-volume.yaml b/vm-windows-demo/data-volume.yaml index a8ae4c4..aeb5f05 100644 --- a/vm-windows-demo/data-volume.yaml +++ b/vm-windows-demo/data-volume.yaml @@ -3,12 +3,12 @@ apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: name: windows-iso - namespace: k8s-vm-windows-demo + namespace: windows-demo spec: source: http: # Puedes usar https://... (si tu LE está OK); si CDI se queja de CA, cambia a http:// - url: "https://isoserver.c2et.net/Windows.iso" + url: "https://isoserver.c2et.net/Windows2.iso" pvc: accessModes: ["ReadWriteOnce"] resources: @@ -22,7 +22,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: winhd - namespace: k8s-vm-windows-demo + namespace: windows-demo spec: accessModes: ["ReadWriteOnce"] # ceph-rbd -> RWO resources: diff --git a/vm-windows-demo/nad-br-admin.yaml b/vm-windows-demo/nad-br-admin.yaml index 8331b1e..d1fd9b8 100644 --- a/vm-windows-demo/nad-br-admin.yaml +++ b/vm-windows-demo/nad-br-admin.yaml @@ -10,7 +10,7 @@ spec: "bridge": "br-admin", "ipam": { "type": "host-local", - "subnet": "192.168.200.0/22", + "subnet": "192.168.0.0/24", "rangeStart": "192.168.0.200", "rangeEnd": "192.168.0.210" } diff --git a/vm-windows-demo/nad-br-srv.yaml b/vm-windows-demo/nad-br-srv.yaml index 1355a9e..120a6f5 100644 --- a/vm-windows-demo/nad-br-srv.yaml +++ b/vm-windows-demo/nad-br-srv.yaml @@ -10,7 +10,7 @@ spec: "bridge": "br-srv", "ipam": { "type": "host-local", - "subnet": "192.168.200.0/22", + "subnet": "192.168.200.0/24", "rangeStart": "192.168.200.100", "rangeEnd": "192.168.200.200" } diff --git a/vm-windows-demo/virtual-machine.yaml b/vm-windows-demo/virtual-machine.yaml index 3b11935..262a39d 100644 --- a/vm-windows-demo/virtual-machine.yaml +++ b/vm-windows-demo/virtual-machine.yaml @@ -13,10 +13,10 @@ spec: networks: - name: admin multus: - networkName: default/br-admin + networkName: windows-demo/br-admin - name: servicios multus: - networkName: default/br-srv + networkName: windows-demo/br-srv domain: machine: type: q35 @@ -26,10 +26,10 @@ spec: requests: memory: 4Gi devices: - autoattachPodInterface: false + autoattachPodInterface: false interfaces: - name: admin - masquerade: {} + bridge: {} model: virtio - name: servicios bridge: {}