diff --git a/coreos.json b/coreos.json index d232247..d34600d 100644 --- a/coreos.json +++ b/coreos.json @@ -19,6 +19,20 @@ ] }, "storage": { + "disks": [ + { + "device": "/dev/sda", + "partitions": [ + { + "label": "swap", + "number": 5, + "resize": true, + "sizeMiB": 8192 + } + ], + "wipeTable": false + } + ], "files": [ { "path": "/etc/hostname", @@ -68,10 +82,21 @@ "source": "data:;base64,W3VwZGF0ZXNdCnN0cmF0ZWd5PSJwZXJpb2RpYyIKW1t1cGRhdGVzLnBlcmlvZGljLndpbmRvd11dCmRheXM9WyAiU2F0IiwgIlN1biIgXQpzdGFydF90aW1lPSIyMjozMCIKbGVuZ3RoX21pbnV0ZXM9NjAK" } } + ], + "filesystems": [ + { + "device": "/dev/disk/by-partlabel/swap", + "format": "swap" + } ] }, "systemd": { "units": [ + { + "contents": "# Generated by Butane\n[Swap]\nWhat=/dev/disk/by-partlabel/swap\n\n[Install]\nRequiredBy=swap.target", + "enabled": true, + "name": "dev-disk-by\\x2dpartlabel-swap.swap" + }, { "dropins": [ {