This unit is provided by:
Options
-
[Install]
-
WantedBy=systemd-remount-fs.service
-
-
[Service]
-
ExecStart=/usr/bin/sh -c 'echo "InitiatorName=`/usr/bin/iscsi-iname`" > /etc/iscsi/initiatorname.iscsi'
-
ExecStart=/usr/bin/sh -c 'echo "InitiatorName=`/usr/sbin/iscsi-iname`" > /etc/iscsi/initiatorname.iscsi'
-
ExecStart=/usr/sbin/iscsi-gen-initiatorname
-
RemainAfterExit=no
-
Type=oneshot
-
-
[Unit]
-
After=systemd-remount-fs.service
-
Before=iscsid.service
-
ConditionPathExists=!/etc/iscsi/initiatorname.iscsi
-
DefaultDependencies=no
-
Description=One time configuration for iscsi.service
-
RequiresMountsFor=/etc/iscsi
-
Additionnal notes
Nothing here.