Server
- FOG Version: 1.3.4
- OS: Ubuntu Server 16.10 amd64
Client
- Service Version:
- OS: Windows 7 x64
Description
Hello,
I am trying to follow a couple threads regarding installing drivers after post image deployment.
Such as:
https://forums.fogproject.org/topic/4278/utilizing-postscripts-rename-joindomain-drivers-snapins/21?page=2
Examined and tried a couple of the scripts in this thread and I seemed to be getting:
/images/postdownloadscripts/fog.postdownload: line 2: syntax error near unexpected token ‘$‘in/r’’
/images/postdownloadscripts/fog.postdownload: line 2: 'case $osid in
/images/postdownloadscripts/fog.postdownload: line 19: syntax error near unexpcted token ‘fi’
/images/postdownloadscripts/fog.postdownload: line 19: ‘fi’
(I have checked the text file to see if there are any spaces at the end of the file) this is the main error message I get when I try scripts shown in threads listed
And:
https://forums.fogproject.org/topic/7391/deploying-a-single-golden-image-to-different-hardware-with-fog/4
Pasted the script in step 3 into the fog.postdownload script and gets:
/images/postdownloadscripts/fog.postdownload: line 3: $‘\r’: command not found
/images/postdownloadscripts/fog.postdownload: line 46: syntax error: unexpected end of file
Are all these error messages related? Or is something not configured properly, perhaps permissions?
Or is there a better way of putting drivers into a deployed image so it is automated/detected by the model of the PC?
Any assistance is greatly appreciated!
Kind regards