# Note this only works on Ubuntu currently. There is a future enhancement
# to enable this to work for any OS.
def trust_certs_on_node(bastion_node, ag_node):
ag_node_update_certs = \
'sudo cp domain.crt ' \
'/usr/local/share/ca-certificates/domain.crt && ' \
'sudo update-ca-certificates'
run_command_on_airgap_node(bastion_node, ag_node,
ag_node_update_certs)
Update this function so that it can trust certs on rhel-like operating systems as well
This effort is mostly transitioning the tests into the distros-test-framework, using some of the logic of what we have today in the Python framework but building via Terraform to enable different OSes.
Update this function so that it can trust certs on rhel-like operating systems as well