whiskerz007 / proxmox_hassos_install

MIT License
884 stars 191 forks source link

Shell command not working #94

Open GM202014 opened 3 years ago

GM202014 commented 3 years ago

Hey,

After using the shell command to create the vm it starts downloading en creating the VM, but after that i get this error:

400 Parameter verification failed. boot: value does not match the regex pattern qm set [OPTIONS] [ERROR] 255@140 Unknown failure occured. Logical volume "vm-100-disk-1" successfully removed Logical volume "vm-100-disk-0" successfully removed

RootVerde commented 3 years ago

Ok so I happened to be messing with this to. It seems to me that the error was being caused by this line

qm set $VMID \ -boot order=sata0 > /dev/null

Which is in the second to last section. I tried a few things but in the end just deleting the line from the script had it working. If you haven't come to that conclusion already then give it a shot.

ramoneich commented 3 years ago

Same here on Proxmox Virtual Environment 6.2-4 (updated).

Creating VM... 400 Parameter verification failed. boot: value does not match the regex pattern qm set <vmid> [OPTIONS] [ERROR] 255@140 Unknown failure occured. Logical volume "vm-107-disk-1" successfully removed Logical volume "vm-107-disk-0" successfully removed

ramoneich commented 3 years ago

Also with the script modified like @RootVerde advised it is not working for me. 400 Parameter verification failed. boot: value does not match the regex pattern qm set <vmid> [OPTIONS] [ERROR] 255@140 Unknown failure occured. Logical volume "vm-107-disk-1" successfully removed Logical volume "vm-107-disk-0" successfully removed

GM202014 commented 3 years ago

Any idea how to fix this issue? I can't change the VM because it's already removed before i can make changes to the VM

PeterRemnemark commented 3 years ago

Since the error complains of the boot order, and that was last being changed in the latest commit you could use the previous commit to install (I did). You need to replace the url in the script with this URL instead https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh

hsmptg commented 3 years ago

Since the error complains of the boot order, and that was last being changed in the latest commit you could use the previous commit to install (I did). You need to replace the url in the script with this URL instead https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh

I confirm that what @PeterRemnemark suggested solves the problem!!! Thanks

BananasRule commented 3 years ago

Also confirming the fix. The full command for running it is: bash -c "$(wget -qLO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh)"

GM202014 commented 3 years ago

Thanks guys for helping

jrummy333 commented 3 years ago

I too had the same issue and confirming this resolves the issue.

hsmptg commented 3 years ago

Just noticed today that using Proxmox 6.3-3 the problem do not occur! When I had the problem I was using Proxmox 5.4.