From ed4daa5e21ea507665e6d6f63d23ec636b5d2566 Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Sat, 16 Aug 2025 13:26:14 -0700 Subject: [PATCH] Passing ssh key via local file instead. --- flatcar/Makefile | 2 +- flatcar/cl.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flatcar/Makefile b/flatcar/Makefile index 5ef34ca..ce7f318 100644 --- a/flatcar/Makefile +++ b/flatcar/Makefile @@ -2,7 +2,7 @@ ROOT_DIR:=$(shell dirname "$(realpath $(firstword $(MAKEFILE_LIST)))") ignition: - cat cl.yaml | sudo docker run --rm --volume ${ROOT_DIR}:/pwd --workdir /pwd -i quay.io/coreos/butane:latest -d /pwd > ignition.json + cat cl.yaml | sudo docker run --rm --volume /home/tjhintz/.ssh/id_rsa.pub:/pwd/ssh-keys --volume ${ROOT_DIR}:/pwd --workdir /pwd -i quay.io/coreos/butane:latest -d /pwd > ignition.json build: cp --reflink=auto flatcar_production_qemu_image.img.fresh flatcar_production_qemu_image.img diff --git a/flatcar/cl.yaml b/flatcar/cl.yaml index b8853e2..5e3eb28 100644 --- a/flatcar/cl.yaml +++ b/flatcar/cl.yaml @@ -3,8 +3,8 @@ version: 1.1.0 passwd: users: - name: core - ssh_authorized_keys: - - "" + ssh_authorized_keys_local: + - /ssh-keys systemd: units: - name: var-lib-docker-volumes.mount