-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
If you supply --ssh-public-key-file <path-to-custom-ssh-key-file> to ib-cli create-iso and use ibi-butane.template from this repository, the contents of the ssh-key-file will be rendered, not path of the file.
Example:
passwd:
users:
- name: core
ssh_authorized_keys:
- -----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEAm1wm8va+vZp/pRp+/5o2UZK/koRlplXF0+KW8APCCQZIyYPx
LVxbi9VYz+UG21r42pENWaTBGJC+FdRptXrc5KA7jFflYb7y/LlufV3syx9TMvUU
Expected:
passwd:
users:
- name: core
ssh_authorized_keys:
- path-to-custom-ssh-key-file
This will break the create-iso command like this:
failed to create installation ISO: failed to render ignition from config: failed to run "podman" in host namespace with args [run -v /mnt/temp/data/work/ibi/manual/data:/data:rw,Z --rm quay.io/coreos/butane:release --pretty --strict -d /data /data/config.bu -o /data/ibi-ignition.json]: Error translating config: Error unmarshaling yaml: yaml: line 9: could not find expected ':'
: exit status 1
FATA[2024-05-02 16:25:57] Error executing installationiso command: failed to create installation ISO: failed to render ignition from config: failed to run "podman" in host namespace with args [run -v /mnt/temp/data/work/ibi/manual/data:/data:rw,Z --rm quay.io/coreos/butane:release --pretty --strict -d /data /data/config.bu -o /data/ibi-ignition.json]: Error translating config: Error unmarshaling yaml: yaml: line 9: could not find expected ':'
Metadata
Metadata
Assignees
Labels
No labels