Proxmox-Cloud-Image-Importer/install.sh
Gonzalo Martinez e40c63f8a6 First commit
2024-08-27 13:44:24 -03:00

18 lines
508 B
Bash

#!/bin/bash
echo "Installing Python Pip"
sudo apt-get install python3-pip
echo "Installing requirements"
pip3 install -r requirements.txt
echo "Downloading importer"
git clone https://github.com/ggMartinez/Proxmox-Cloud-Image-Importer /opt/Proxmox-Cloud-Image-Importer
echo "Creating symlink"
ln -s /opt/Proxmox-Cloud-Image-Importer/cloud-import.py /usr/bin/cloud-import
echo "Installed!! Run with 'cloud-import'"
echo "If you want to update, run 'cd /opt/Proxmox-Cloud-Image-Importer && git pull'."