{"id":18512798,"url":"https://github.com/vmware/photon-os-installer","last_synced_at":"2026-06-10T01:00:19.087Z","repository":{"id":45892310,"uuid":"310562728","full_name":"vmware/photon-os-installer","owner":"vmware","description":"Photon OS Installer","archived":false,"fork":false,"pushed_at":"2026-06-05T23:20:27.000Z","size":601,"stargazers_count":17,"open_issues_count":3,"forks_count":19,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-06-06T01:12:17.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-Apachev2","code_of_conduct":"CODE-OF-CONDUCT.md","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":"2020-11-06T10:19:22.000Z","updated_at":"2026-06-05T23:20:31.000Z","dependencies_parsed_at":"2023-09-26T18:23:11.925Z","dependency_job_id":"e16d967b-c4d7-4987-8c29-bd9b328f17dc","html_url":"https://github.com/vmware/photon-os-installer","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/vmware/photon-os-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fphoton-os-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fphoton-os-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fphoton-os-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fphoton-os-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware","download_url":"https://codeload.github.com/vmware/photon-os-installer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fphoton-os-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34132030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-06T15:35:28.975Z","updated_at":"2026-06-10T01:00:18.893Z","avatar_url":"https://github.com/vmware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Photon OS Installer\n\n### What is Photon Installer\n\nPhoton OS Installer Project aims to seperate out installer source code from [Photon project](https://github.com/vmware/photon/tree/master) and use it as a python library. This Project can be used to create a photon-installer binary that can be used to install Photon OS when invoked with appropriate arguments.\n\n### Features\n\n - Generates Photon Installer executable.\n - Creates Photon Images(ISO, GCE, AMI, AZURE, OVA...).\n - Makes Photon Installer Source code installable through pip interface and use it as a python library.\n\n### Dependencies\n\n `python3, python3-pyinstaller, python3-setuptools`\n\n### Building from source.\n\n Building Photon Installer Executable on Photon OS\n```bash\n➜  ~ tdnf install -y python3 python3-setuptools python3-pyinstaller\n➜  ~ git clone https://github.com/vmware/photon-os-installer.git\n➜  ~ cd photon-os-installer\n➜  ~ pyinstaller --onefile photon-installer.spec\n```\n Building Photon Installer Executable on Other distros\n```bash\n➜  ~ pip3 install setuptools pyinstaller\n➜  ~ git clone https://github.com/vmware/photon-os-installer.git\n➜  ~ cd photon-os-installer\n➜  ~ pyinstaller --onefile photon-installer.spec\n```\n\nThe executable generated can be found inside dist directory created.\n\nCurrently following images can be built based on architecture mentioned in table.\n| x86_64        | arm64         |\n| ------------- | -------------:|\n| iso           | iso           |\n| ova           | ova           |\n| ova_uefi      | ova_uefi      |\n| minimal-iso   |               |\n| rt-iso        |               |\n| ami           |               |\n| gce           |               |\n| azure         |               |\n| rpi3          |               |\n\n\nBuilding Photon Cloud images using Photon OS Installer\n```bash\n➜  ~ pip3 install git+https://github.com/vmware/photon-os-installer.git\n➜  ~ git clone https://github.com/vmware/photon.git\n➜  ~ cd photon\n➜  ~ make image IMG_NAME=ami\n```\n\nUsing Photon OS Installer as python library\\\ninstall config mentioned below can be referred from [Photon Project](https://github.com/vmware/photon/blob/master/installer/sample_ks.cfg)\n```python\nimport photon_installer\nfrom photon_installer.installer import Installer\nimport json\nwith open('path_to_file/config.json') as f:\n    install_config = json.load(f)\ninstaller = Installer(working_directory='/root/photon/stage/ova', rpm_path='/root/photon/stage/RPMS', log_path='/root/photon/stage/LOGS')\ninstaller.configure(install_config)\ninstaller.execute()\n```\n\n### Contributing\n\nThe Photon OS Installer project team welcomes contributions from the community. If you wish to contribute code and you have not signed our contributor license agreement (CLA), our bot will update the issue when you open a Pull Request. For any questions about the CLA process, please refer to our [FAQ](https://cla.vmware.com/faq).\n\nLicense\n----\n\n[Apache-2.0](https://spdx.org/licenses/Apache-2.0.html)\n[GPL-2.0](https://github.com/vmware/photon-os-installer/blob/master/LICENSE-GPL2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fphoton-os-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware%2Fphoton-os-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fphoton-os-installer/lists"}