Skip to content

Commit

Permalink
set the dev name
Browse files Browse the repository at this point in the history
  • Loading branch information
sabandi committed Aug 25, 2021
1 parent d3c7c84 commit 39680ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/avicontroller.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
container=avicontroller
logfile="/var/log/${container}.log"

# The following value is the management device that the controller will use.
# This interface is managed by the service and is used when working with clusters
# to properly shut down the sub-interface when a new master is chosen.
AVICONTROLLER_DEV_NAME="{{ con_dev_name }}"

write_log() {
echo $1 2>&1 | tee -a ${logfile}
}
Expand Down

0 comments on commit 39680ea

Please sign in to comment.