LINBIT / linstor-gateway

Manages Highly-Available iSCSI targets, NVMe-oF targets, and NFS exports via LINSTOR
GNU General Public License v3.0
28 stars 6 forks source link

How to set the network interface for drbd-reactor when adding iscsi #22

Open mxsavchenko opened 1 year ago

mxsavchenko commented 1 year ago

By default, the network adapter is eth0, but i have iface ens160. How to add a variable correctly OCF_RESKEY_nic=ens160?

chrboe commented 10 months ago

This is currently not exposed via linstor-gateway. The "escape hatch" is to create a resource via linstor-gateway, and then use linstor file modify ... to edit the drbd-reactor configuration file. I realize that that is not a proper solution.

We may add a flag to pass arbitrary arguments through to the resource agent when creating a resource...