1 # Path to Linux kernel source. Prior to running a "cut_X" script, the kernel
2 # should be built, with modules installed (or symlinked) under
3 # /lib/modules/<kernel_version>
5 # e.g. KERNEL_SRC="/home/me/linux"
8 # If specified, this parameter defines the path that Dracut should use to
9 # obtain compiled kernel modules. If left blank, Dracut will use its default
10 # (e.g. /lib/modules) search path.
11 # A value of "${KERNEL_SRC}/mods" makes sense when used alongside
12 # "INSTALL_MOD_PATH=./mods make modules_install" during kernel compilation.
13 KERNEL_INSTALL_MOD_PATH="${KERNEL_SRC}/mods"
15 # bridge device provisioned by br_setup.sh
19 # If specified, a physical network interface to be connected to the bridge.
20 # This should only be necessary if you wish to connect to the rapido VMs from a
25 # if specified, an address to configure for the bridge device
26 BR_ADDR="192.168.155.1/24"
28 # if specified, start a dhcp server, listening on $BR_DEV
29 # e.g. BR_DHCP_SRV_RANGE="192.168.155.10,192.168.155.20,12h"
32 # Tap VM network device owner
36 # extra qemu-kvm arguments to append for both VMs:
37 # "-nographic" sees the emulated serial port redirected to the invoking console.
38 # "-display none -daemonize" can be used to run VMs in the background, without
41 # e.g. QEMU_EXTRA_ARGS="-nographic -drive file=/dev/sdz,if=virtio,cache=none,format=raw,index=0"
42 # e.g. QEMU_EXTRA_ARGS="-nographic -gdb tcp::1234"
43 QEMU_EXTRA_ARGS="-nographic"
45 # kernel modules or files for which dynamic debug should be enabled
46 # e.g. DYN_DEBUG_MODULES="rbd libceph"
47 # e.g. DYN_DEBUG_FILES="drivers/block/rbd.c"
51 ######### First VM #########
52 # Tap tunnel interface provisioned by br_setup.sh, and used by vm.sh
55 # MAC address assigned to the VM
56 # e.g. MAC_ADDR1="b8:ac:24:45:c5:01"
59 # When set to "1", use DHCP to obtain IP and hostname.
62 # IP address assigned to the VM during boot
63 IP_ADDR1="192.168.155.101"
65 # Static hostname assigned to the VM
67 #############################
69 ######### Second VM #########
70 # Tap tunnel interface provisioned by br_setup.sh, and used by vm.sh
73 # MAC address assigned to the VM
74 # e.g. MAC_ADDR2="b8:ac:24:45:c5:02"
77 # When set to "1", use DHCP to obtain IP and hostname.
80 # Static IP address assigned to the VM during boot
81 IP_ADDR2="192.168.155.102"
83 # Static hostname assigned to the VM
85 #############################
87 ##### Ceph globals #####
88 # Path to src directory within Ceph source repository. Only required if a Ceph
89 # specific Cut script will be run. vstart.sh should be run prior to Cut.
90 # If not specified, then the Ceph config, keyring and binaries will be obtained
91 # from the local system.
93 # e.g. CEPH_SRC="/home/me/ceph/src"
96 # user for Ceph authentication. Secret obtained from keyring file.
97 # The default "admin" user is created by vstart.sh.
100 # monitor name used to obtain the mon_addr from ceph.conf [mon.$name], otherwise
101 # fallback to mon_host in the [global] section. The default below corresponds to
102 # the first vstart.sh deployed monitor.
105 # The RBD pool and image to expose via LIO/tcmu iSCSI, loopback fabric, or for
106 # rbd_autorun.sh to map as a local device. This image must be created prior
107 # to booting the test VM.
109 CEPH_RBD_IMAGE="iscsi_test"
110 CEPH_RBD_IMAGE_MB="4096"
111 ###########################
113 ####### lio_local_autorun, lio_rbd_autorun and rbd_autorun #######
114 # IQN for the iSCSI target configured by lio_*_autorun.sh
115 TARGET_IQN="iqn.2003-01.org.linux-iscsi:rapido"
117 # List of initiator IQNs granted full access to the lio_*_autorun.sh iSCSI
118 # target. Defaults below correspond to the libiscsi test utility.
119 INITIATOR_IQNS="iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test \
120 iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test-2"
121 ###########################
123 ####### fstests_*_autorun.sh #######
124 # If defined, run the following command from within the fstests source directory
125 # following VM boot-up.
126 # e.g. FSTESTS_AUTORUN_CMD="./check -g auto && shutdown"
127 #FSTESTS_AUTORUN_CMD=""
128 #################################
130 ######## fstests_cifs_autorun.sh ########
131 # SMB/CIFS server and authentication details, used to mount the test share.
132 # e.g. CIFS_SERVER="smbserver.example.com"
134 # e.g. CIFS_SHARE="myshare"
136 # e.g. CIFS_DOMAIN="EXAMPLE"
138 # e.g. CIFS_USER="me"
140 # e.g. CIFS_PW="password"
142 # e.g. CIFS_MOUNT_OPTS="vers=3.0"
144 #################################
146 ######## cut_fstests_*.sh #########
147 # FSTESTS_SRC should correspond to a checkout and build of the xfstests source
148 # available at https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
149 # e.g. FSTESTS_SRC="/home/me/xfstests-dev"
151 ##################################
153 ####### blktests_*_autorun.sh #######
154 # If defined, run the following command from within the blktests source directory
155 # following VM boot-up.
156 # e.g. BLKTESTS_AUTORUN_CMD="./check && shutdown"
157 #BLKTESTS_AUTORUN_CMD=""
158 #################################
160 ######## cut_blktests_*.sh #########
161 # BLKTESTS_SRC should correspond to a checkout and build of the blktests source
162 # available at https://github.com/osandov/blktests.git
163 # e.g. BLKTESTS_SRC="/home/me/blktests"
165 ##################################
167 ######## cut_usb_rbd.sh #########
168 # RBD_USB_SRC should correspond to a checkout and build of
169 # https://github.com/ddiss/rbd-usb.
170 # e.g. RBD_USB_SRC="/home/me/rbd-usb"
172 #################################
174 ######## cut_tcmu_*.sh ########
175 # TCMU_RUNNER_SRC should correspond to a checkout and build of
176 # https://github.com/open-iscsi/tcmu-runner
177 # e.g. TCMU_RUNNER_SRC="/home/me/tcmu-runner"
179 #################################
181 ###### dropbear_autorun.sh ######
182 # public ssh key to add to Dropbear's authorized_keys file
183 #SSH_AUTHORIZED_KEY=""
184 #################################