Files
vanlink/ha/ha_van.xml
T
Andreas WredeandClaude Fable 5 8ab5a4cbd8 ha: fresh HAOS install + VNC console for the HAOS CLI
The backup-restore from the x86 instance left Core stopped with the
Supervisor idle and healthy-looking — no restart, download, or disk
activity, and it survived a guest reboot. The old config was minimal,
so: fresh 18.1 image, configure from scratch (old disk kept aside as
*.old-restored). Add VNC graphics + virtio-gpu while the domain was
down: the HAOS CLI runs only on the graphical console (no serial
getty), so without this there is no way into a broken guest — view it
via Cockpit's Virtual Machines page (cockpit-machines now installed).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 20:16:17 -04:00

62 lines
2.3 KiB
XML

<!-- Home Assistant OS VM — aarch64 port for the Pi 4 "wan" host.
Same identity as wayback's x86 ha_van: MAC 52:54:00:ad:0a:01 is pinned to
10.42.0.50/"homeassistant" by van-ap-dnsmasq. 2 GiB RAM (Pi has 3.7 total),
machine=virt + AAVMF EFI, virtio disk/net. Fresh 18.1 install, configured
from scratch (a backup-restore from the x86 instance left Core stopped and
Supervisor idle; the old config was minimal, so it was abandoned).
VNC graphics + virtio-gpu: the HAOS CLI lives on the graphical console
(its serial console runs no getty), so this is the only way in without
SSH add-ons — view it via Cockpit's Virtual Machines page. -->
<domain type='kvm'>
<name>ha_van</name>
<uuid>af014c94-de20-4f52-8d6b-438f16cd82e6</uuid>
<description>Home Assistant OS (aarch64)</description>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os firmware='efi'>
<type arch='aarch64' machine='virt'>hvm</type>
<firmware>
<feature enabled='no' name='enrolled-keys'/>
<feature enabled='no' name='secure-boot'/>
</firmware>
<boot dev='hd'/>
</os>
<features>
<gic version='2'/>
</features>
<cpu mode='host-passthrough' check='none'/>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-aarch64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/haos_generic-aarch64-18.1.qcow2'/>
<target dev='sda' bus='scsi'/>
</disk>
<controller type='scsi' index='0' model='virtio-scsi'/>
<interface type='bridge'>
<mac address='52:54:00:ad:0a:01'/>
<source bridge='br0'/>
<model type='virtio'/>
</interface>
<serial type='pty'>
<target type='system-serial' port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
<video>
<model type='virtio'/>
</video>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
</rng>
<memballoon model='virtio'/>
</devices>
</domain>