Allow use of /etc/os-release file 96/8696/4
authorMarco Varlese <marco.varlese@suse.com>
Fri, 6 Oct 2017 13:07:08 +0000 (15:07 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Mon, 9 Oct 2017 02:41:01 +0000 (02:41 +0000)
commitc2e63feb6209ef504753fe2c975cf61b1c31b5cf
tree3e7d73fd78cd195c8e5d7c43d4c51a1d8707e83e
parente9aebf9db548b940c77f7c5826a1260d1931e75d
Allow use of /etc/os-release file

The top-level Makefile in VPP already uses the file /etc/os-release to
recognize which OS the build is being performed on.
The scripts for vagrant images instead were still using different files
for different distros and adding a new distro to be supported causes
issues with the extra-logic to deal with it.
This patch aligns the vagrant scripts to use the same approach followed
by the top-level Makefile and simplifies the steps to identify / update
the OS and build / run VPP.

Change-Id: I539f4a7c27b3fef70ed1c12b0276049bc47dc289
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
extras/vagrant/Vagrantfile
extras/vagrant/build.sh
extras/vagrant/run.sh
extras/vagrant/update.sh
src/m4/ax_vpp_find_jdk8.m4