mirror of
https://github.com/ovh/debian-cis.git
synced 2025-09-09 07:50:54 +02:00
feat: add trixie docker build
Ensure the current debian12 scripts are going to run on trixie
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# shellcheck shell=bash
|
||||
# run-shellcheck
|
||||
test_audit() {
|
||||
describe prepare test
|
||||
apt remove -y systemd-timesyncd ntp chrony
|
||||
|
||||
describe Running on blank host
|
||||
register_test retvalshouldbe 1
|
||||
# shellcheck disable=2154
|
||||
@@ -8,7 +11,7 @@ test_audit() {
|
||||
|
||||
describe Correcting situation
|
||||
apt-get update
|
||||
apt-get install -y ntp
|
||||
apt-get install -y chrony
|
||||
|
||||
# Finally assess that your corrective actions end up with a compliant system
|
||||
describe Checking resolved state
|
||||
@@ -17,7 +20,7 @@ test_audit() {
|
||||
|
||||
# we can not check the presence of multiple time synchronization from debian packages, as they are mutually exclusive
|
||||
describe clean installation
|
||||
apt remove -y ntp
|
||||
apt remove -y chrony
|
||||
apt autoremove -y
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user