https://github.com/markuman/nanokvm-mitigations
https://github.com/markuman/nanokvm-mitigations
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/markuman/nanokvm-mitigations
- Owner: markuman
- Created: 2025-02-06T06:03:34.000Z (over 1 year ago)
- Default Branch: latest
- Last Pushed: 2025-02-14T14:43:52.000Z (over 1 year ago)
- Last Synced: 2025-02-14T15:37:00.408Z (over 1 year ago)
- Size: 5.86 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nanokvm-mitigations
ref: https://youtu.be/plJGZQ35Q6I?si=y-7vLKNhGm4vWOxt
## requirements
ansible
## usage
1. create inventory file
**inv.ini**
```ini
[nanokvm]
192.168.178.63
```
2. **modify cleanup.yml!**
set `ssh_keys: https://github.com/markuman.keys` to your ssh public key
3. run playbook
```
ansible-playbook -i inv.ini cleanup.yml
```
## update 2025-02-14
With 2.1.6 of nanokvm: https://github.com/sipeed/NanoKVM/blob/main/CHANGELOG.md#216-6eb4a4e-2025-02-14
overwrite `/etc/resolv.conf` and make it immutable is not necessary anymore.
`echo "nameserver 192.168.178.1" > /boot/resolv.conf`