https://github.com/ishare2-org/ishare2-cli
wget -O /usr/sbin/ishare2 https://raw.githubusercontent.com/ishare2-org/ishare2-cli/main/ishare2 && chmod +x /usr/sbin/ishare2 && ishare2
search images | |
---|---|
ishare2 search Juniper | |
Pull images | |
ishare2 pullĀ image-name-xxxxx | |
ishare2 root@eve-ng:~# ishare2 search palo ============================= Available QEMU images ============================= ID NAME SIZE -- ---- ---- 742 paloalto-10.0.0 5.7 GiB 743 paloalto-10.0.4-Pre-Licensed-Eval 2.8 GiB 744 paloalto-10.0.4-eval 2.9 GiB 745 paloalto-10.1.0 3.4 GiB 746 paloalto-10.1.0 3.3 GiB 747 paloalto-10.2.5 3.8 GiB 748 paloalto-10.2.5-Pre-Licensed-Eval 4.6 GiB 749 paloalto-6.1.0 2.3 GiB 750 paloalto-8.0.0 1.9 GiB 751 paloalto-8.1.0 2.1 GiB 752 paloalto-9.0.1 5.3 GiB 753 paloalto-9.0.4 3.0 GiB 754 paloalto-9.1.0 2.4 GiB 755 paloalto-9.1.2 2.7 GiB 14 QEMU images found for "palo" ============================ Available IOL images ============================ ID NAME SIZE -- ---- ---- No IOL images found for "palo" ================================= Available DYNAMIPS images ================================= ID NAME SIZE -- ---- ---- No DYNAMIPS images found for "palo" root@eve-ng:~# ishare2 pull 744 Usage: ishare2 pull <type> <id> ishare2 pull <type> all Types: qemu, iol, dynamips root@eve-ng:~# ishare2 pull qemu 744 [!] Downloading Image... [i] Image Name: paloalto-10.0.4-eval [i] Image Size: 2.9 GiB [i] Image Type: QEMU [i] Image ID: 744 [i] Download path: /opt/unetlab/addons/qemu/paloalto-10.0.4-eval [+] Downloading file from https://drive.labhub.eu.org/0:/addons/qemu/paloalto-10.0.4-eval/virtioa.qcow2... *** Download Progress Summary as of Tue Dec 26 08:09:26 2023 *** ============================================================================================================================================ [#e38703 474MiB/2.8GiB(16%) CN:4 DL:8.6MiB ETA:4m46s] FILE: /opt/unetlab/addons/qemu/paloalto-10.0.4-eval/virtioa.qcow2 -------------------------------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Dec 26 08:10:27 2023 *** ============================================================================================================================================ [#e38703 0.9GiB/2.8GiB(32%) CN:4 DL:8.0MiB ETA:4m7s] FILE: /opt/unetlab/addons/qemu/paloalto-10.0.4-eval/virtioa.qcow2 -------------------------------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Dec 26 08:11:27 2023 *** ============================================================================================================================================ [#e38703 1.4GiB/2.8GiB(48%) CN:4 DL:8.4MiB ETA:2m58s] FILE: /opt/unetlab/addons/qemu/paloalto-10.0.4-eval/virtioa.qcow2 -------------------------------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Dec 26 08:12:28 2023 *** ============================================================================================================================================ [#e38703 1.9GiB/2.8GiB(66%) CN:4 DL:8.7MiB ETA:1m53s] FILE: /opt/unetlab/addons/qemu/paloalto-10.0.4-eval/virtioa.qcow2 -------------------------------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Dec 26 08:13:28 2023 *** ============================================================================================================================================ [#e38703 2.4GiB/2.8GiB(84%) CN:4 DL:8.3MiB ETA:55s] FILE: /opt/unetlab/addons/qemu/paloalto-10.0.4-eval/virtioa.qcow2 -------------------------------------------------------------------------------------------------------------------------------------------- [#e38703 2.8GiB/2.8GiB(99%) CN:1 DL:8.6MiB] [+] The file has been downloaded successfully to /opt/unetlab/addons/qemu/paloalto-10.0.4-eval [+] Download completed for Image: paloalto-10.0.4-eval, Type: QEMU, ID: 744 [+] Fix permissions command has been executed correctly | |