From 31411957ca155f29a49610658cc88258f55959ca Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Sat, 29 Mar 2025 10:24:58 +0000 Subject: [PATCH] Switch to real hassos MAC. --- hosts/chilly/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/chilly/default.nix b/hosts/chilly/default.nix index aecaa71..69c7000 100644 --- a/hosts/chilly/default.nix +++ b/hosts/chilly/default.nix @@ -61,7 +61,7 @@ description = "Home Assistant OS VM"; wantedBy = [ "multi-user.target" ]; script = '' - ${pkgs.qemu}/bin/qemu-system-x86_64 -bios ${pkgs.OVMF.fd}/FV/OVMF.fd -name 'hassos' -enable-kvm -cpu host -m 16384 -smp 4 -drive 'if=virtio,file=/persist/hassos/disk-drive-sata0.raw,format=raw' -nic 'bridge,br=br0,mac=2E:DD:78:D5:78:9B' -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,vendorid=0x0658,productid=0x0200 -device usb-host,bus=xhci.0,vendorid=0x10c4,productid=0xea60 -nographic -serial telnet:localhost:4321,server=on,wait=off -monitor telnet:localhost:4322,server=on,wait=off + ${pkgs.qemu}/bin/qemu-system-x86_64 -bios ${pkgs.OVMF.fd}/FV/OVMF.fd -name 'hassos' -enable-kvm -cpu host -m 16384 -smp 4 -drive 'if=virtio,file=/persist/hassos/disk-drive-sata0.raw,format=raw' -nic 'bridge,br=br0,mac=2E:DD:78:D5:78:9A' -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,vendorid=0x0658,productid=0x0200 -device usb-host,bus=xhci.0,vendorid=0x10c4,productid=0xea60 -nographic -serial telnet:localhost:4321,server=on,wait=off -monitor telnet:localhost:4322,server=on,wait=off ''; preStop = '' echo 'system_powerdown' | ${pkgs.netcat-gnu}/bin/nc localhost 4322