summaryrefslogtreecommitdiff
path: root/doc/iscsi-gen-initiatorname.8.template
Commit message (Collapse)AuthorAgeFilesLines
* Check for root in iscsi-gen-initiatornameLee Duncan2022-04-081-0/+6
| | | | The man page is also updated
* Use kernel initiatorname when setting local inameLee Duncan2022-04-071-5/+14
| | | | | | | | | | | Update the iscsi-gen-initatorname script to take its initiator name from the kernel command line, if present. Also, beef up and simplify the error checking. Error messages will now go to stderr, and it is now an error to overwrite the initiatorname file unless the "force" option is set. The man page was updated, as well.
* Make DB and ISCSIHOME directories configurable.Lee Duncan2022-03-251-0/+36
This commit adds two new top-level build options: one for the "home" directory for open-iscsi called "HOMEDIR", and one for the "database" directory, called "DBROOT". One can now override the defaults of "/etc/iscsi" for either or both of these directories on the make command line. The README and man pages are updated with details about these new options. Some Makefile cleanup/repair was done as well. Installation of the initiatorname.iscsi file, was moved out of the top-level Makefile into the etc subdirectory, and installation of man ages moved from the top-level Makefile to the doc subdirectory. Also, this fixes some issues from commit fd14dd8316b1 ("Clean p Makefile build system."), which incorrectly changed the DESTDIR ariable in the Makefiles. This current commit also fixes the top-level variable names for moving DBROOT and HOMEDIR.