提交 b285c40f 编写于 作者: X Xu Han

drive_mirror: setup iscsi target on localhost

Signed-off-by: NXu Han <xuhan@redhat.com>
上级 b546871c
......@@ -49,7 +49,6 @@
export_options = "rw,no_root_squash,async"
setup_local_nfs = yes
boot_target_image = yes
start_firewall_cmd = "iptables -A INPUT -p tcp -d 127.0.0.1 --dport 2049 -j DROP"
- on_iscsi:
image_format_target = raw
# target_image will ingore, target_image will generate automatically
......@@ -58,10 +57,10 @@
host_setup_flag_target = 2
boot_target_image = yes
# Please replace below iscsi connection params before start your testing
portal_ip_target = "192.168.1.2"
emulated_image_target = images/iscsi-storage.raw
portal_ip_target = "127.0.0.1"
initiator_target = "iqn.2010-07.test.org:kvmautotest"
target_target = "iqn.2001-05.com.equallogic:0-8a0906-db31f7d03-470263b05654c204-kvm-test"
start_firewall_cmd = "iptables -A INPUT -p tcp -d ${portal_ip_target} --dport 3260 -j DROP"
# End
variants:
- simple_test:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册