You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any non master node in a Fireware cluster has a prompt containing the <non-master> text.
E.g my non master node has this prompt in this moment:
[FAULT]WG<non-master>>
The configured Regex in firewareos.rb: ^\[?\w*\]?\w*?(<\w*>)?(#|>)\s*$
cannot capture this prompt because of the dash into the <non-master> section.
Changing the Regex to
^\[?\w*\]?\w*?(<[\w-]*>)?(#|>)\s*$
seems to solve the issue.
I put this regex into a modified firewareos.rb file in the config/model directory to override the default one, and it works for the master and non-master node of the cluster.
Regards
Lorenzo
The text was updated successfully, but these errors were encountered:
* Update firewareos.rb
Changed regex for prompt to accept the dash character and match with the <non-master> nodes of a fireware cluster.
Fixes#2779
* Update CHANGELOG.md
* Update firewareos.rb
Changed regex for prompt to accept the dash character and match with the <non-master> nodes of a fireware cluster.
Fixesytti#2779
* Update CHANGELOG.md
This is related to issue #1063
Any non master node in a Fireware cluster has a prompt containing the <non-master> text.
E.g my non master node has this prompt in this moment:
[FAULT]WG<non-master>>
The configured Regex in firewareos.rb:
^\[?\w*\]?\w*?(<\w*>)?(#|>)\s*$
cannot capture this prompt because of the dash into the <non-master> section.
Changing the Regex to
^\[?\w*\]?\w*?(<[\w-]*>)?(#|>)\s*$
seems to solve the issue.
I put this regex into a modified firewareos.rb file in the config/model directory to override the default one, and it works for the master and non-master node of the cluster.
Regards
Lorenzo
The text was updated successfully, but these errors were encountered: