coreos / ignition

First boot installer and configuration tool
https://coreos.github.io/ignition/
Apache License 2.0
829 stars 245 forks source link

Ignition file won't parse #1177

Closed verslyap closed 3 years ago

verslyap commented 3 years ago

Bug

I copied parts of an ignition file (see below) from the fedora-coreos documentation website and added the rest. When I try to boot after installing or run the ignition-validator against it, it fails and give the output "error at line 1 col 2: invalid character 'v' looking for beginning of value"

Operating System Version

The current stable branch v 33.20210301.3.1

Ignition Version

1.3.0

Environment

What hardware/cloud provider/hypervisor is being used to run Ignition?

Expected Behavior

The boot succeds

Actual Behavior

The boot halts and tries to go to the systemd emergency target.

Reproduction Steps

  1. install fedora-coreos with coreos-installer install /dev/sda --copy-network --ignition-url
  2. boot into coreos

Other Information

Here is my ignition file variant: fcos version: 1.3.0 passwd: users:

bgilbert commented 3 years ago

That's a Fedora CoreOS Config, not an Ignition config. You'll need to transpile it to an Ignition config using the Fedora CoreOS Config Transpiler.