~smoser/curtin/trunk.bzr-dead

« back to all changes in this revision

Viewing changes to examples/network-iscsiroot.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:
2
 
    version: 1
3
 
    config:
4
 
        # iface used for iscsi root, set control to manual
5
 
        # to prevent networking restarts from up/down'ing the
6
 
        # interface
7
 
        - type: physical
8
 
          name: interface0
9
 
          mac_address: "c0:d6:9f:2c:e8:80"
10
 
          subnets:
11
 
              - type: dhcp4
12
 
                control: manual
13
 
        # control: auto this is the default if control isn't present
14
 
        - type: physical
15
 
          name: interface1
16
 
          mtu: 1492
17
 
          mac_address: "aa:d6:9f:2c:e8:80"
18
 
          subnets:
19
 
              - type: static
20
 
                address: 192.168.14.2/24
21
 
                gateway: 192.168.14.1
22
 
              - type: static
23
 
                address: 192.168.14.4/24
24
 
        # this interface may be hotplugged
25
 
        # and we want to auto configure this 
26
 
        # when present
27
 
        - type: physical
28
 
          name: interface2
29
 
          mac_address: "cf:d6:af:48:e8:80"
30
 
          subnets:
31
 
              - type: static
32
 
                control: hotplug
33
 
                address: 10.11.12.13/22
34
 
                gateway: 10.11.12.1
35