虚拟机镜像
https://www.home-assistant.io/installation/linux
创建proxomx ve 虚拟机 此时标记黄色的硬盘是没有的:)新建虚机的默认硬盘和光驱都要删掉
其他类型虚拟机参见
CREATE THE VIRTUAL MACHINE
Load the appliance image into your virtual machine hypervisor. (Note: You are free to assign as much resources as you wish to the VM, please assign enough based on your add-on needs).
Minimum recommended assignments:
- 2 GB RAM
- 32 GB Storage
- 2vCPU
All these can be extended if your usage calls for more resources.
HYPERVISOR SPECIFIC CONFIGURATION
VirtualBox
KVM (virt-manager)
KVM (virt-install)
Vmware Workstation
- Create a new virtual machine.
- Select type Linux and version Linux 2.6 / 3.x / 4.x (64-bit).
- Select Use an existing virtual hard disk file, select the unzipped VDI file from above.
- Edit the Settings of the VM and go to System > Motherboard. Select Enable EFI.
- Then go to Network > Adapter 1. Choose Bridged Adapter and choose your network adapter.
上传haos_ova-10.4.qcow2 到pve虚机目录 /save/images/103/haos_ova-10.4.qcow2
添加硬盘 103虚机号 qcow2文件路径 虚机所在存储名。
#qm importdisk 103 /save/images/103/haos_ova-10.4.qcow2 save
上述表示命令执行成功,在save中虚机103中生成硬盘vm-103-disk-0.raw
在web界面中修改添加硬盘为sata硬盘
注意新建虚机时bios必须为 uefi。
启动
根据界面显示地址web登录 开启ha之旅 :)