Closed mudler closed 1 year ago
One way to do that with swtmp is to set a different CommandChannel when we read the TPM device here: https://github.com/rancher/rancherd/blob/bdf5642d62d50b9cd23eaabfdc848637bf62e056/pkg/tpm/tpm.go#L37 pointing for e.g. to swtmp socket
Please see https://rancher.github.io/elemental/ for a successor of 'os2'. and esp. https://github.com/rancher/elemental-operator/issues/235
Can't join nodes that don't have a TPM device, getting the following error when calling
ros-installer -config-file /oem/userdata.yaml
:This is an issue at least for running vagrant images as VirtualBox currently doesn't support TPM, but applies to other hypervisors including raspberrypi4 and baremetal which don't have the TPM hardware in general
Note, this doesn't seem to be an issue for libvirt/qemu: https://documentation.suse.com/sles/15-SP3/html/SLES-all/tpm.html https://github.com/stefanberger/swtpm/issues/33
See also: https://github.com/stefanberger/swtpm/issues/33