diff options
author | John DeNisco <jdenisco@cisco.com> | 2017-11-15 08:50:57 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-11-17 14:08:35 +0000 |
commit | ddecfb3d9f5960b69d964f9e870a6ded78a52f1f (patch) | |
tree | 02540cb4ffb55e81f02b0ff19604eed18c67380f /extras/vpp_config/scripts/vpp-config | |
parent | ad2ddb1c06f84625e4e5e5fe1748bbcc7df07e97 (diff) |
Add a non interactive mode
Change-Id: I2ebcb1acb43b4316e3dd48e83909d710dbef4e2f
Signed-off-by: John DeNisco <jdenisco@cisco.com>
Diffstat (limited to 'extras/vpp_config/scripts/vpp-config')
-rwxr-xr-x | extras/vpp_config/scripts/vpp-config | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/extras/vpp_config/scripts/vpp-config b/extras/vpp_config/scripts/vpp-config index 8f5314bca72..7cb27fc20e8 100755 --- a/extras/vpp_config/scripts/vpp-config +++ b/extras/vpp_config/scripts/vpp-config @@ -17,14 +17,6 @@ import os import sys -import vpp_config as vppcfg +import vpp_config as vpp -# Check for root -if not os.geteuid() == 0: - sys.exit('\nPlease run the VPP Configuration Utility as root.') - -# Setup -vppcfg.autoconfig_setup() - -# Main menu -vppcfg.autoconfig_main() +vpp.config_main() |