]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: add lines for provisioning ssh keys for root by default
authorLennart Poettering <lennart@poettering.net>
Thu, 15 Sep 2022 18:35:36 +0000 (19:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Sep 2022 07:30:00 +0000 (09:30 +0200)
commit4cebd207d1487e1944fd81bbaf63678dade3ed4e
tree6e2c582b7571356a735b50e78f132d3ab4f31243
parent27f6aa0b7112024c1236957abd909071b06869a8
tmpfiles: add lines for provisioning ssh keys for root by default

With this, I can now easily do:

    systemd-nspawn --load-credential=ssh.authorized_keys.root:/home/lennart/.ssh/authorized_keys --image=… --boot

To boot into an image with my SSH key copied in. Yay!
tmpfiles.d/provision.conf
units/systemd-tmpfiles-setup.service