{"id":20244275,"url":"https://github.com/mkulke/mkosi-playground","last_synced_at":"2026-02-12T02:38:14.796Z","repository":{"id":227113050,"uuid":"770493045","full_name":"mkulke/mkosi-playground","owner":"mkulke","description":"Building azure images with mkosi","archived":false,"fork":false,"pushed_at":"2025-01-14T17:47:22.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T01:43:02.090Z","etag":null,"topics":["azure","confidential-computing","mkosi","secureboot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkulke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-11T16:41:39.000Z","updated_at":"2024-12-12T07:58:26.000Z","dependencies_parsed_at":"2024-06-21T07:25:40.720Z","dependency_job_id":"8d621e0f-cef2-4f46-a48a-bfe369317179","html_url":"https://github.com/mkulke/mkosi-playground","commit_stats":null,"previous_names":["mkulke/mkosi-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkulke/mkosi-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkulke%2Fmkosi-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkulke%2Fmkosi-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkulke%2Fmkosi-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkulke%2Fmkosi-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkulke","download_url":"https://codeload.github.com/mkulke/mkosi-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkulke%2Fmkosi-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29355168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","confidential-computing","mkosi","secureboot"],"created_at":"2024-11-14T09:13:59.810Z","updated_at":"2026-02-12T02:38:14.781Z","avatar_url":"https://github.com/mkulke.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkosi playground\n\nBuilding azure images with mkosi\n\n## Requirements\n\nnix w/ flakes support (https://nixos.org/nix/)\n\n## Build\n\n### Enter development environment\n\n```bash\nnix develop\n```\n\n### Create secure boot key\n\n```bash\nmkosi genkey\n```\n\n### Build raw image\n\n```bash\nmkosi -C ./initrd build\nmkosi build\n```\n\n### Test in qemu\n\nUse root for KVM acceleration\n\n```bash\nsudo $(which mkosi) qemu\n``` \n\n## Publish to Azure\n\n### Convert secure boot certificate\n\n```bash\nopenssl x509 -in mkosi.crt -out additionalsignature.der -outform DER\nbase64 -w0 additionalsignature.der\n```\n\n### Edit uplosi.conf\n\nPopulate the `uplosi.conf` values according to the image gallery and image definition. Put the base64 encoded certificate string into the `additionalSignatures` list.\n\nNote: The image definition has to support trusted launch.\n\n### Publish\n\n```bash\nuplosi upload image.raw\n```\n\n## Deploy\n\n```bash\ncd launch-vm\ngo mod tidy\ngo build\n./launch-vm -h\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkulke%2Fmkosi-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkulke%2Fmkosi-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkulke%2Fmkosi-playground/lists"}