File: ethernet-dhcp.xml

package info (click to toggle)
netcf 1%3A0.2.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,416 kB
  • ctags: 3,925
  • sloc: ansic: 38,657; sh: 13,377; xml: 831; makefile: 219
file content (17 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- A sketch of how the ethernet-static.xml example would be
     turned into actual files.

     The XML notation is close to what would turn up in a Augeas tree -->
<forest>
  <tree path="/files/etc/network/interfaces">
    <array label="iface">
      <element key="eth0">
	<node label="family" value="inet"/>
	<node label="method" value="dhcp"/>
	<node label="hwaddress" value="ether aa:bb:cc:dd:ee:ff"/>
	<node label="mtu" value="1492"/>
<!--XXX	<node label="PEERDNS" value="no"/>-->
      </element>
    </array>
  </tree>
</forest>