This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
настройка_сети_в_linux [2023/06/07 09:02] val [Общие файлы конфигурации] |
настройка_сети_в_linux [2023/06/14 10:19] val [Файлы конфигурации Ubuntu >= 18] |
||
---|---|---|---|
Line 278: | Line 278: | ||
</code><code> | </code><code> | ||
# systemctl restart systemd-resolved | # systemctl restart systemd-resolved | ||
+ | </code> | ||
+ | |||
+ | === Без systemd-resolved === | ||
+ | <code> | ||
+ | # systemctl disable systemd-resolved | ||
+ | |||
+ | # systemctl stop systemd-resolved | ||
+ | |||
+ | # rm /etc/resolv.conf | ||
</code> | </code> | ||
Line 291: | Line 300: | ||
ubuntu18# rm /etc/netplan/50-cloud-init.yaml | ubuntu18# rm /etc/netplan/50-cloud-init.yaml | ||
- | ubuntu20# rm /etc/netplan/00-installer-config.yaml | + | ubuntu20/22# rm /etc/netplan/00-installer-config.yaml |
</code> | </code> | ||