openssl command fails with the following syntax error on %post scriptlet
Issue
openssl
command fails with the following syntax error on %post scriptlet:
/tmp/ks-script-urTl2: line 301: syntax error near unexpected token `('
/tmp/ks-script-urTl2: line 301: ` -config <(cat /etc/pki/tls/openssl.cnf; printf "******\n") \'- -
- The
openssl
command is below and it can be executed without problems on a console after boot:
%post --log=/root/ks-post.log
:
openssl req \
(--snip--)
-config <(cat /etc/pki/tls/openssl.cnf; printf "******\n") \
:
Environment
- Red Hat Enterprise Linux v.7
- kickstart
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.