{"id":18192011,"url":"https://github.com/codekow/vmware-baremetal","last_synced_at":"2025-04-07T16:28:39.316Z","repository":{"id":131119956,"uuid":"458395287","full_name":"codekow/vmware-baremetal","owner":"codekow","description":"Nest Bare Metal in VMware","archived":false,"fork":false,"pushed_at":"2024-04-23T03:36:28.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T18:49:38.354Z","etag":null,"topics":["openshift","vbmc","vmware-vsphere","vsbmc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-02-12T02:02:00.000Z","updated_at":"2024-04-23T03:36:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"be6d4586-3087-4590-9d34-e04ecbcbf423","html_url":"https://github.com/codekow/vmware-baremetal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fvmware-baremetal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fvmware-baremetal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fvmware-baremetal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fvmware-baremetal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekow","download_url":"https://codeload.github.com/codekow/vmware-baremetal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247687255,"owners_count":20979426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["openshift","vbmc","vmware-vsphere","vsbmc"],"created_at":"2024-11-03T06:42:00.445Z","updated_at":"2025-04-07T16:28:39.296Z","avatar_url":"https://github.com/codekow.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bare Metal Node on VCenter\n\nThis repository is used to deploy emulated bare metal nodes using vsbmc in VMware VCenter.\n\nEdit the following as appropriate:\n- [inventory](inventory)\n- [vcenter_vars.yml](vcenter_vars_example.yml) - rename / modify the example with login info, etc\n\n## Quickstart Setup\n```\n# activate python env\npython -m venv venv\n. venv/bin/activate\n```\n\n```\n# everything below is a one time setup\n# this installs ansible in your virtualenv\n\n# setup ansible\npip install -U pip\npip install -r requirements.txt\n\n# install collection\nansible-galaxy collection install -r ansible-galaxy.yml\n```\n\n## Ansible Commands\n```\n# deploy all the things\nansible-playbook playbooks/main.yml -e @vcenter_vars.yml\n```\n\n```\n# deploy only bare metal emulated vms\nansible-playbook playbooks/playbooks/deploy_vmware_baremetal.yml -e @vcenter_vars.yml\n```\n\n## VMware Notes\n\nAssumption: Two vCenter Accounts\n- Admin Account\n- Installer Account (w/ roles assigned)\n\n\nScript to setup roles in vCenter\n```\n# setup vmware roles (optional)\n. hacks/vsphere_roles.sh\nvsphere_create_roles\n```\n\n### Admin Account\n\n`hacks/vsphere_roles.sh` is available to help automate the creation of vCenter roles with a vCenter administrator account.\n\n### Installer Account\n\nAssign the following roles to the vCenter account being used to install OpenShift at various levels in vCenter listed below.\n\n### Precreated virtual machine folder in vSphere vCenter\n\nRole Name | Propagate | Entity\n--- | --- | ---\nopenshift-vcenter-level | False | vCenter\nReadOnly | False | Datacenter\nopenshift-cluster-level | True | Cluster\nopenshift-datastore-level | False | Datastore\nReadOnly | False | Switch\nopenshift-portgroup-level | False | Port Group\nReadOnly | True | Virtual Machine folder (Top Level)\nopenshift-folder-level | True | Virtual Machine folder\n\nIn a cascading (nested) folder organization you will need  \"`Read-only`\" permissions \nwith \"`Propagate to children`\" from the top folder level.\n\nExample Service Account: `OCPInstaller`\n\n## References\n- [Ansible - community.vmware.vmware_guest](https://docs.ansible.com/ansible/2.10/modules/vmware_guest_module.html)\n- [Virtual BMC for Vsphere](https://github.com/kurokobo/virtualbmc-for-vsphere)\n- [CentOS 8 - Cloud Images](https://cloud.centos.org/centos/8-stream/x86_64/images)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fvmware-baremetal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekow%2Fvmware-baremetal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fvmware-baremetal/lists"}