Skip to content

Commit

Permalink
CA-333441 create directory for set-iscsi-initiator
Browse files Browse the repository at this point in the history
It appears that the directory structure for the set-iscsi-initiator script
was missing. The directory /var/lock/sm/iscsiadm was created.

Signed-off-by: Gheorghe Burac <gheorghe.burac@citrix.com>
  • Loading branch information
Gheorghe Burac committed Sep 23, 2020
1 parent 21dafdc commit ba92ca8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/set-iscsi-initiator
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ trap cleanup EXIT
trap ecleanup INT
trap ecleanup TERM

mkdir -p /var/lock/sm/iscsiadm

INITIATORFILE=/etc/iscsi/initiatorname.iscsi
TMPFILE=$TMPDIR/initiatorname.iscsi

Expand Down

0 comments on commit ba92ca8

Please sign in to comment.