Skip to content

Commit

Permalink
Avoid checking root_volume free space on docker
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Sirena <[email protected]>
  • Loading branch information
NSsirena committed Oct 5, 2023
1 parent 1c645e7 commit 3f5ae2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
end

control 'tag:config_intel_hpc_enough_space_on_root_volume' do
only_if { !instance.custom_ami? && (os_properties.centos7? && os_properties.x86?) }
only_if { !os_properties.on_docker? && !instance.custom_ami? }

describe 'at least 10 GB of free space on root volume' do
subject { bash("sudo -u #{node['cluster']['cluster_user']} df --block-size GB --output=avail / | tail -n1 | cut -d G -f1") }
Expand Down

0 comments on commit 3f5ae2e

Please sign in to comment.