Add nfs support for vagrant nodes.

This will allow to use NFS volumes on those nodes
This commit is contained in:
Tolik Litovsky 2016-05-10 15:17:35 +03:00
parent dee24333ff
commit a5bce254de
2 changed files with 9 additions and 0 deletions

View File

@ -79,6 +79,7 @@ else
fi
install-salt
add-volume-support
run-salt

View File

@ -25,6 +25,14 @@ function prepare-package-manager() {
dnf update -y dnf dnf-plugins-core
}
function add-volume-support() {
echo "Adding nfs volume support"
# we need nfs-utils to support volumes
dnf install -y nfs-utils
}
function write-salt-config() {
local role="$1"