Use numerical node names

This commit is contained in:
Joshua Boniface 2018-09-23 23:29:52 -04:00
parent 2ea0b0b740
commit a1f4ba9c60
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class VXNetworkInstance():
self.ip_cidrnetmask, self.ip_cidrnetmask,
self.bridge_nic self.bridge_nic
)) ))
common.run_os_command('crm configure location lvnivip_{0} vnivip_{0} 100: test-dcr1'.format(self.description)) common.run_os_command('crm configure location lvnivip_{0} vnivip_{0} 100: 1'.format(self.description))
common.run_os_command('crm resource start vnivip_{0}'.format(self.description)) common.run_os_command('crm resource start vnivip_{0}'.format(self.description))
common.run_os_command('crm resource refresh'.format(self.description)) common.run_os_command('crm resource refresh'.format(self.description))