Skip to content

Commit

Permalink
kola/fips: Add a partition to Ignition config
Browse files Browse the repository at this point in the history
Just to make the Ignition config a bit more realistic. Covers a recent
regression we had in that area:

coreos#1128 (comment)
  • Loading branch information
jlebon committed Dec 13, 2019
1 parent 3a304e5 commit cb792ff
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions kola/tests/fips/fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,29 @@ func init() {
"version": "2.2.0"
},
"storage": {
"disks": [
{
"device": "/dev/vda",
"wipeTable": false,
"partitions": [
{
"label": "CONTR",
"size": 0,
"start": 0
}
]
}
],
"filesystems": [
{
"name": "CONTR",
"mount": {
"device": "/dev/disk/by-partlabel/CONTR",
"format": "xfs",
"wipeFilesystem": true
}
}
],
"files": [
{
"filesystem": "root",
Expand All @@ -35,6 +58,15 @@ func init() {
"mode": 420
}
]
},
"systemd": {
"units": [
{
"name": "var-lib-containers.mount",
"enabled": true,
"contents": "[Mount]\nWhat=/dev/disk/by-partlabel/CONTR\nWhere=/var/lib/containers\nType=xfs\nOptions=defaults\n[Install]\nWantedBy=local-fs.target"
}
]
}
}`),
})
Expand Down

0 comments on commit cb792ff

Please sign in to comment.