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

Add swtpm_setup command #116

Open
eljojo opened this issue Jan 9, 2025 · 2 comments
Open

Add swtpm_setup command #116

eljojo opened this issue Jan 9, 2025 · 2 comments

Comments

@eljojo
Copy link

eljojo commented Jan 9, 2025

Hello, amazing work done here!
I noticed I can't initialize VMs with Windows, due to missing swtpm_setup tool:

TASK ERROR: start failed: command 'swtpm_setup --tpmstate file:///dev/zvol/one_tera/vm-101-disk-1 --createek --create-ek-cert --create-platform-cert --lock-nvram --config /etc/swtpm_setup.conf --runas 0 --not-overwrite --tpm2 --ecc' failed: open3: exec of swtpm_setup --tpmstate file:///dev/zvol/one_tera/vm-101-disk-1 --createek --create-ek-cert --create-platform-cert --lock-nvram --config /etc/swtpm_setup.conf --runas 0 --not-overwrite --tpm2 --ecc failed: No such file or directory at /nix/store/1138wihmibq5bndqa10cman77jgwqq65-perl-5.38.2-env/lib/perl5/site_perl/5.38.2/PVE/Tools.pm line 494.

I imagine it has to be added to one of the build environments?

@eljojo
Copy link
Author

eljojo commented Jan 9, 2025

I have a working proof of concept here main...eljojo:proxmox-nixos:swtpm

@eljojo
Copy link
Author

eljojo commented Jan 9, 2025

I see #111 addresses this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant