]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: support open-iscsi >= 2.1.2
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 26 Sep 2022 21:14:18 +0000 (23:14 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 27 Sep 2022 11:24:32 +0000 (13:24 +0200)
commitd9e1cb288f9f2b76b281c163070a3083231b0792
tree16fe5829278c7aaf3ee7aa8c075da824a33daa27
parentdd51b0f952e29b128c9427480aeb19f3822af171
test: support open-iscsi >= 2.1.2

Since open-iscsi 2.1.2 [0] the initiator name should be generated via
a one-time service instead of distro package's post-install scripts.
However, some distros still use this approach even after this patch,
so prefer the already existing initiatorname.iscsi file if it exists.

[0] https://github.com/open-iscsi/open-iscsi/commit/f37d5b653f9f251845db3f29b1a3dcb90ec89731
test/test-functions