Why does the post installation script fails with error "The system has no more ptys" during kickstart installation of Red Hat Enterprise Linux 6?
Issue
- Kickstart installation of Red Hat Enterprise Linux 6 fails during
%post
section with the following error message.
spawn /bin/sh ./test.sh^M
The system has no more ptys. Ask your system administrator to create more.
while executing
"spawn /bin/sh ./test.sh"
(file "./somescript.sh" line 4)^M
Environment
- Red Hat Enterprise Linux 6
- Kickstart Installation.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.