This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
настройка_сети_в_linux [2022/03/15 12:52] val |
настройка_сети_в_linux [2022/05/26 10:27] val [Файлы конфигурации Ubuntu >= 18] |
||
---|---|---|---|
Line 226: | Line 226: | ||
</code><code> | </code><code> | ||
# hostnamectl set-hostname ubuntu.corpX.un | # hostnamectl set-hostname ubuntu.corpX.un | ||
+ | |||
+ | Еще проще: | ||
+ | |||
+ | # apt purge cloud-init | ||
</code><code> | </code><code> | ||
# echo 'network: {config: disabled}' > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg | # echo 'network: {config: disabled}' > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg | ||
Line 376: | Line 380: | ||
==== bond ifupdown ==== | ==== bond ifupdown ==== | ||
<code> | <code> | ||
+ | # apt install ifenslave | ||
+ | |||
# cat /etc/network/interfaces | # cat /etc/network/interfaces | ||
</code><code> | </code><code> |