Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TPM emulation settings don't get copied to installed system #114

Closed
kkaempf opened this issue Aug 4, 2022 · 1 comment · Fixed by #116
Closed

TPM emulation settings don't get copied to installed system #114

kkaempf opened this issue Aug 4, 2022 · 1 comment · Fixed by #116
Assignees
Labels
kind/bug Something isn't working

Comments

@kkaempf
Copy link
Contributor

kkaempf commented Aug 4, 2022

While I have

...
spec:
  config:
    cloud-config:
      users:
      - name: root
        passwd: root
    elemental:
      install:
        debug: true
        device: /dev/mmcblk1
        reboot: false
      registration:
        emulate-tpm: true
        emulated-tpm-seed: 3
        no-smbios: false
      system-agent: {}
  machineName: m-${System Information/Manufacturer}-${System Information/Product Name}-${System
    Information/UUID}
...

in the machineRegistration, /oem/registration/config.yaml (in the installed system) does not show the tpm emulation parameters:

elemental:
  registration:
    url: https://192.168.0.33/elemental/registration/pc8slmdvrpwh8tt5tlv79q8s74q2r27sgsz2pxv8bbcpz22kzjbzxm
    ca-cert: |-
      -----BEGIN CERTIFICATE-----
      MIIBpzCCAU2gAwIBAgIBADAKBggqhkjOPQQDAjA7MRwwGgYDVQQKExNkeW5hbWlj
      bGlzdGVuZXItb3JnMRswGQYDVQQDExJkeW5hbWljbGlzdGVuZXItY2EwHhcNMjIw
      ODAzMTQzMzMzWhcNMzIwNzMxMTQzMzMzWjA7MRwwGgYDVQQKExNkeW5hbWljbGlz
      dGVuZXItb3JnMRswGQYDVQQDExJkeW5hbWljbGlzdGVuZXItY2EwWTATBgcqhkjO
      PQIBBggqhkjOPQMBBwNCAASnKoQc7dt6p+cvQAN0HWuVkZ7CQ1xB+uEZ22d9yKnM
      6QnyJAQfohuzGBipibg02NReLnTkY1hu4T3zZOwSmPSzo0IwQDAOBgNVHQ8BAf8E
      BAMCAqQwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUV9KbCuKnYr0V/2UH5u8c
      D5Qy6VQwCgYIKoZIzj0EAwIDSAAwRQIhAJHWr4XLCHfSvFK4EBijlTmpieeFxQME
      LPlrJxW+3S3wAiALM+MRedogV/C16tpJDlkOUhyhHAQMyE8KV0K/xDUmMg==
      -----END CERTIFICATE-----
@kkaempf kkaempf added the kind/bug Something isn't working label Aug 4, 2022
@davidcassany
Copy link
Contributor

Oh yes, this should be an easy fix. PR is comming ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants