Unattended Installs

Introduction

Atomic OSSEC supports unattended installations. That means you can use the configuration of one system as the template for a new system. The installer will not ask questions for options that are templated. This document explains how to perform an unattended installation.


Instructions

Step 1: Create (or copy) an attended installation configuration file /root/awp.cfg with the following minimal contents:

USERNAME="<license username>"
PASSWORD="<license password>"
KERNEL_CHANNEL="disabled"
FW_INBOUND_TCP_SERVICES="22,80,443,1514,1515,1516,30001"
OPENID_CONNECT_INTEGRATION="on"
OSSEC_ACTIVE_RESPONSE="yes"
OSSEC_NOTIFY="no"
CONFIGURED="yes"

Step 2: Copy the Configuration File to the System

  • From the system with Atomic OSSEC already installed copy the following file:

    /etc/as/config
    
  • To the system you want to install AO on, or upgrade in this file:

    /root/awp.cfg
    

    Note

    You can do this on the same system if you want a totally unattended upgrade of an exisiting AO system to occur.

Step 3: Go to the root users directory

  • On the new system, without AO install:

    cd /root/
    

Step 4: Run the Atomic OSSEC Installer

  • Run the installer as you normally would as the root on the system with the file /root/awp.cfg

    
    

cd /root wget -q -O - https://updates.atomicorp.com/installers/awp-hub |sh