~curtin-dev/curtin/trunk

« back to all changes in this revision

Viewing changes to examples/network-simple.yaml

  • Committer: Scott Moser
  • Date: 2017-12-20 17:33:03 UTC
  • Revision ID: smoser@ubuntu.com-20171220173303-29gha5qb8wpqrd40
README: Mention move of revision control to git.

curtin development has moved its revision control to git.
It is available at
  https://code.launchpad.net/curtin

Clone with
  git clone https://git.launchpad.net/curtin
or
  git clone git+ssh://git.launchpad.net/curtin

For more information see
  http://curtin.readthedocs.io/en/latest/topics/development.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
network_commands:
2
 
 builtin: null
3
 
 10_network:
4
 
    - curtin
5
 
    - net-meta
6
 
    - custom
7
 
 
8
 
# YAML example of a simple network config
9
 
network:
10
 
    version: 1
11
 
    config:
12
 
        # Physical interfaces.
13
 
        - type: physical
14
 
          name: eth0
15
 
          mac_address: "c0:d6:9f:2c:e8:80"
16
 
          subnets:
17
 
              - type: dhcp4
18
 
        - type: physical
19
 
          name: eth1
20
 
          mtu: 1492
21
 
          mac_address: "aa:d6:9f:2c:e8:80"
22
 
          subnets:
23
 
              - type: static
24
 
                address: 192.168.14.2/24
25
 
                gateway: 192.168.14.1
26
 
              - type: static
27
 
                address: 192.168.14.4/24
28
 
        - type: physical
29
 
          name: eth2
30
 
          mac_address: "cf:d6:af:48:e8:80"