Skip to content

Instantly share code, notes, and snippets.

@tormath1
Created August 29, 2022 15:22
Show Gist options
  • Save tormath1/79d32ade333ca89041f6763a14a6a74b to your computer and use it in GitHub Desktop.
Save tormath1/79d32ade333ca89041f6763a14a6a74b to your computer and use it in GitHub Desktop.
# butane < config.yml > ignition.json
---
variant: flatcar
version: 1.0.0
storage:
disks:
- device: /dev/vda
partitions:
- number: 9
label: ROOT
resize: true
# 12Gb ~
size_mib: 11444.09
filesystems:
- device: /dev/vda9
wipe_filesystem: true
format: ext4
label: ROOT
systemd:
units:
- name: extend-filesystems.service
mask: true
{
"ignition": {
"version": "3.3.0"
},
"storage": {
"disks": [
{
"device": "/dev/vda",
"partitions": [
{
"label": "ROOT",
"number": 9,
"resize": true,
"sizeMiB": 11444
}
]
}
],
"filesystems": [
{
"device": "/dev/vda9",
"format": "ext4",
"label": "ROOT",
"wipeFilesystem": true
}
]
},
"systemd": {
"units": [
{
"mask": true,
"name": "extend-filesystems.service"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment