Skip to content
Nick Rhodes edited this page Mar 24, 2019 · 4 revisions
$  auter --help

Usage: auter [--enable|--disable|--status] [--prep] [--apply] [--reboot] [--postreboot] [--config=<configfile>] [OPTIONS]

Automatic Update Transaction Execution by Rackspace. A wrapper around cron and yum/dnf/apt to manage system updates with the ability to configure automatic reboots and custom scripts.

Actions:
  --enable      Enable auter
  --disable     Disable auter. Also deletes unused pidfile if it exists
  --status      Show whether enabled or disabled
  --prep        Pre-download updates before applying
  --apply       Apply updates, and reboot if AUTOREBOOT=yes
  --reboot      Reboot system including pre/post reboot scripts
  --postreboot  Run post reboot script

Options:
  --config=FILE Specify the full path to an auter config file. Defaults to /etc/auter/auter.conf
  --stdout      Always log to STDOUT, regardless of not having a tty
  --maxdelay    Override MAXDELAY from the command line
  --skip-all-scripts
                Skip the executions of all custom scripts (Default in /etc/auter/*.d/)

  --skip-scripts-by-phase=PHASE
                Skip the execution of the custom scripts for the specified phase. You can specify myltiple phases.

                Valid Phases: pre-prep, post-prep, pre-apply, post-apply, pre-reboot, post-reboot.

                Example: --skip-scripts-by-phase="pre-prep,post-apply,pre-reboot"

  --skip-scripts-by-name=SCRIPTNAME
                Skip specific scripts by name. You can specify myltiple phases.

                Example: --skip-scripts-by-name="10-configsnap-pre, 20-startApp.sh"

  --no-wall     If possible, suppress shutdown wall messages in the reboot phase
  -h, --help    Show this help text
  -v, --version Show the version

Running manually

Prep/Apply

The options can also be combined into a single command.

$ auter --prep
$ auter --apply
$ auter --reboot
//
$ auter --prep --apply --reboot

By adding --reboot to the command, Auter will perform a reboot whether patches are installed or not. Useful if you have pre/post reboot scripts that need to be run.

Enable/Disable

Adds or removes a lockfile that auter will check the presence of to see whether to do anything. This will also remove the pidfile if the process is no longer running:

$ auter --enable
$ auter --disable
Clone this wiki locally