~curtin-dev/curtin/trunk

« back to all changes in this revision

Viewing changes to examples/tests/mdadm_iscsi.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
 
storage:
2
 
   version: 1
3
 
   config:
4
 
      - id: vdb
5
 
        type: disk
6
 
        ptable: msdos
7
 
        model: QEMU HARDDISK
8
 
        path: /dev/vdb
9
 
        name: main_disk
10
 
        wipe: superblock
11
 
        grub_device: true
12
 
      - id: vdb1
13
 
        type: partition
14
 
        number: 1
15
 
        size: 3GB
16
 
        device: vdb
17
 
        flag: boot
18
 
      - id: vdb2
19
 
        type: partition
20
 
        number: 2
21
 
        size: 1GB
22
 
        device: vdb
23
 
      - id: vdb1_root
24
 
        type: format
25
 
        fstype: ext4
26
 
        volume: vdb1
27
 
      - id: vdb2_home
28
 
        type: format
29
 
        fstype: ext4
30
 
        volume: vdb2
31
 
      - id: vdb1_mount
32
 
        type: mount
33
 
        path: /
34
 
        device: vdb1_root
35
 
      - id: vdb2_mount
36
 
        type: mount
37
 
        path: /home
38
 
        device: vdb2_home
39
 
      - id: sda
40
 
        type: disk
41
 
        path: iscsi:__RFC4173__
42
 
        name: iscsi_disk1
43
 
        ptable: msdos
44
 
        wipe: superblock
45
 
      - id: sdb
46
 
        type: disk
47
 
        path: iscsi:__RFC4173__
48
 
        name: iscsi_disk2
49
 
        ptable: msdos
50
 
        wipe: superblock
51
 
      - id: sdc
52
 
        type: disk
53
 
        path: iscsi:__RFC4173__
54
 
        name: iscsi_disk3
55
 
        ptable: msdos
56
 
        wipe: superblock
57
 
      - devices:
58
 
        - sda
59
 
        - sdb
60
 
        - sdc
61
 
        id: md0
62
 
        name: md0
63
 
        raidlevel: 5
64
 
        spare_devices: []
65
 
        type: raid
66
 
      - fstype: ext4
67
 
        id: md0_format
68
 
        label: ''
69
 
        type: format
70
 
        volume: md0
71
 
      - device: md0_format
72
 
        id: md0_mount
73
 
        path: /mnt/iscsi1
74
 
        type: mount
75
 
network:
76
 
   version: 1
77
 
   config:
78
 
      - type: physical
79
 
        name: interface0
80
 
        mac_address: "52:54:00:12:34:00"
81
 
        subnets:
82
 
           - type: dhcp
83
 
write_files:
84
 
   f1:
85
 
      path: /mnt/iscsi1/testfile
86
 
      content: "test1"
87
 
      permissions: 0777