0

I spend A LOT of my time setting up linux servers/workstations/mining farms etc. and I need some way to store and automate the process for each of my varying systems as it gets so frustrating.

I have a bunch of bash scripts that handles things but it gets extremely messy when dealing with different distros, package managers, hardware etc.

Is there any software where I could explain the specification in a file. for example debian.spec which contains something that resembles:

{
    "image": "debian.iso",
    "hostname": "example",

    "packages": [
        "git",
        "gcc",
        "python",
        "oh-my-zsh"
        "zsh"
    ],

    "dotfiles": "[email protected]:example/dotfiles",

    "postinstall": "/path/to/script.sh",
    "autostart": "/path/to/another-script.sh"
}

Which produce either an iso to install or live usb.

I need to be able to do this with atleast arch and debian.

1
  • Look into Ansible. Commented May 1, 2018 at 15:55

1 Answer 1

0

Your best bet is to use something like Ansible to configure each system after it's been installed as a bare-bones host available on the network. There is no software available, to my knowledge, that will let you create a custom installation ISO or instruction file that will work across distributions. Debian does have a preseed file specification available, but learning that is a skill unique to Debian and will not transfer to Arch.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.