Skip to content

Commit

Permalink
[cfggen]: Fix the path to sonic-cfggen due to the path change in #388 (
Browse files Browse the repository at this point in the history
…#416)

The path moved from /usr/bin/ to /usr/local/bin due to the installation change from deb to whl
  • Loading branch information
taoyl-ms authored and Shuotian Cheng committed Mar 20, 2017
1 parent 7b7a616 commit 7a16e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/build_templates/docker_image_ctl.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

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

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

0 comments on commit 7a16e02

Please sign in to comment.