Skip to content

Feature Request: Support for Unattended/Non-Interactive Installation #15

@amiorin

Description

@amiorin

The Problem

I am currently attempting to automate the installation of ONCE using Ansible. However, the current shell script includes a run_once step (or similar interactive prompts) that requires manual intervention. This makes it difficult to include in CI/CD pipelines or configuration management scripts without maintaining a custom fork of the installer.

Suggested Solution

It would be helpful if the installation script supported flags or parameters to bypass interactive prompts, allowing for a fully unattended installation.

Following the pattern used by other popular installers (like Nix), we could pass arguments through the shell:

curl -fsSL https://once.com/install.sh | sh -s -- --unattended

Alternatives Considered

  • Forking: I currently have to fork the install script to manually strip out the interactive components.

Additional Context

Enabling this would make ONCE much friendlier for DevOps workflows and automated server provisioning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions