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:
```cd /opt && git clone https://git.pixelhosting.nl/Blackwhitebear8/createvm-web.git && cd createvm-web```
```apt install python3 python3-venv libguestfs-tools jq pip```
```source .venv/bin/activate```
```pip install flask```
```deactivate```
```chmod +x create.sh```
```cp createvm.service /etc/systemd/system/createvm.service```
```systemctl daemon-reload```
```systemctl enable --now createvm.service && systemctl start createvm```
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 ~