* Improve OpenWrt VM boot and readiness check
Replaces the fixed sleep and repeated configuration attempts with a loop that waits for the VM to be ready using 'qm agent ping'. Configuration commands are now sent only after OpenWrt is confirmed to be ready, improving reliability and startup efficiency.
* Update openwrt-vm.sh
* Add VM running check before configuring OpenWrt network
Wrapped network configuration commands in a check to ensure the VM is running before sending commands. This prevents errors if the VM is not active and provides appropriate success or error messages.
* Enable and update VM cleanup logic in openwrt-vm.sh
Uncommented and updated the cleanup_vmid function to stop and destroy the VM if it exists. Also enabled its invocation in the error handler to ensure proper resource cleanup on errors.
* move openwrt to correct naming
* Add disk size configuration for OpenWrt VM
Introduces a DISK_SIZE variable to allow setting disk size for OpenWrt VM in both default and advanced settings. Updates VM creation logic to use the specified disk size and improves output formatting for clarity.
* Update openwrt-vm.sh
* Update openwrt-vm.sh
* Update openwrt-vm.sh
* Add newline before loading message in openwrt-vm.sh
Prepends a newline to the loading message for improved output formatting in the openwrt-vm.sh script.
* Update openwrt-vm.sh
* rename vm
* Improve OpenWrt VM network configuration logic
Refactored network interface configuration to use a loop for more robust VM status checking and command delivery. Enhanced bridge interface setup with clearer messaging and improved variable handling. Minor shell syntax improvements for consistency.
* Update openwrt-vm.sh
Moved pv installation logic into a reusable ensure_pv function in both haos-vm.sh and umbrel-os-vm.sh. This improves code clarity and avoids duplicate code for checking and installing the pv package.
* Edit Debian VM script to use Cloud-init
* Edit Debian VM page to point to Cloud-init guide
* Revert "Edit Debian VM page to point to Cloud-init guide"
This reverts commit 3f99b2def15690e3a88fd5fa10b8ceefb8867bab.
* Edit Debian VM script to ask for cloud-init
fix(vm-creation): ensure whiptail VMID inputbox is pre-filled with a valid and available ID
- Replaced hardcoded NEXTID usage with a new get_valid_nextid() function
- Ensures no collision with existing VMs, LXCs or orphaned LVM volumes
- Improves user experience by properly pre-filling whiptail inputbox
- Automatically skips invalid IDs instead of failing on alloc