Update README.md

This commit is contained in:
Blackwhitebear8 2024-12-09 16:30:05 +01:00
parent e03a8d7fd1
commit 600f34f6ea

View file

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