Benjamin Redling
unread,Oct 24, 2016, 10:16:14 AM10/24/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi everybody,
I'm trying to script around an ugly installer that expects to run from a
DVD. I copied the DVDs and mounted them as loop device.
The problem I face is that after the first DVD finished and it outputs a
line beginning with "Insert DVD 2..."
(A software that typically gets installed on a lot of cluster nodes...
even when you say "-silent" to the installer... yeah!)
but I have to umount the first disc and mount the second one _before
sending a response_.
Alternativly copying the content of the DVDs together doesn't work,
because the installer seems to check for the presence of files of the
first DVD -- or at least it outputs a warning it still found the first
DVD. That's why I started the whole mount/umount hassle...
Do I need to wrap a expect script and use the command or shell module
for that, or is there a more elegant way with ansible?
_Any_ ideas welcome that enable non-interactive handling of that situation.
Regards,
Benjamin
--
FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
vox: +49 3641 9 44323 | fax: +49 3641 9 44321