Update cookbook.md

pull/427/head
Maxim Devaev 3 years ago committed by GitHub
parent a149e3ddd7
commit 22fdb9763e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,34 @@
# Some random and useful recipes
## Disabling authorization
Edit the file `/etc/kvmd/override.yaml`:
```yaml
kvmd:
auth:
enabled: false
```
then restart `kvmd`:
```
[root@pikvm ~]# systemctl restart kvmd
```
## Disabling ATX and hiding the menu
If you don't need ATX power control you can disable the relevant Web-UI menu in `/etc/kvmd/override.yaml`:
```yaml
kvmd:
atx:
type: disabled
```
then restart `kvmd`:
```
[root@pikvm ~]# systemctl restart kvmd
```
## Disabling webterm
```
[root@pikvm ~]# systemctl disable --now kvmd-webterm
```
## Take a HDMI screenshot via console on Pi-KVM
```
# curl --unix-socket /run/kvmd/ustreamer.sock http://localhost/snapshot -o screen.jpg

Loading…
Cancel
Save