PVE安装Home Assistant

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_75d390aebb9b1249909c3ef63b0fe04c.png

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_2c515e1a0530a7fa7674bf2820a719c0.png

接下来默认即可

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_54b8d1a75ee12d62a3edcc3a25bc8a02.png

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_d0dd9e16773cc0931662ec69c2666ad1.png

类型选host

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_314931e3007e0e0b9fb2795e3d071c47.png

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_8dc4a644a24370b10707d1d5402e6300.png

半虚拟化、E1000、直通,感觉半虚拟化和直通差不多

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_186b2ab757f6573d837057ee6dc0adce.png

分离并删除硬盘

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_c8aeb7687f675424c783381599f94e26.png

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_d4f1f17df7cf7a9741c95bbaa6352f78.png

调整BIOS为UEFI模式,这个是HassOS要求的

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_88f3740c446748c903601ebae9bc580f.png

下载HA虚拟机文件替代方案 - Home Assistant

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_b376524d2b7bca1fc0f3a5d0c85afb45.png

下载解压得到qcow2文件传到PVE里面

连接到PVE shell,将文件传到/tmp文件夹下

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_ea518e28b17a99dd1721cfa536fbc405.png

接下来进入tmp目录,向104(HA)虚拟机导入磁盘

1
2
cd /tmp
qm importdisk 104 haos_ova-14.1.qcow2 local-lvm

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_ed7e0f70eed5e5bdda2a11b4da077419.png

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_041ae76d87838d9b2c205fc27735e425.png

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_bf6788c3c1ece3c02b694696c523c7f2.png

出现一个未使用的磁盘,双击它添加

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_5282fe4eec755c59cb3dbd48ee5a83d9.png

在选择-引导顺序里面将硬盘设为第一位

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_e535d0ae42a21b0d684ee21150f9b29e.png

现在可以启动虚拟机了

https://cdn.ziyourufeng.eu.org/51hhh/img_bed/main/img/2025/01_08/image_86c8d5b2e8da983b026f4f0bc6b64296.png

等待系统最后安装完成,打开网页端,浏览器里面输入这个网址并打开:http://homeassistant.local:8123