Hi Ulrich, crmsh already could do this completion:)
Regards, Xin ________________________________ From: Users <users-boun...@clusterlabs.org> on behalf of Ulrich Windl <ulrich.wi...@rz.uni-regensburg.de> Sent: Monday, December 14, 2020 6:51 PM To: users@clusterlabs.org <users@clusterlabs.org> Subject: [ClusterLabs] Q: crm resource start/stop completion Hi! I wonder: Would it be difficult and would it make sense to change crm shell to: Complete "resource start " with only those resources that aren't running (per role) already Complete "resource stopt " with only those resources that are running (per role) I came to this after seeing "3 disabled resources" in crm_mon output. As crm_mon itself cannot display just those disabled resources (yet? ;-)), I used crm shell... Regards, Ulrich _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/