Storage unlock happens after initrd #88

Closed
opened 2025-03-05 11:54:56 +01:00 by kalipso · 1 comment
Owner

The interactive password prompt for storage comes up after initrd, meaning there is no ssh access anymore and i had to type it on the local keyboard. I think this could be solved by setting (at least thats how i do it on my machines at home)

boot.initrd.network = {
    postCommands = ''
      zpool import storage
      echo "zfs load-key -a; killall zfs" >> /root/.profile
    '';
}
The interactive password prompt for storage comes up after initrd, meaning there is no ssh access anymore and i had to type it on the local keyboard. I think this could be solved by setting (at least thats how i do it on my machines at home) ``` boot.initrd.network = { postCommands = '' zpool import storage echo "zfs load-key -a; killall zfs" >> /root/.profile ''; } ```
kalipso added the LokalBug/Problem labels 2025-03-05 11:54:56 +01:00
kalipso self-assigned this 2025-03-05 11:54:56 +01:00
ahtlon was assigned by kalipso 2025-03-05 11:54:56 +01:00
kalipso added this to the Reliable Cloud Infra project 2025-10-21 17:14:37 +02:00
kalipso added this to the V2 milestone 2025-10-21 17:14:48 +02:00
kalipso moved this to Done in Reliable Cloud Infra on 2026-01-06 18:11:29 +01:00
Author
Owner

Should be fixed.

Should be fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malobeo/infrastructure#88