Change interface from DHCP back to static


I d’ like to change the eth0 interface back to a static address.
If i try to change the address with setting the static one it wont work.

i cannot commit the change.

Can u help me?

cheers David

You will need to remove dhcp before commiting
delete interfaces ethernet eth0 address dhcp