Passing ssh key via local file instead.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user