Update README.md

This commit is contained in:
Blackwhitebear8 2024-12-09 16:50:55 +01:00
parent 78e2557da8
commit 1770f95556

View file

@ -2,13 +2,11 @@ How to use:\
1. ```cd /opt && git clone https://git.pixelhosting.nl/Blackwhitebear8/createvm-web.git && cd createvm-web``` 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``` 2. ```apt install python3 python3-venv libguestfs-tools jq pip```
3. ```source .venv/bin/activate``` 3. ```pip install flask --break-system-packages```
4. ```pip install flask``` 4. ```chmod +x create.sh```
5. ```deactivate``` 5. ```cp createvm.service /etc/systemd/system/createvm.service```
6. ```chmod +x create.sh``` 6. ```systemctl daemon-reload```
7. ```cp createvm.service /etc/systemd/system/createvm.service``` 7. ```systemctl enable --now createvm.service && systemctl start createvm```
8. ```systemctl daemon-reload```
9. ```systemctl enable --now createvm.service && systemctl start createvm```
Debian 12 vm aanmaken duurt ~5 minuten en 15 seconden.\ Debian 12 vm aanmaken duurt ~5 minuten en 15 seconden.\
Almalinux 9 vm aanmaken duurt ~5 minuten en 30 seconden.\ Almalinux 9 vm aanmaken duurt ~5 minuten en 30 seconden.\