whoops, i should have run debconf-get-selections, the answer is: ossec-hids-agent ossec-hids-agent/server-ip string ${server-ip}
I was close, hopefully this helps others auto install. Jeff On Friday, August 18, 2017 at 2:30:39 PM UTC-4, Jeff Dyke wrote: > > Hi, i've installed ossec-hids-server on one machine and ossec-hids-agent > on all of my other machines, but would like for the agent install to be > fully automated (i use salt for CM) and was wondering what the correct > syntax would be for a debconf-set-selections command before the install > runs. > > would it be > debconf-set-selections <<< "ossec-hids-client ossec/server string > ${server-ip}" > > for example, installing postfix, i use: > > debconf-set-selections <<< "postfix postfix/mailname string $(hostname)" > debconf-set-selections <<< "postfix postfix/main_mailer_type string > 'Internet Site'" > > I'm going to set this up in my staging environment, so i'll try variations > of the above there, but wanted to see if someone knew off hand. > > Thank you, > Jeff > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.