Skip to content

Conversation

@raykyri
Copy link
Member

@raykyri raykyri commented Oct 8, 2025

Add a Node.js server and cloud metadata client to tdx-dummy for dynamic message serving and SSH configuration.


Open in Cursor Open in Web

This commit introduces the tdx-node service and a metadata client script. The metadata client fetches configuration from cloud providers (GCP/Azure) and sets up SSH access if a root password is provided. The tdx-node service runs a Node.js HTTP server that displays the fetched message.

The changes include:
- Adding systemd service files for metadata-client and tdx-node.
- Creating a Node.js application for the tdx-node service.
- Implementing a metadata client script to query cloud metadata and configure SSH.
- Updating mkosi configuration to include necessary packages (nodejs, npm, openssh-server, curl) and enable the new services.
- Ensuring Node.js dependencies are installed deterministically.

Co-authored-by: raykyri <[email protected]>
@cursor
Copy link

cursor bot commented Oct 8, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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

Successfully merging this pull request may close these issues.

3 participants