Compare commits

...
Author SHA1 Message Date
MickLesk 114aca840b Ubuntu VM: check for a snippets storage before building a static-IP VM
Ubuntu 26.04 needs the MAC-matched network snippet, and without a storage for snippets the run failed only after the VM was created. It now stops before downloading the image.
2026-10-31 19:57:25 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 08f9c31c92 Update CHANGELOG.md (#18345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-31 18:55:37 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 9d364c3d4e Update CHANGELOG.md (#18344)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-31 18:53:41 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 8a5daca0ed Update CHANGELOG.md (#18343)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-31 18:52:21 +00:00
2 changed files with 12 additions and 0 deletions

No files matched your search

+6
View File
@@ -581,6 +581,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- MatterJS-Server: Add time sync [@tomfrenzel](https://github.com/tomfrenzel) ([#18330](https://github.com/community-scripts/ProxmoxVE/pull/18330))
### 💾 Core
- feat: add setup_java_memory: size Java services from the CT's RAM on Proxmox [@MickLesk](https://github.com/MickLesk) ([core#181](https://github.com/community-scripts/core/pull/181))
- analytics: name the Proxmox tasks when a container stops mid-install [@MickLesk](https://github.com/MickLesk) ([core#184](https://github.com/community-scripts/core/pull/184))
- PVE: do not abort when the spinner PID file cannot be written [@MickLesk](https://github.com/MickLesk) ([core#183](https://github.com/community-scripts/core/pull/183))
### 📂 Github
- Drop the legacy engine copies from misc/ [@MickLesk](https://github.com/MickLesk) ([#18294](https://github.com/community-scripts/ProxmoxVE/pull/18294))
+6
View File
@@ -130,6 +130,12 @@ vm_prompt_cloud_init "ubuntu"
if [ "$USE_CLOUD_INIT" != "yes" ]; then
msg_warn "Without Cloud-Init this Ubuntu image gets no network configuration or credentials; configure them in the guest yourself."
fi
if [[ "$USE_CLOUD_INIT" == "yes" && "${CLOUDINIT_NETWORK_MODE:-dhcp}" == "static" && -z "${CLOUDINIT_SNIPPET_STORAGE:-}" ]] &&
! pvesm status -content snippets 2>/dev/null | awk 'NR > 1 && $3 == "active" {found = 1} END {exit !found}'; then
msg_error "A static IP needs a storage with 'snippets' content, and none is active"
msg_warn "Enable Snippets under Datacenter > Storage on a directory storage, or choose DHCP"
exit 1
fi
post_to_api_vm
vm_select_storage "$HN"
vm_define_disk_references 2