trixie/doc/vm_support.md

45 lines
1 KiB
Markdown
Raw Normal View History

2025-03-20 21:17:22 +01:00
# VM support
lmn_client provides scripts to
* create
* modify
* distribute
* run
VMs based on Qemu/KVM in school network.
## Requirements
2025-04-07 07:48:01 +02:00
* For distribution of VMs, you have to run a `seedbox` with aria2 server (torrent server).
2025-03-20 21:17:22 +01:00
Repository with ansible-playbook for seedbox install: https://codeberg.org/digitalsouveraeneschule/...
* `seedbox`-hostname must be resolvable via DNS
## Configuration / Variables
2025-04-07 07:48:01 +02:00
* **vm_support**
This flag indicates whether to activate VM support.
Type: *Boolean*
Values:
* `false` <-- (default)
* `true`
2025-04-07 07:48:01 +02:00
* **vm_torrent_serv**
Name of the torrent server.
Type: *String*
Default: `vm_torrent_serv: "seedbox.{{ domain }}"`
2025-04-07 07:48:01 +02:00
* **vm_uploadseed_pwd**
Password for upload-seed. Used for image upload to torrent-server.
Type: *String*
Default: `secret = "token:topsecret"`
2025-03-20 21:17:22 +01:00
## Example
Enable VM support on all clients.
inventory.yml
```
all:
vars:
vm_support: true
vm_torrent_serv: "myseedbox.linuxmuster.net" # default: seedbox.{{ domain }}
2025-03-20 21:17:22 +01:00
```