mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 07:01:09 +02:00
Add Consul edition support to Enos scenarios and modules Add Linux distros and Consul edition to Enos samples Bump RHEL versions to 9.3 and 8.9
19 lines
253 B
Bash
19 lines
253 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
set -e
|
|
|
|
fail() {
|
|
echo "$1" 1>&2
|
|
exit 1
|
|
}
|
|
|
|
if ! type getenforce &> /dev/null; then
|
|
exit 0
|
|
fi
|
|
|
|
if sudo getenforce | grep Enforcing; then
|
|
sudo setenforce 0
|
|
fi
|