It would be great if you would provide some working sample how a static IP could be configured.
Btw. I do not get why you can setup wifi dns and so on quite easily and advice users for a simple static IP to write their own config.
I think this is the best solution at the moment.
https://github.com/rancher/k3os/issues/68#issuecomment-492089070
I use this method in the config.yaml file, it works well and it's way more readable :
write_files:
- path: /var/lib/connman/default.config
content: |-
[service_eth0]
Type=ethernet
IPv4=192.168.122.10/255.255.255.0/192.168.122.1
IPv6=off
Nameservers=192.168.122.1
However, I use this in a VM with only one interface, I didn't test how it goes with multiple interface. I use this documentation to configure it btw : https://manpages.debian.org/stretch/connman/connman-service.config.5.en.html
I didn't test how it goes with multiple interface
Works well, just duplicate and give a unique name (service_eth1 for example) but you have to specific the interface MAC with MAC=xx:xx:xx:xx:xx:xx or it just applies the last one to all the interfaces.
Thanks!! Your example got me up and running!
Most helpful comment
I use this method in the
config.yamlfile, it works well and it's way more readable :However, I use this in a VM with only one interface, I didn't test how it goes with multiple interface. I use this documentation to configure it btw : https://manpages.debian.org/stretch/connman/connman-service.config.5.en.html