2f5a5771b0abc7ac2588cc1ec0f4c1111ee45734
Introduce interactive whiptail-based helpers and robust error handling for VM creation. - Add error_handler() to report failures (calls post_update_to_api if available), print contextual error info, and call cleanup_vmid. - Ensure TEMP_DIR is removed in cleanup(). - Replace brittle pve_check with version parsing that supports Proxmox VE 8.0–8.9 and 9.0–9.1 (exits with code 105 on unsupported versions). - Add ssh_check() to warn users running the script over SSH. - Add sanitize_vm_hostname() and a suite of vm_* helper functions to prompt and validate interactive settings via whiptail: vm_confirm_new_vm, vm_choose_settings_mode, vm_prompt_vmid, vm_prompt_machine_type, vm_apply_machine_type, vm_prompt_disk_size, vm_prompt_disk_cache, vm_prompt_hostname, vm_prompt_cpu_model, vm_prompt_cpu_cores, vm_prompt_ram, vm_prompt_bridge, vm_prompt_mac, vm_prompt_vlan, vm_prompt_mtu, vm_prompt_start_vm. - Add storage helpers: vm_select_storage, vm_apply_storage_layout, vm_define_disk_references to detect storage pools, set formats/extensions and prepare disk refs. - Use APP/NSAPP for description title by introducing local description_title in set_description(). These changes centralize validation and interactive flow, improve UX, and harden error reporting and cleanup.
🚧 ProxmoxVED Helper-Scripts (Development Repository)
Warning: This repository is under active development and is not intended for production use. Changes may occur at any time!
🔧 What is this?
This repository contains a collection of scripts for managing and automating Proxmox Virtual Environment (Proxmox VE). Originally created by tteck, the project is now community-driven and continues to evolve.
Want to help?
Follow here to see our Documentations.
🚀 Development Status
- ⚠️ Unstable: Features may be incomplete or subject to change.
- 📢 Community-driven: Contributions and feedback are welcome.
- 🔄 Frequent updates: Active development means rapid iterations and fixes.
💬 Get Involved
Join the discussion, contribute code, or report issues:
- Discord: Join the Proxmox Helper Scripts Discord server
- GitHub Issues: Report bugs or request features
📜 License
This project is licensed under the MIT License.
Proxmox® is a registered trademark of Proxmox Server Solutions GmbH.
Description
Languages
Shell
100%