sonic-buildimage/files/image_config/interfaces/interfaces-config.service
Taoyu Li ea372cc7c1 Add get_graph service to fetch minigraph automatically (#288)
- Add a functionality to get SNMP community from DHCP (option 224)
- Add a functionality to get minigraph from http service instead of using default minigraph
  - The url for graph service is passed through DHCP option 225
  - This feature is by default disabled. Modify rule/config to enable it on build time, or modify /etc/sonic/graph_service_url on run time.
- Fix a bug that getting hostname from DHCP is not working correctly
2017-02-17 13:47:01 -08:00

12 lines
178 B
Desktop File

[Unit]
Description=Update interfaces configuration
Before=database.service
[Service]
Type=oneshot
ExecStart=/usr/bin/interfaces-config.sh
[Install]
WantedBy=multi-user.target