Skip to content

Commit

Permalink
Fix init ignition
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler committed Apr 26, 2024
1 parent 00d476b commit ada7e00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions internal/controller/testdata/ignition.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ package testdata

var (
DefaultIgnition = map[string]interface{}{
"ignition": map[string]interface{}{
"version": "3.4.0",
},
"variant": "fcos",
"version": "1.3.0",
"systemd": map[string]interface{}{
"units": []interface{}{
map[string]interface{}{
Expand Down
4 changes: 2 additions & 2 deletions internal/ignition/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ type ContainerConfig struct {

// defaultIgnitionTemplate is a Go template for the default Ignition configuration.
var defaultIgnitionTemplate = `
ignition:
version: "3.4.0"
variant: fcos
version: "1.3.0"
systemd:
units:
- name: docker.service
Expand Down

0 comments on commit ada7e00

Please sign in to comment.