- From: Brian McKelvey <
>
- To:
- Subject: [chef] Re: Re: Automating interactive console apps?
- Date: Fri, 5 Aug 2011 15:26:33 -0700
Alright thanks, I'll give that a shot.
Cheers,
Brian
On Fri, Aug 5, 2011 at 1:04 PM, Sascha Bates
<
>
wrote:
>
NB_INSTALL_CMD = "/bin/sh install < #{File.join(node.netbackup.home_dir,
>
"response")}"
>
>
I did that with netbackup and deploy a template that has this in it:
>
>
2
>
y
>
2
>
"#{node.netbackup.backup_server1}"
>
"#{node.hostname}"
>
q
>
>
On Fri, Aug 5, 2011 at 3:00 PM, Brian McKelvey
>
<
>
>
wrote:
>
>
>
> I'm trying to deploy Wowza Media Server using Chef, but all of their
>
> packages, including the .deb and .rpm packages, are wrapped in a .bin
>
> self-extracting installer that uses 'more' to display a license
>
> agreement and requires me to type 'yes' to accept the license before
>
> proceeding. The rest of the install process is completely automatic
>
> and works fine.
>
>
>
> I'd like to somehow use chef to interactively hit 'q' to escape from
>
> 'more' and then type 'yes' at the prompt. Is that possible? Do you
>
> guys have any other alternative solutions?
>
>
>
> Brian
>
>
--
Brian McKelvey
C.E.O & Co-Founder
Worlize Inc.
www.worlize.com
Archive powered by MHonArc 2.6.16.