2025-02-16 11:09:01 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Connect NVMe-oF subsystems automatically during boot
|
|
|
|
ConditionPathExists=/etc/nvme/discovery.conf
|
2025-02-16 12:11:43 +01:00
|
|
|
After=network-online.target
|
2025-02-16 11:09:01 +01:00
|
|
|
Before=remote-fs-pre.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2025-02-16 12:11:43 +01:00
|
|
|
ExecStartPre=/sbin/modprobe nvme-fabrics
|
2025-02-16 11:09:01 +01:00
|
|
|
ExecStart=/usr/sbin/nvme connect-all
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|