hypriot / device-init

Initialize a device on boot with user defined configuration
MIT License
70 stars 17 forks source link

Added extended network configuration and tests #40

Open dmednis opened 7 years ago

dmednis commented 7 years ago

Added the ability to configure network interfaces via device-init.yaml. Extended configuration includes setting a static IP address, netmask, gateway dns-nameservers, and wifi config. Refactored the current wifi configuration option to use the same code as the new network configuration. It should be considered to remove the old wifi configuration option as it is also possible to configure wifi via the new network configuration option. Added tests for the new functionality. This still needs documentation which I am going to add soon. This should solve #6 .

dmednis commented 7 years ago

CI seems to be failing due to the pry-byebug gem being incompatible with the ruby version in the docker image. If I remove the gem docker build does not fail and the tests pass.

xiaods commented 6 years ago

any update?