mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-30 03:05:00 +02:00
65219d9469
Enhance tools/pve/host-migrate.sh with several usability and reliability features: - Add run logfile and mlog helper for traceability (writes /var/log/host-migrate-<ts>.log). - Add CIFS/SMB share support to the location picker, auto-install cifs-utils, and mount CIFS shares for exports. - Make export component selection more granular (pvecfg, network, hostid, dns, apt sources/keyrings, pkglist, cron, systemd, roothome, etc) and reorganize collection logic accordingly. - Capture per-guest requirements (bridges and storages) into host/guest-requirements.info for import preflight checks. - Generate bundle manifest with additional metadata (kernel, tool version, cluster flag) and produce sha256sums.txt; offer optional integrity verification on import. - Add optional rsync/SSH push after export and install rsync if missing. - Import-side: warn on architecture and cluster source, verify checksums, preflight missing bridges/storages, and allow package reinstallation from selection file. - Add cleanup UI to manage and delete stored bundles. - Various UI tweaks and messaging improvements, and minor safety/backups when restoring files. These changes improve cross-host portability, provide better diagnostics, and make bundle management and restoration safer and more transparent.