Skip to content

Instantly share code, notes, and snippets.

@masih
Created November 17, 2025 13:42
Show Gist options
  • Select an option

  • Save masih/f02fb848069766b040d47c35b053e572 to your computer and use it in GitHub Desktop.

Select an option

Save masih/f02fb848069766b040d47c35b053e572 to your computer and use it in GitHub Desktop.
{
"ignition": {
"version": "3.4.0"
},
"passwd": {
"users": [
{
"groups": [
"wheel",
"sudo"
],
"name": "core",
"sshAuthorizedKeys": [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB3l6GQqknVZqm4c2oDP9TMjpwacqRN9uSS3gHiXI/gA"
]
}
]
},
"storage": {
"directories": [
{
"path": "/mnt/primary",
"mode": 493
},
{
"path": "/mnt/secondary",
"mode": 493
}
],
"disks": [
{
"device": "/dev/nvme1n1",
"partitions": [
{
"label": "secondary",
"number": 1,
"sizeMiB": 0
}
],
"wipeTable": true
}
],
"filesystems": [
{
"device": "/dev/disk/by-partlabel/secondary",
"format": "xfs",
"label": "secondary",
"path": "/mnt/secondary",
"wipeFilesystem": true
}
]
},
"systemd": {
"units": [
{
"contents": "[Unit]\nDescription=Bind mount root to /mnt/primary\n\n[Mount]\nWhat=/sysroot\nWhere=/mnt/primary\nType=none\nOptions=bind\n",
"name": "mnt-primary.mount"
},
{
"contents": "[Unit]\nDescription=Mount secondary NVMe data drive\n\n[Mount]\nWhat=/dev/disk/by-label/secondary\nWhere=/mnt/secondary\nType=xfs\nOptions=defaults,noatime",
"name": "mnt-secondary.mount"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment