Static ip customize debian system, ip does not take effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
For debian, the network configure file was named /etc/network/
but in the /etc/network/
This will lead to static IP customization on debian failed. The new static IP will be added to the 50-cloud-init file, but it will not show the same IP address when using 'ifconfig' command.
It seems it needs to change the "/etc/network/
https:/ /github. com/canonical/ cloud-init/ blob/main/ cloudinit/ sources/ helpers/ vmware/ imc/config_ nic.py# L277 is the line that should be changed.
See https:/ /github. com/TheRealFalc on/cloud- init/commit/ a6faf3acef02bd8 cd4d46ac9efeebf 24b3f21d81 . Stock Debian installs use a regex that doesn't include .cfg files.