I’ve just flashed the latest Raspberry Pi image of Kubic (with kubeadm) to a MicroSD card. Normally, I haven’t been able to get Combustion to work on the first boot of these systems, so I go ahead and preload my authorized keys into the root home directory using a series of commands like this as the superuser (so I can run the Combustion script manually by logging in via SSH):
mount /dev/sdb2 -o noatime,subvol=@/root /mnt
mkdir -p /mnt/.ssh
chmod 0700 /mnt/.ssh
curl "https://github.com/stuartpb.keys" > /mnt/.ssh/authorized_keys
chmod 0600 /mnt/.ssh/authorized_keys
sync
umount /mnt
I’ve verified that the file is present with all the keys I’d expect, and have even plugged a screen into my Pi to make sure I’m getting the IP address correct, but when I try to ssh root@192.168.0.127
, I get prompted for the password.
Am I doing something wrong here? Is the root subvolume no longer getting mounted to the root home directory? How can I at least increase the amount of on-screen logging I can see to understand what’s happening here?