summaryrefslogtreecommitdiffstats
path: root/extras/vpp_config/vpp_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vpp_config/vpp_config.py')
-rwxr-xr-xextras/vpp_config/vpp_config.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/extras/vpp_config/vpp_config.py b/extras/vpp_config/vpp_config.py
index 75423b84ad1..145bf4ea03c 100755
--- a/extras/vpp_config/vpp_config.py
+++ b/extras/vpp_config/vpp_config.py
@@ -427,8 +427,14 @@ def autoconfig_install():
question = "Do you want to install VPP [Y/n]? "
answer = autoconfig_yn(question, 'y')
if answer == 'y':
+ question = "Do you want to install the release version [Y/n]? "
+ answer = autoconfig_yn(question, 'y')
+ if answer == 'y':
+ branch = 'release'
+ else:
+ branch = 'master'
logger.setLevel(logging.INFO)
- vutil.install_vpp(node)
+ vutil.install_vpp(node, branch)
# Set the logging level back
logger.setLevel(logging.ERROR)