Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions custom-coreos-disk-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ main() {

# Make sure RPMs are installed
check_rpms
# Make sure SELinux is permissive
if [ "$(getenforce)" != "Permissive" ]; then
echo "SELinux needs to be set to permissive mode"
# Make sure SELinux is not enforcing
if [ "$(getenforce)" == "Enforcing" ]; then
echo "SELinux needs to be set to either permissive or disabled"
exit 1
fi
# Make sure we are effectively `root`
Expand Down