mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-15 09:34:58 +00:00
feat: add back container policy hardening
This commit is contained in:
@@ -4,4 +4,5 @@ scripts:
|
|||||||
- setfilepermissions.sh
|
- setfilepermissions.sh
|
||||||
- disablesealertpopups.sh
|
- disablesealertpopups.sh
|
||||||
- homebrewanalyticsoptout.sh
|
- homebrewanalyticsoptout.sh
|
||||||
|
- hardencontainerpolicy.sh
|
||||||
- httpsmirrors.sh
|
- httpsmirrors.sh
|
||||||
6
config/scripts/hardencontainerpolicy.sh
Normal file
6
config/scripts/hardencontainerpolicy.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
sed -i 's/insecureAcceptAnything/reject/' /usr/etc/containers/policy.json
|
||||||
Reference in New Issue
Block a user