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:
parent
e6fe996613
commit
5fcfb353b3
@ -20,15 +20,7 @@ sub run {
|
|||||||
## ISCSI
|
## ISCSI
|
||||||
|
|
||||||
# start up iscsi target
|
# start up iscsi target
|
||||||
# different backing store for PowerPC and other arches
|
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";
|
||||||
# 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";
|
|
||||||
}
|
|
||||||
|
|
||||||
# open firewall port
|
# open firewall port
|
||||||
assert_script_run "firewall-cmd --add-service=iscsi-target";
|
assert_script_run "firewall-cmd --add-service=iscsi-target";
|
||||||
assert_script_run "systemctl restart tgtd.service";
|
assert_script_run "systemctl restart tgtd.service";
|
||||||
|
Loading…
Reference in New Issue
Block a user