{"id":15776474,"url":"https://github.com/mkinney/pxe","last_synced_at":"2025-06-20T11:08:36.011Z","repository":{"id":32047220,"uuid":"131452684","full_name":"mkinney/pxe","owner":"mkinney","description":"Experimentation with pxe boot ubuntu, centos, VMware ESXi","archived":false,"fork":false,"pushed_at":"2023-01-24T23:21:13.000Z","size":19,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T17:21:49.218Z","etag":null,"topics":["ansible","centos","esxi","pxe","pxe-boot","pxe-server","ubuntu","vmware","vsftpd"],"latest_commit_sha":null,"homepage":"","language":null,"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/mkinney.png","metadata":{"files":{"readme":"readme.txt","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}},"created_at":"2018-04-28T23:56:56.000Z","updated_at":"2022-05-21T16:59:57.000Z","dependencies_parsed_at":"2023-02-14T02:31:00.402Z","dependency_job_id":null,"html_url":"https://github.com/mkinney/pxe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkinney/pxe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkinney%2Fpxe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkinney%2Fpxe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkinney%2Fpxe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkinney%2Fpxe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkinney","download_url":"https://codeload.github.com/mkinney/pxe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkinney%2Fpxe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260933462,"owners_count":23084957,"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":["ansible","centos","esxi","pxe","pxe-boot","pxe-server","ubuntu","vmware","vsftpd"],"created_at":"2024-10-04T17:21:56.732Z","updated_at":"2025-06-20T11:08:30.995Z","avatar_url":"https://github.com/mkinney.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"My notes on getting a minimal PXE server for ESXi to boot from.\n\nSetup ansible:\n  virtualenv venv\n  source venv/bin/activate\n  pip install ansible\n  pip freeze \u003e requirements.txt\n\nSpin up a new minimal centos7 vm (with bridged networking)\n  hostname:pixie\n  ip: 192.168.0.107\n# Note: Ensure mikekinney has sudo no password\n\n# TODO: move stuff below into ansible\n\n# scp esxi67 iso to /tmp\nmkdir -p /mnt/iso\ncd /tmp\nmount -o loop VMware-VMvisor-Installer-6.7.0-8169922.x86_64.iso /mnt/iso\nmkdir -p /var/lib/tftpboot/images/esxi67\ncp -rf /mnt/iso/* /var/lib/tftpboot/images/esxi67\numount /mnt/iso\n# If you do not do next step then it cannot find /b0 files\nsed -i 's/\\///g' /var/lib/tftpboot/images/esxi67/boot.cfg\n\n# scp esxi65 iso to /tmp\nmkdir -p /mnt/iso\ncd /tmp\nmount -o loop VMware-VMvisor-Installer-6.5.0-4564106.x86_64.iso /mnt/iso\nmkdir -p /var/lib/tftpboot/images/esxi65\ncp -rf /mnt/iso/* /var/lib/tftpboot/images/esxi65\numount /mnt/iso\n# If you do not do next step then it cannot find /b0 files\nsed -i 's/\\///g' /var/lib/tftpboot/images/esxi65/boot.cfg\n\n# scp centos iso to /tmp\ncd /tmp\nmount -o loop CentOS-7-x86_64-DVD-1708.iso /mnt/iso\nmkdir -p /var/lib/tftpboot/images/centos7\ncp /mnt/iso/images/pxeboot/vmlinuz /var/lib/tftpboot/images/centos7\ncp /mnt/iso/images/pxeboot/initrd.img /var/lib/tftpboot/images/centos7\nmkdir -p /var/ftp/pub/centos7\ncp -av /mnt/iso/* /var/ftp/pub/centos7\nchmod -R 755 /var/ftp/pub/centos7\numount /mnt/iso\n\n# scp ubuntu iso to /tmp\nscp ubuntu-18.04.2-server-amd64.iso root@pixie:/tmp\n# login to pixie (as root)\ncd /tmp\nmount -o loop ubuntu-18.04.2-server-amd64.iso /mnt/iso\nmkdir -p /var/lib/tftpboot/images/ubuntu18\ncp -r /mnt/iso/install/netboot/* /var/lib/tftpboot/images/ubuntu18/\nmkdir -p /var/ftp/pub/ubuntu18\ncp -av /mnt/iso/* /var/ftp/pub/ubuntu18\nchmod -R 755 /var/ftp/pub/ubuntu18\necho \"d-i live-installer/net-image string ftp://192.168.0.107/pub/ubuntu/install/filesystem.squashfs\" \u003e /var/ftp/pub/ubuntu18/preseed/local-sources.seed\numount /mnt/iso\n\n\nTesting:\n- Be sure to have at least 2gb ram for centos7 (otherwise weird out of disk space error)\n- Can add \"ks=ftp://192.168.0.107/pub/centos7/centos7.ks\" for kickstart\n- For testing, create a new linux vm (with bridged autodetect network option)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkinney%2Fpxe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkinney%2Fpxe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkinney%2Fpxe/lists"}