Skip to content

[downstream project] Helper script to automatically generate hosts.csv & run a self-contained Ananta container #6

@IceCodeNew

Description

@IceCodeNew

This issue is not meant to report a problem but to self-promote a downstream project that might ease the usage of the Ananta.
Any suggestions would be appreciated. Wish to build a strong connection to this great project ;-)


https://github.com/IceCodeNew/anata-no-minato/

This project is an attempt to packaging the Ananta with its runtime into a minimum, hardened docker image, while also providing a convenient way to use it.
It is recommended to bind mount the ${HOME}/.ssh/ into the container, and the container will automatically generate hosts.csv based on ~/.ssh/config for you.

How to start

Install the ananta helper script:

curl -sSLROJ --fail -- \
    "https://github.com/IceCodeNew/anata-no-minato/releases/latest/download/ananta"

# it is always a good idea to check the content of a script before executing it
cat ./ananta

sudo install -pvD ./ananta /usr/local/bin/
rm ./ananta

This helper script will automatically generate hosts.csv based on ~/.ssh/config, issue the command as below:
(omit the hosts.csv argument)

ananta -CS fastfetch

In case you want to specify an existing hosts.csv,
issue the command with the same arguments sequence as the original ananta command:

ananta -t arch hosts.csv sudo pacman -Syu --noconfirm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions