-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Milestone
Description
After installing the iso version of LXC, try to change the appliance IP address using confconsole. All attempts result in the error: "refusing to write to /etc/network/interfaces header not found: # UNCONFIGURED INTERFACES" The appliance has picked up an address via DHCP, but I would like to change it to a static IP.
# cat interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 0
bridge_maxwait 0
auto natbr0
iface natbr0 inet static
bridge_fd 0
bridge_maxwait 0
address 192.168.121.1
netmask 255.255.255.0
pre-up brctl addbr natbr0
post-up /etc/init.d/dnsmasq restart
post-down brctl delbr natbr0
Comparing to other appliances, the two lines below appear to be missing.
# UNCONFIGURED INTERFACES
# remove the above line if you edit this file
Adding the two lines restores normal operation.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.