Comments (2)
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.
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)
- Test Steam Deck Image HOT 1
- Add generic template
- Add PXE support HOT 3
- Export to ISO9660 HOT 2
- Add multiboot images HOT 1
- Github Action not producing Build due to compilation Errors HOT 9
- Evolving golden images over time HOT 2
- Unable to compile on macOS HOT 2
- Docker image doesn't include qemu-img binary
- Specify edition/version + source from the cli HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goldboot.