Some images/distros do not install/use selinux. This small change will verify that `setenforce` is executable and in the path before attempting to run the command. This prevents the script from erroring and causing a failed `cloud-init` run. Change-Id: I42f802c7994b8d907f0cc4e3b1a38e6fd89dac0cchanges/19/71019/1
parent
c02b8e8c02
commit
265467f5cd
Loading…
Reference in new issue