I hadn't tried this until now, but indeed, you CAN ssh into initramfs to do the interactive part! Nicely, the system continues on after sdmcryptfs completes.Indeed that works flawlessly now!Rerunning the installer will get them this time.
I had my first try with some simple things like described in the getting started example. All worked a treat!
My first feedback on the docs: Impressive! Very extensive and very useful with the many examples. Also refreshing to read at it doesn't try to be to serious all the time Image may be NSFW.
Clik here to view.
I might need to skip the encryption test for today as I need to organize a monitor and cabling to be able to do the interactive part in the initramfs - if I understood the docs correctly?
Use:
Code:
--plugin cryptroot:"authkeys=/path/to/authorized_keys|ssh=y"
I'm not a big docker user (OK, I don't use it at all), and apparently none of the other sdm users do, since nobody has asked about this before.
And because I browsed the app install docs and examples a complete different topic - is their yet an example how to install docker with sdm? Could it be enough to have this two commands triggered from script maybe?Code:
curl -fsSL https://get.docker.com -o install-docker.sh
Code:
sudo sh install-docker.sh
That said, you can try another new feature in V12: The runscript plugin. To use it, create a script with the commands you want to run (e.g., the two you listed above), and feed it into runscript:
Code:
--plugin runscript:"script=/path/to/your/script|stdout=/path/to/stdout.txt|stderr=/path/to/stderr.txt"
Statistics: Posted by bls — Mon May 06, 2024 7:39 pm