Improved the logic for detecting physical disks in the Disk Passthrough to a VM script. Previously, the script would display disks that were already mounted in the system on some setups. This update ensures that only unmounted disks are shown in Proxmox, preventing confusion and potential conflicts.
This improvement ensures that disks already mounted or assigned to other VMs are excluded from the list of available disks, providing a more accurate and reliable selection process.
Create Synology DSM VM:
A new script that creates a VM to install Synology DSM. The script automates the process of downloading three different loaders with the option to use a custom loader provided by the user from the local storage options.
Additionally, it allows the use of both virtual and physical disks, which are automatically assigned by the script.
Figure 1: Synology DSM VM setup overview.
New VM Creation Menu:
A new menu has been created to enable VM creation from templates or custom scripts.
Main Menu Update:
Added a new entry to the main menu for accessing the VM creation menu from templates or scripts.
jq
(for handling JSON data)googletrans
) (for multi-language support)