Action to update ipv4 Preference - Linux

I am brand new to Linux. I need to create an action to have our Linux machines prefer ip4 over ipv6. From a quick search, it looks like this is done by modifying the gai.conf file, however, I am not familiar with creating actions in BigFix to make these modifications. Just looking for any ideas or input. Thanks!

Linux/Unix modifications without adequate understanding or competence can have a negative influence, hence I would recommend:

  • First, consult with your Linux/Unix team to ensure that the script is tested locally and works properly.
  • Use BigFix to deploy it to a few test devices; if everything works as expected, only proceed with mass deployment.
  • As a beginner, you can use BigFix’s native shell script deployment approach, shown below: