eventscripts: Rework the iSCSI eventscript
commit0b69785eb2bd7d3f29e8ea409e5ca5437234ffaf
authorMartin Schwenke <martin@meltin.net>
Thu, 17 Oct 2013 05:44:24 +0000 (17 16:44 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:05 +0000 (22 14:34 +1100)
tree11eef23bbca6b351b9adba5927aefae65b2592ad
parent04c31bf50d6d76dc1a6fecf6b6d5774fc28ded07
eventscripts: Rework the iSCSI eventscript

* It should run on "ipreallocated" instead of "recovered"
* Variable name NODE -> ip since that's what it is
* Simplify some logic

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 45e2bc66abf9fcfeadcc279a656ed7fd1838920a)
ctdb/config/events.d/70.iscsi