Create a short script called mntnfs.sh that appends the appropriate line the /etc/fstab.
#! /bin/bash nfs=nfs_server_hostname mntPnt=mounted_directory fstab_line=”$nfs: $mntPnt $mntPnt nfs nfsvers=2,rw 0 0” echo $fstab_line >> /etc/fstab /etc/init.d/netfs start mount -a |
Upload the script as a Local -> Pre-Action -> mntnfs.
See Uploading Actions.
Create a profile that requires nfs-utils and mntnfs.
See To Create a Profile.
Make the profile applicable to all active distributions.
Run a job on selected hosts that deploys the profile.