Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created February 11, 2020 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/f18ca0499d0223719b8fea0b33e99997 to your computer and use it in GitHub Desktop.
Save grahamc/f18ca0499d0223719b8fea0b33e99997 to your computer and use it in GitHub Desktop.
{
"customdata": {
"cpr_zfs": {
"datasets": {
"npool/home": {
"properties": {
"mountpoint": "legacy"
}
},
"npool/nix": {
"properties": {
"mountpoint": "legacy"
}
},
"npool/root": {
"properties": {
"mountpoint": "legacy"
}
}
},
"mounts": [
{
"dataset": "npool/root",
"point": "/"
},
{
"dataset": "npool/nix",
"point": "/nix"
},
{
"dataset": "npool/home",
"point": "/home"
}
],
"pools": {
"npool": {
"vdevs": [
{
"log": [
"/dev/disk/by-packet-category/cache0",
"/dev/disk/by-packet-category/cache1"
]
},
{
"raidz2": [
"/dev/disk/by-packet-category/storage0",
"/dev/disk/by-packet-category/storage1",
"/dev/disk/by-packet-category/storage2",
"/dev/disk/by-packet-category/storage3",
"/dev/disk/by-packet-category/storage4",
"/dev/disk/by-packet-category/storage5"
]
},
{
"raidz2": [
"/dev/disk/by-packet-category/storage6",
"/dev/disk/by-packet-category/storage7",
"/dev/disk/by-packet-category/storage8",
"/dev/disk/by-packet-category/storage9",
"/dev/disk/by-packet-category/storage10",
"/dev/disk/by-packet-category/storage11"
]
}
]
}
}
}
},
"storage": {
"disks": [
{
"device": "/dev/disk/by-packet-category/boot0",
"partitions": [
{
"label": "BIOS",
"number": 1,
"size": "512M"
},
{
"label": "ROOT",
"number": 2,
"size": 0
}
]
}
],
"filesystems": [
{
"mount": {
"create": {
"options": [
"32",
"-n",
"EFI"
]
},
"device": "/dev/disk/by-packet-category/boot0-part1",
"format": "vfat",
"point": "/boot"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment