vagrant: Fix the "validate before bringup" Kconfig option
PATCH 1/1 vagrant: Fix the "validate before bringup" Kconfig option
Checking either box selects both, which is unexpected behavior.
Fixes bbe7145e2452 ("vagrant: add Vagrantfile validation step")
Signed-off-by Chuck Lever <[email protected]>
--- scripts/bringup_vagrant.sh | 2 +- vagrant/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Posting for review in case some has a different preferred way of fixing this minor issue.
scripts/bringup_vagrant.sh +1 -1
@@ -88,7 +88,7 @@ if [[ "$CONFIG_VAGRANT_BOX_UPDATE_ON_BRINGUP" == "y" ]]; then vagrant box update fi fi -if [[ "$CONFIG_VAGRANT_BOX_UPDATE_ON_BRINGUP" == "y" ]]; then +if [[ "$CONFIG_VAGRANT_VALIDATE_BEFORE_BRINGUP" == "y" ]]; then vagrant validate if [[ $? -ne 0 ]]; then echo "kdevops: Failed to validate Vagrantfile, stopping here"
vagrant/Kconfig +1 -1
@@ -239,7 +239,7 @@ config VAGRANT_BOX_UPDATE_ON_BRINGUP manually by the typical distro means to update itself. For example on Debian testing that's "apt-get update && apt-get dist-upgrade". -config VAGRANT_BOX_UPDATE_ON_BRINGUP +config VAGRANT_VALIDATE_BEFORE_BRINGUP bool "Validate Vagrantfile prior to bringup" default y help
Signature · 1 line
2.44.0