| 1 |
#!/bin/bash |
| 2 |
# Copyright 2010-2012 Thomas Schoebel-Theuer / 1&1 Internet AG |
| 3 |
# |
| 4 |
# Copying and distribution of this file, with or without modification, |
| 5 |
# are permitted in any medium without royalty provided the copyright |
| 6 |
# notice and this notice are preserved. This file is offered as-is, |
| 7 |
# without any warranty. |
| 8 |
|
| 9 |
##################################################################### |
| 10 |
|
| 11 |
## defaults for module iscsi_target_iet |
| 12 |
## |
| 13 |
## Automatic setup of iet (of course, it must be installed) |
| 14 |
|
| 15 |
## enable_iscsi_target_iet |
| 16 |
## |
| 17 |
## Set to 0 or 1. Enable / disable this module. |
| 18 |
|
| 19 |
enable_iscsi_target_iet=0 |
| 20 |
|
| 21 |
## iscsi_target and iscsi_ip |
| 22 |
## |
| 23 |
## Host where iet should be configuered. |
| 24 |
## |
| 25 |
## IMPORTANT! |
| 26 |
## |
| 27 |
## When you also use the module iscsi_initiator (which is often the case), |
| 28 |
## you will usually configure $iscsi_target and $iscsi_ip _there_, not here. |
| 29 |
## |
| 30 |
## In order to avoid any mess by doubly overwriting |
| 31 |
## these variables, they are commented out here. |
| 32 |
## However, you may override them in your own *.conf files when necessary. |
| 33 |
|
| 34 |
#iscsi_target="myserver" |
| 35 |
#iscsi_ip="" |
| 36 |
|
| 37 |
## iqn_base |
| 38 |
## |
| 39 |
## base name for automatic creation of iSCSI IQN identifiers. |
| 40 |
## |
| 41 |
## This module will automatically create IQNs for you, by taking |
| 42 |
## this variable and appending device names (where slashes are |
| 43 |
## substituted by underscores). |
| 44 |
## When combined with module iscsi_initiator, you will not even |
| 45 |
## have to mess with indidvidual IQN names, since the initiators |
| 46 |
## will automatically "know" them. |
| 47 |
|
| 48 |
iqn_base="iqn.2000-01.info.test:test" |
| 49 |
|
| 50 |
## replay_host_list and replay_device_list |
| 51 |
## |
| 52 |
## IMPORTANT! |
| 53 |
## |
| 54 |
## These variables are usually configured in the main module, or in |
| 55 |
## your own *.conf overrides. |
| 56 |
## |
| 57 |
## The MEANING of devices changes, as soon as you enable this module: |
| 58 |
## Now the device names are referring to devices on the $iscsi_ip server! |
| 59 |
## |
| 60 |
## Don't mess that up. |
| 61 |
## |
| 62 |
## BEWARE: cartesian combinations of $replay_host_list with $replay_host_list |
| 63 |
## will continue to take place. |
| 64 |
## |
| 65 |
## Thus, it is strongly recommended to use the syntax |
| 66 |
## "hostname:devicename" as documented in default-main.conf |
| 67 |
## in order to avoid re-using the same device twice (by accident). |