Update README.md
This commit is contained in:
parent
e03a8d7fd1
commit
600f34f6ea
1 changed files with 12 additions and 9 deletions
21
README.md
21
README.md
|
|
@ -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 ~
|
||||||
Loading…
Add table
Add a link
Reference in a new issue