add static routes definition
Description
Right now we have some sad static routes, that we have to add manually after reboot. We should add option to add persistent static routes.
Proposal
-
networking_routes
:network
via
device
Example:
networking_routes:
- network: "192.168.0.0/24"
via: "10.0.0.7"
device: "eth7"
This configuration will add one static route similar to command:
ip route add 192.168.0.0/24 via 10.0.0.7 dev eth7