Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
krnowak committed Sep 11, 2024
1 parent 0938194 commit 6680733
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kola/tests/packages/openiscsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var (
clientScript1 = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
sudo systemctl start iscsid
Expand All @@ -36,6 +37,7 @@ exit 1
serverScript = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
initiator=${1}
Expand All @@ -52,6 +54,9 @@ set attribute generate_node_acls=1
acls/ create ${initiator}
EOF
echo '/shared/init.script:' >&2
cat /shared/init.script >&2
docker_args=(
--privileged
--network host
Expand All @@ -69,6 +74,7 @@ docker run "${docker_args[@]}" ghcr.io/krnowak/targetcli-fb bash -c 'targetcli <
clientScript2 = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
host_ip=${1}
Expand Down

0 comments on commit 6680733

Please sign in to comment.