This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
настройка_сети_в_linux [2022/04/01 12:03] val [bond ifupdown] |
настройка_сети_в_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 |