Skip to content

Instantly share code, notes, and snippets.

@rshsmi
Last active December 20, 2018 11:20
Show Gist options
  • Save rshsmi/943ff9dc30f18c9c91d0fc86b82c4fcb to your computer and use it in GitHub Desktop.
Save rshsmi/943ff9dc30f18c9c91d0fc86b82c4fcb to your computer and use it in GitHub Desktop.
coreos-packer.json
{
"ignition": {
"config": {},
"timeouts": {},
"version": "2.1.0"
},
"networkd": {},
"passwd": {
"users": [
{
"name": "core",
"passwordHash": "$1$JALmR.rL$Z8vaAbzxhgJITeHf4Qr92/"
}
]
},
"storage": {
"files": [
{
"filesystem": "OEM",
"group": {},
"path": "/grub.cfg",
"user": {},
"contents": {
"source": "data:,set%20linux_append%3D%22%24linux_append%20coreos.first_boot%3D1%22",
"verification": {}
},
"mode": 420
}
],
"filesystems": [
{
"mount": {
"device": "/dev/disk/by-label/OEM",
"format": "ext4"
},
"name": "OEM"
}
]
},
"systemd": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment