at master 556 B view raw
1{ 2 name = "chrony"; 3 4 nodes.machine = { 5 services.chrony.enable = true; 6 7 specialisation.hardened.configuration = { 8 environment.memoryAllocator.provider = "graphene-hardened"; 9 }; 10 }; 11 12 testScript = '' 13 machine.start() 14 machine.wait_for_unit('multi-user.target') 15 machine.succeed('systemctl is-active chronyd.service') 16 machine.succeed('/run/booted-system/specialisation/hardened/bin/switch-to-configuration test') 17 machine.succeed('systemctl restart chronyd.service') 18 machine.wait_for_unit('chronyd.service') 19 ''; 20}