AppNeta Container C50 - Headless installation options
search cancel

AppNeta Container C50 - Headless installation options

book

Article ID: 438660

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

We are looking to perform headless installations for our AppNeta C50 containers.

Resolution

Settings for running Headless installations:

Required Flag for Automation

  • -z: Enables non-interactive mode. It assumes "yes" for proceeding if no environment file is found and for deployment after setup steps.
  • Note: You must pass additional configuration arguments (listed below) for a truly headless process.

Upgrade Parameters

These arguments control how the script handles tool updates:

  • -y: Automatically accepts all updater prompts and overwrites files.
  • -f: Forces a re-download of the latest tools, bypassing the cache check.
  • -e ENV_FILE: Overrides the default environment file (defaults to .env).

Configuration Parameters

These arguments define the container environment:

  • -n <host|bridge>: Sets the networking mode (Linux only). Defaults to bridge.
  • -w <overwrite|keep>: Determines whether to regenerate existing configurations or keep them.
  • -t TIMEZONE: Overrides the container timezone (e.g., Etc/UTC). Use timedatectl list-timezones for valid names.
  • -o PORT: Overrides the default TCP communication port (26268) (not typically changed)
  • -x PROXY_URL: Specifies a proxy (format: http://user:pass@host:port).

Common Syntax

Standard Headless Upgrade/Install

To perform a fully automated installation using host networking and overwriting old configs:

This command will make changes to your system. Review it carefully before running.

sudo ./setup.sh install -z -y -n host -w overwrite

 

Additional Information

Handling Script Updates (Exit Code 5)

If the setup.sh script detects an update for itself, it will exit with Code 5.

  • Action: Simply re-run the same command to complete the installation with the updated scripts.