Update VM deployment script and documentation to reflect new default VM name 'CUBE' and IP configuration. Adjusted cloud-init settings for static IP and network details. Enhanced README and related scripts for clarity on VLAN and bridge usage.

This commit is contained in:
2026-02-17 15:22:05 +02:00
parent 9b1b4cef44
commit 307a34a2a5
7 changed files with 42 additions and 33 deletions

View File

@@ -7,7 +7,7 @@
set -e
VM_NAME="${VM_NAME:-rina}"
VM_NAME="${VM_NAME:-CUBE}"
CPU="${CPU:-2}"
MEMORY_GB="${MEMORY_GB:-4}"
DISK_GB="${DISK_GB:-128}"
@@ -109,6 +109,6 @@ sudo virsh dumpxml "$VM_NAME" > "$VM_XML"
echo "VM definition saved to: $VM_XML"
echo ""
echo "VM '$VM_NAME' is starting. First boot runs cloud-init (user rina, password rinapwd, IP 192.168.40.225 on VLAN 40 / br1.40)."
echo "VM '$VM_NAME' is starting. First boot runs cloud-init (user rina, password rinapwd; IP from cloud-init/user-data, e.g. 192.168.0.225)."
echo "To open console: virsh console $VM_NAME"
echo "To check: virsh list; ssh rina@192.168.40.225 (after cloud-init finishes, ~12 min)."
echo "To check: virsh list; ssh rina@<VM_IP> (after cloud-init finishes, ~12 min)."