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