Iscsiadm wrapper

When I first started to use icsci on RHEL5, isciadm seemed like a very complicated command. This turned out not to be the case, but the syntax is a bit verbose and can be hard to remember if you don’t use it frequently. I put together a wrapper script to make it easier to remember.

$ iscsi help
You must provide the operation and, if applicable, the target
iscsi discovery
iscsi session
iscsi login
iscsi logout
iscsi rescan
iscsi delete

You can find the code here on github.