new package tgt
[openwrt/svn-archive/archive.git] / net / tgt / files / etc / config / tgt
1 config target 1
2 option name 'iqn.2012-06.org.openwrt:target1'
3 option allow ALL
4
5 #config target 2
6 # option name 'iqn.2012-06.org.openwrt:t2'
7 # option allow 192.168.1.0/24
8
9
10 # all options are set to default, except for the device
11 # for all type and bstype values see tgtd(8)
12 # lun "name" is constructed as TGTID_LUN
13 #config lun 1_1
14 # option readonly 0
15 # option device /dev/sda
16 # option type disk
17 # option bstype rdwr
18 # option sync 0
19 # option direct 0
20
21
22 #config lun 2_1
23 # option readonly 0
24 # option device /mnt/iscsi.img
25
26 #config lun 2_2
27 # option device /dev/sdc
28
29 #config account
30 # option target 1
31 # option user "username1"
32 # option password "pass1"
33
34 #config account
35 # option target 2
36 # option user "user2"
37 # option password "pwd2"
38 # option outgoing 1