Skip to content

Commit 7a16e02

Browse files
taoyl-msShuotian Cheng
authored and
Shuotian Cheng
committed
[cfggen]: Fix the path to sonic-cfggen due to the path change in #388 (#416)
The path moved from /usr/bin/ to /usr/local/bin due to the installation change from deb to whl
1 parent 7b7a616 commit 7a16e02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/build_templates/docker_image_ctl.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
# Obtain our platform and HWSKU as we will mount directories with these names in each docker
4-
PLATFORM=`/usr/bin/sonic-cfggen -v platform`
5-
HWSKU=`/usr/bin/sonic-cfggen -m /etc/sonic/minigraph.xml -v minigraph_hwsku`
4+
PLATFORM=`sonic-cfggen -v platform`
5+
HWSKU=`sonic-cfggen -m /etc/sonic/minigraph.xml -v minigraph_hwsku`
66

77
start() {
88
docker inspect --type container {{docker_container_name}} &>/dev/null

0 commit comments

Comments
 (0)