I used this successfully to create a HA VM on a brand new Proxmox install. Unfortunately I installed it on the wrong disk- I deleted it, then installed it on the correct disk, but brain farted and expanded the disk to be larger than I meant to.
I deleted it again and tried to rerun the script, but now I get this error message that I can't decipher.
$ sudo bash -c "$(wget -qLO - https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/hassos_install.sh)"
[INFO] Using 'VMs1' for storage location.
[INFO] Container ID is 100.
Getting URL for latest Home Assistant disk image...
Downloading disk image...
Checking for unzip command
Extracting disk image...
Archive: haos_ova-6.2.vmdk.zip
inflating: haos_ova-6.2.vmdk
Creating VM...
[ERROR] 5@147 Unknown failure occured.
Watching my Proxmox web gui, I see a VM get created, then immediately deleted. I can't find anything in a log anywhere, but then again I'm not sure where to look.
I then tried installing it to local again, which worked fine, so I again deleted the new VM. Then, I fully formatted my second disk again, then removed it and readded it to Proxmox. Then I ran the script again, targeting my second drive, and this time it worked fine. It seems there's something that can get screwed up if you run the script twice on a second drive.
It would be nice to get some info on how to decipher these error codes too.
I used this successfully to create a HA VM on a brand new Proxmox install. Unfortunately I installed it on the wrong disk- I deleted it, then installed it on the correct disk, but brain farted and expanded the disk to be larger than I meant to.
I deleted it again and tried to rerun the script, but now I get this error message that I can't decipher.
$ sudo bash -c "$(wget -qLO - https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/hassos_install.sh)" [INFO] Using 'VMs1' for storage location. [INFO] Container ID is 100. Getting URL for latest Home Assistant disk image... Downloading disk image... Checking for unzip command Extracting disk image... Archive: haos_ova-6.2.vmdk.zip inflating: haos_ova-6.2.vmdk Creating VM... [ERROR] 5@147 Unknown failure occured.
Watching my Proxmox web gui, I see a VM get created, then immediately deleted. I can't find anything in a log anywhere, but then again I'm not sure where to look.
I then tried installing it to local again, which worked fine, so I again deleted the new VM. Then, I fully formatted my second disk again, then removed it and readded it to Proxmox. Then I ran the script again, targeting my second drive, and this time it worked fine. It seems there's something that can get screwed up if you run the script twice on a second drive.
It would be nice to get some info on how to decipher these error codes too.