~smoser/curtin/trunk.bzr-dead

« back to all changes in this revision

Viewing changes to examples/tests/basic_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: sda-part1
46
 
        type: partition
47
 
        number: 1
48
 
        size: 2GB
49
 
        device: sda
50
 
      - id: sda-part1-fs1
51
 
        type: format
52
 
        fstype: ext4
53
 
        label: cloud-image1
54
 
        volume: sda-part1
55
 
      - id: sda-part1-fs1-mount0
56
 
        type: mount
57
 
        path: /mnt/iscsi1
58
 
        device: sda-part1-fs1
59
 
      - id: sdb
60
 
        type: disk
61
 
        path: iscsi:__RFC4173__
62
 
        name: iscsi_disk2
63
 
        ptable: msdos
64
 
        wipe: superblock
65
 
      - id: sdb-part1
66
 
        type: partition
67
 
        number: 1
68
 
        size: 3GB
69
 
        device: sdb
70
 
      - id: sdb-part1-fs1
71
 
        type: format
72
 
        fstype: ext4
73
 
        label: cloud-image2
74
 
        volume: sdb-part1
75
 
      - id: sdb-part1-fs1-mount0
76
 
        type: mount
77
 
        path: /mnt/iscsi2
78
 
        device: sdb-part1-fs1
79
 
      - id: sdc
80
 
        type: disk
81
 
        path: iscsi:__RFC4173__
82
 
        name: iscsi_disk3
83
 
        ptable: msdos
84
 
        wipe: superblock
85
 
      - id: sdc-part1
86
 
        type: partition
87
 
        number: 1
88
 
        size: 4GB
89
 
        device: sdc
90
 
      - id: sdc-part1-fs1
91
 
        type: format
92
 
        fstype: ext4
93
 
        label: cloud-image3
94
 
        volume: sdc-part1
95
 
      - id: sdc-part1-fs1-mount0
96
 
        type: mount
97
 
        path: /mnt/iscsi3
98
 
        device: sdc-part1-fs1
99
 
      - id: sdd
100
 
        type: disk
101
 
        path: iscsi:__RFC4173__
102
 
        name: iscsi_disk4
103
 
        ptable: msdos
104
 
        wipe: superblock
105
 
      - id: sdd-part1
106
 
        type: partition
107
 
        number: 1
108
 
        size: 5GB
109
 
        device: sdd
110
 
      - id: sdd-part1-fs1
111
 
        type: format
112
 
        fstype: ext4
113
 
        label: cloud-image4
114
 
        volume: sdd-part1
115
 
      - id: sdd-part1-fs1-mount0
116
 
        type: mount
117
 
        path: /mnt/iscsi4
118
 
        device: sdd-part1-fs1
119
 
network:
120
 
   version: 1
121
 
   config:
122
 
      - type: physical
123
 
        name: interface0
124
 
        mac_address: "52:54:00:12:34:00"
125
 
        subnets:
126
 
           - type: dhcp
127
 
write_files:
128
 
   f1:
129
 
      path: /mnt/iscsi1/testfile
130
 
      content: "test1"
131
 
      permissions: 0777
132
 
   f2:
133
 
      path: /mnt/iscsi2/testfile
134
 
      content: "test2"
135
 
      permissions: 0777
136
 
   f3:
137
 
      path: /mnt/iscsi3/testfile
138
 
      content: "test3"
139
 
      permissions: 0777
140
 
   f4:
141
 
      path: /mnt/iscsi4/testfile
142
 
      content: "test4"
143
 
      permissions: 0777