mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-12-04 13:49:46 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bc8560683 |
No files matched your search
@@ -590,6 +590,20 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-12-04
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Wiki.js: rebuild SQLite in the application directory [@maniac79](https://github.com/maniac79) ([#19299](https://github.com/community-scripts/ProxmoxVE/pull/19299))
|
||||
- Frigate: stop the service cleanly [@MickLesk](https://github.com/MickLesk) ([#19296](https://github.com/community-scripts/ProxmoxVE/pull/19296))
|
||||
- Update authentik 2026.8.7 [@thieneret](https://github.com/thieneret) ([#19051](https://github.com/community-scripts/ProxmoxVE/pull/19051))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- Kyoo: install the FFmpeg build its transcoder needs [@MickLesk](https://github.com/MickLesk) ([#19294](https://github.com/community-scripts/ProxmoxVE/pull/19294))
|
||||
|
||||
## 2026-12-03
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
@@ -21,13 +21,6 @@ variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
# Home Assistant requires AVX2. This runs on the host before a container is
|
||||
# created, and inside the container when the update runs this script.
|
||||
if [[ "$(arch_resolve)" == "amd64" ]] && ! grep -qw avx2 /proc/cpuinfo; then
|
||||
msg_error "The host CPU does not support AVX2, which Home Assistant requires."
|
||||
exit 106
|
||||
fi
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
|
||||
+2
-20
@@ -51,7 +51,7 @@ function default_settings() {
|
||||
DISK_SIZE="32G"
|
||||
DISK_CACHE=""
|
||||
HN="homeassistant"
|
||||
CPU_TYPE=" -cpu host"
|
||||
CPU_TYPE=""
|
||||
CORE_COUNT="2"
|
||||
RAM_SIZE="4096"
|
||||
BRG="vmbr0"
|
||||
@@ -81,7 +81,7 @@ function advanced_settings() {
|
||||
vm_prompt_disk_size "$DISK_SIZE" "Set Disk Size in GiB (e.g., 10, 20)"
|
||||
vm_prompt_disk_cache "writethrough"
|
||||
vm_prompt_hostname "homeassistant"
|
||||
vm_prompt_cpu_model "host"
|
||||
vm_prompt_cpu_model "kvm64"
|
||||
vm_prompt_cpu_cores "2"
|
||||
vm_prompt_ram "4096"
|
||||
vm_prompt_bridge "vmbr0"
|
||||
@@ -100,27 +100,9 @@ function advanced_settings() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Home Assistant requires AVX2. A guest only sees it when the host CPU has it
|
||||
# and the VM CPU model passes it through (host, x86-64-v3 or x86-64-v4; kvm64
|
||||
# and x86-64-v2-AES hide it).
|
||||
function check_avx2() {
|
||||
[[ "$(vm_arch)" == "amd64" ]] || return 0
|
||||
if ! grep -qw avx2 /proc/cpuinfo; then
|
||||
msg_error "The host CPU ($(grep -m1 'model name' /proc/cpuinfo | cut -d: -f2 | xargs)) does not support AVX2, which Home Assistant requires."
|
||||
exit 106
|
||||
fi
|
||||
case "${CPU_TYPE# -cpu }" in
|
||||
host | x86-64-v3 | x86-64-v4) ;;
|
||||
*)
|
||||
msg_error "The CPU model $(vm_cpu_model_label) hides AVX2 from the VM, which Home Assistant requires. Use host or x86-64-v3."
|
||||
exit 106
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
vm_preflight
|
||||
vm_start_script "Use Default Settings?" 10 58
|
||||
check_avx2
|
||||
post_to_api_vm
|
||||
|
||||
vm_select_storage "$HN"
|
||||
|
||||
Reference in new issue
Block a user