createvm-web/README.md
2024-12-09 16:40:30 +01:00

16 lines
No EOL
698 B
Markdown

How to use:\
1. ```cd /opt && git clone https://git.pixelhosting.nl/Blackwhitebear8/createvm-web.git && cd createvm-web```
2. ```apt install python3 python3-venv libguestfs-tools jq pip```
3. ```source .venv/bin/activate```
4. ```pip install flask```
5. ```deactivate```
6. ```chmod +x create.sh```
7. ```cp createvm.service /etc/systemd/system/createvm.service```
8. ```systemctl daemon-reload```
9. ```systemctl enable --now createvm.service && systemctl start createvm```
Debian 12 vm aanmaken duurt ~5 minuten en 15 seconden.\
Almalinux 9 vm aanmaken duurt ~5 minuten en 30 seconden.\
![alt text](https://git.pixelhosting.nl/Blackwhitebear8/createvm-web/raw/branch/main/static/voorbeeld.png)