~curtin-dev/curtin/trunk

« back to all changes in this revision

Viewing changes to examples/network-vlan.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: curtin net-meta custom
4
 
 
5
 
# YAML example of a network config.
6
 
network:
7
 
    version: 1
8
 
    config:
9
 
        # Physical interfaces.
10
 
        - type: physical
11
 
          name: eth0
12
 
          mac_address: "c0:d6:9f:2c:e8:80"
13
 
        # VLAN interface.
14
 
        - type: vlan
15
 
          name: eth0.101
16
 
          vlan_link: eth0
17
 
          vlan_id: 101
18
 
          mtu: 1500
19
 
          subnets:
20
 
            - type: static
21
 
              address: 192.168.0.2/24
22
 
              gateway: 192.168.0.1
23
 
              dns_nameservers:
24
 
                - 192.168.0.10