Greetings,
I have been asked to automate a software installation task, and the actual installation is relatively simple so I’m not having any problems there…
Manual steps…
mount an nfs directory on the client
run a shell script from within the nfs directory (vendor provided installation script, with options)
unmount the nfs directory.
I can automate all of these steps easily, and even make the shell script dependent on whether a file exists (it creates several files, so that’s easy…)
The question I have is whether there is a better way to deal with the mount/unmount so it’s only done if the software needs to be installed?
Any thoughts?
Thanks,
Adam