How to block network settings in Cloud-Init at start VM?

To disable the network configuration in Cloud-Init, you need to create a file /etc/cloud/cloud.cfg.d/99-custom-networking.cfg and add the contents of network: {config: disabled}

To do this, you can execute the command

$ sudo echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-custom-networking.cfg
Рейтинг: 1 Star2 Stars3 Stars4 Stars5 Stars (1 оцінок, сер. 5.00)
Loading...