File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ topology:
1212 # as the files in the plugins directory will have be owned by srlinux user and group
1313 - plugin/show-frontpanel.py:/tmp/show-frontpanel.py
1414 # mount frontpanel binary
15- - build/frontpanel:/usr/local/bin /frontpanel
15+ - build/frontpanel:/home/admin /frontpanel
1616 exec :
1717 - ln -s /tmp/show-frontpanel.py /etc/opt/srlinux/cli/plugins/show-frontpanel.py
1818
Original file line number Diff line number Diff line change 1313from srlinux .mgmt .cli .cli_state import CliState
1414from srlinux .syntax import Syntax
1515
16+ frontpanel_bin_path = "/home/admin/frontpanel"
17+
1618
1719class Plugin (CliPlugin ):
1820 def _image_protocol (self ):
@@ -113,7 +115,7 @@ def _print(
113115
114116 protocol = self ._image_protocol ()
115117 cmd = [
116- "/usr/local/bin/frontpanel" ,
118+ frontpanel_bin_path ,
117119 "-image" ,
118120 chassis_type ,
119121 "-image-protocol" ,
You can’t perform that action at this time.
0 commit comments