Aktualizovat ServerUbuntu.md

This commit is contained in:
David Hába 2024-12-15 03:41:20 +01:00
parent 118981271d
commit 425532980a

View File

@ -37,4 +37,17 @@
1. Nastavit autostart (pokud není) 1. Nastavit autostart (pokud není)
```shell ```shell
sudo systemctl enable qemu-guest-agent sudo systemctl enable qemu-guest-agent
```
## DNS
Zatím nevím, proč nefunguje korektně. Nastavím `/etc/resolv.conf` ručně.
bylo: `resolv.conf -> ../run/systemd/resolve/stub-resolv.conf`
```shell
sudo -i
rm -f /etc/resolv.conf
cat > /etc/resolv.conf << EOF
nameserver 192.168.88.101
nameserver 192.168.88.1
domain habad.eu
search habad.eu
EOF
``` ```