Giter Club home page Giter Club logo

Comments (2)

cilki avatar cilki commented on May 24, 2024

TOML might actually be a reasonable format. Something like this is pretty easy to read:

name = "ArchLinux"
arch = "x86_64"
size = "128 Gb"

[[template]]
base = "ArchLinux"

[[template.source.iso]]
checksum = "sha1:3700a16d4fcabbd29e9a7fbc97da732c4577dc2a"
url = "https://mirrors.edge.kernel.org/archlinux/iso/latest/archlinux-2022.05.01-x86_64.iso"

[[template.provisioners.ansible]]
playbook = "ansible.yml"

[[template.provisioners.ansible]]
playbook = "ansible2.yml"

[template.provisioners.root_password]
plaintext = "root"

[template.provisioners.mirrorlist]
mirrors = [ "https://mirrors.edge.kernel.org/archlinux/$repo/os/$arch" ]

from goldboot.

cilki avatar cilki commented on May 24, 2024

There's also RON:

(
  name: "Arch Linux example",
  description: "Example of how to build a simple Arch Linux image",
  arch: "x86_64",
  size: "16 Gb",
  source: Iso (
    checksum: "sha1:3700a16d4fcabbd29e9a7fbc97da732c4577dc2a",
    url: "https://mirrors.edge.kernel.org/archlinux/iso/latest/archlinux-2022.05.01-x86_64.iso",
  ),
  mold: ArchLinux (
    hostname: "ExampleArch",
    mirrorlist: [
      "https://mirrors.edge.kernel.org/archlinux/$repo/os/$arch"
    ],
    root_password: "root",
    packages: [
      "alacritty",
      "git",
      "neovim",
    ]
  ),
  fabricators: [
    Ansible (
      playbook: "ansible.yml"
    )
  ]
)

Although it would be easy to support multiple config formats technically, it's probably a good idea to choose one preferred format.

from goldboot.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.