From a5bce254de5bab1fa828580fe3effca93672196b Mon Sep 17 00:00:00 2001 From: Tolik Litovsky Date: Tue, 10 May 2016 15:17:35 +0300 Subject: [PATCH] Add nfs support for vagrant nodes. This will allow to use NFS volumes on those nodes --- cluster/vagrant/provision-node.sh | 1 + cluster/vagrant/provision-utils.sh | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/cluster/vagrant/provision-node.sh b/cluster/vagrant/provision-node.sh index 7b151e698ef..c7473255a06 100755 --- a/cluster/vagrant/provision-node.sh +++ b/cluster/vagrant/provision-node.sh @@ -79,6 +79,7 @@ else fi install-salt +add-volume-support run-salt diff --git a/cluster/vagrant/provision-utils.sh b/cluster/vagrant/provision-utils.sh index 81f91c95b86..30d612a0984 100755 --- a/cluster/vagrant/provision-utils.sh +++ b/cluster/vagrant/provision-utils.sh @@ -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"