Merge pull request #25402 from kubevirt/master
Automatic merge from submit-queue Add nfs support for vagrant nodes. ## Pull Request Guidelines 1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md). 1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md). 1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below. ```release-note * Use the release-note-* labels to set the release note state * Clear this block to use the PR title as the release note -OR- * Enter your extended release note here ``` []() This will allow to use NFS volumes on those nodes
This commit is contained in:
commit
c044b5e93b
@ -79,6 +79,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install-salt
|
install-salt
|
||||||
|
add-volume-support
|
||||||
|
|
||||||
run-salt
|
run-salt
|
||||||
|
|
||||||
|
@ -25,6 +25,14 @@ function prepare-package-manager() {
|
|||||||
dnf update -y dnf dnf-plugins-core
|
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() {
|
function write-salt-config() {
|
||||||
local role="$1"
|
local role="$1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user