- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am using deployment manager to add certificates in truststore using the below command on linux which works fine.
./sasdm.sh -console
Now, I want to automate this process of adding latest certificates, so I'm trying to run it in quiet mode (with response file) which runs fine when I run the command manually on the server. However when I'm running the same command from a pipeline (ansible shell module), it gives error. Is there a way to run it without login to the terminal.
Command-
/opt/sas/bin/SASDeploymentManager/9.4/sasdm.sh -lang en -loglevel 2 -quiet -responsefile '/opt/sas/bin/SASDeploymentManager/9.4/sasadm_add_cert_root_reponse.txt' -templocation '/opt/sas/saswork/temp' -console
The error is -
Error: Your DISPLAY environmental variable has not been set.
Please set it and run this application again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I would try modifying your command line such that these options are set first and see if that makes a difference: console, quiet, templocation
Greg Wootton | Principal Systems Technical Support Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I tried this, still gives same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Greg Wootton | Principal Systems Technical Support Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think quiet and console are compatible, when the first one is for executing with the responsefile, and the second one is for going through the wizard.
I would just select quiet, and perhaps I would add nosplash.