Skip to content

Instantly share code, notes, and snippets.

@grahamc

grahamc/cpr.json Secret

Created November 29, 2019 17:48
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/52e80664eb5774f928f36c625c7370bc to your computer and use it in GitHub Desktop.
Save grahamc/52e80664eb5774f928f36c625c7370bc to your computer and use it in GitHub Desktop.
{
"customdata": {
"cpr_storage": {
"disks": [
{
"device": "/dev/sdd",
"partitions": [
{
"label": "BIOS",
"number": 1,
"size": "512M"
},
{
"label": "SWAP",
"number": 2,
"size": "3993600"
},
{
"label": "ROOT",
"number": 3,
"size": 0
}
]
}
],
"filesystems": [
{
"mount": {
"device": "/dev/sdd1",
"format": "vfat",
"point": "/boot",
"create": {
"options": [
"32",
"-n",
"EFI"
]
}
}
},
{
"mount": {
"device": "/dev/sdd2",
"format": "swap",
"point": "none",
"create": {
"options": [
"-L",
"SWAP"
]
}
}
}
]
},
"cpr_zfs": {
"pools": {
"npool": {
"pool_properties": {
},
"vdevs": [
{
"disk": [
"/dev/sda",
"/dev/sdb",
"/dev/sdc",
"/dev/sdd3"
]
}
]
}
},
"datasets": {
"npool/root": {
"properties": {
"mountpoint": "legacy"
}
},
"npool/nix": {
"properties": {
"mountpoint": "legacy"
}
},
"npool/home": {
"properties": {
"mountpoint": "legacy"
}
},
"npool/var": {
"properties": {
"mountpoint": "legacy"
}
}
},
"mounts": [
{
"dataset": "npool/root",
"point": "/"
},
{
"dataset": "npool/nix",
"point": "/nix"
},
{
"dataset": "npool/var",
"point": "/var"
},
{
"dataset": "npool/home",
"point": "/home"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment