sonic-buildimage/files/image_config/interfaces/init_interfaces
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
270 B
Plaintext

# Initial /etc/network/interface file for first boot
# Will be overwritten based on minigraph information by interfaces-config service
# The loopback network interface
auto lo
iface lo inet loopback
#
# The management network interface
auto eth0
iface eth0 inet dhcp