Passing ssh key via local file instead.

main
Thomas Hintz 2 weeks ago
parent ea2ee884a4
commit ed4daa5e21

@ -2,7 +2,7 @@
ROOT_DIR:=$(shell dirname "$(realpath $(firstword $(MAKEFILE_LIST)))") ROOT_DIR:=$(shell dirname "$(realpath $(firstword $(MAKEFILE_LIST)))")
ignition: 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: build:
cp --reflink=auto flatcar_production_qemu_image.img.fresh flatcar_production_qemu_image.img cp --reflink=auto flatcar_production_qemu_image.img.fresh flatcar_production_qemu_image.img

@ -3,8 +3,8 @@ version: 1.1.0
passwd: passwd:
users: users:
- name: core - name: core
ssh_authorized_keys: ssh_authorized_keys_local:
- "" - /ssh-keys
systemd: systemd:
units: units:
- name: var-lib-docker-volumes.mount - name: var-lib-docker-volumes.mount

Loading…
Cancel
Save