1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Revert "iscsi backing store not same disk for PowerPC"

previously required on f25 host with qemu 2.7.1-6
it is not needed anymore on f26 with qemu 2.9.0-5

This reverts commit 0eb15266117aae47f663297f5f332d480d8549b9.
This commit is contained in:
Guy Menanteau 2017-09-01 07:02:56 -04:00 committed by Michel Normand
parent e6fe996613
commit 5fcfb353b3

View File

@ -20,15 +20,7 @@ sub run {
## ISCSI
# start up iscsi target
# different backing store for PowerPC and other arches
# on PowerPC, the installation disk is set on /dev/vdb
# so the iscsi backing store must be the /dev/vda
if (get_var('OFW')) {
assert_script_run "printf '<target iqn.2016-06.local.domain:support.target1>\n backing-store /dev/vda\n incominguser test weakpassword\n</target>' > /etc/tgt/conf.d/openqa.conf";
} else {
assert_script_run "printf '<target iqn.2016-06.local.domain:support.target1>\n backing-store /dev/vdb\n incominguser test weakpassword\n</target>' > /etc/tgt/conf.d/openqa.conf";
}
assert_script_run "printf '<target iqn.2016-06.local.domain:support.target1>\n backing-store /dev/vdb\n incominguser test weakpassword\n</target>' > /etc/tgt/conf.d/openqa.conf";
# open firewall port
assert_script_run "firewall-cmd --add-service=iscsi-target";
assert_script_run "systemctl restart tgtd.service";