tectonic-installer icon indicating copy to clipboard operation
tectonic-installer copied to clipboard

Curl in the coreos-install ignition template

Open brianredbeard opened this issue 7 years ago • 3 comments

In the file platforms/metal/cl/coreos-install.yaml.tmpl#L23 curl is run without the --fail option. In this mode it will supply the remote error message as the output of the command:

Retrieved from an emergency shell:

# mnt /dev/disk/by-id/oem /mnt/oem
# cat coreos-ignition.json
404 page not found

brianredbeard avatar Jan 11 '18 02:01 brianredbeard

cc @dghubble (a point to know regarding retrieval, as useful in reference to Matchbox)

brianredbeard avatar Jan 11 '18 02:01 brianredbeard

Matchbox and other projects do use the --fail flag. Tectonic should probably do the same.

https://github.com/coreos/matchbox/blob/master/examples/ignition/install-reboot.yaml

dghubble avatar Jan 11 '18 03:01 dghubble

Also, I don't think the udevadm settle is necessary.

bgilbert avatar Jan 11 '18 03:01 bgilbert