Commit de3cf9b7 authored by Quinton Hoole's avatar Quinton Hoole

Merge pull request #13527 from derekwaynecarr/disable_swap

Disable swap memory on vagrant nodes to support qos properly
parents 7bbe516b 44e74b4c
...@@ -155,6 +155,10 @@ grains: ...@@ -155,6 +155,10 @@ grains:
docker_opts: '$(echo "$DOCKER_OPTS" | sed -e "s/'/''/g")' docker_opts: '$(echo "$DOCKER_OPTS" | sed -e "s/'/''/g")'
EOF EOF
# QoS support requires that swap memory is disabled on each of the minions
echo "Disable swap memory to ensure proper QoS"
swapoff -a
# we will run provision to update code each time we test, so we do not want to do salt install each time # we will run provision to update code each time we test, so we do not want to do salt install each time
if ! which salt-minion >/dev/null 2>&1; then if ! which salt-minion >/dev/null 2>&1; then
# Install Salt # Install Salt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment