{"id":21924557,"url":"https://github.com/deric/ovh-byolinux","last_synced_at":"2026-04-29T22:02:52.234Z","repository":{"id":264834538,"uuid":"868462971","full_name":"deric/ovh-byolinux","owner":"deric","description":"Bring Your Own Linux template","archived":false,"fork":false,"pushed_at":"2024-11-26T12:02:16.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T11:26:06.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deric.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}},"created_at":"2024-10-06T12:55:51.000Z","updated_at":"2024-11-26T12:02:19.000Z","dependencies_parsed_at":"2024-11-26T11:41:02.823Z","dependency_job_id":null,"html_url":"https://github.com/deric/ovh-byolinux","commit_stats":null,"previous_names":["deric/ovh-byolinux"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deric/ovh-byolinux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fovh-byolinux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fovh-byolinux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fovh-byolinux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fovh-byolinux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deric","download_url":"https://codeload.github.com/deric/ovh-byolinux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deric%2Fovh-byolinux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-28T21:15:00.094Z","updated_at":"2026-04-29T22:02:52.201Z","avatar_url":"https://github.com/deric.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ovh-byolinux\nBring Your Own Linux template\n\n\n## Requirements\n\n - [packer](https://developer.hashicorp.com/packer/tutorials/docker-get-started/get-started-install-cli)\n - QEMU (optional)\n\nOn Debian:\n```\napt install qemu-utils qemu-system-x86 bridge-utils libvirt-daemon libvirt-daemon-system\n```\n\ninstall packer:\n```\ncurl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -\nsudo apt-add-repository \"deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main\"\nsudo apt install packer\n```\n\n## Usage\n\nFill required variable into e.g. `example.pkrvars.hcl`:\n```\ncat \u003c\u003cEOF \u003e example.pkrvars.hcl\nhostname = \"host.example.com\"\nssh_password = \"\"\nroot_authorized_keys = \"\"\nEOF\n```\nSee `variables.pkr.hcl` for more information.\n\nOn the first initialize plugins\n```\npacker init debian/12/base.pkr.hcl\n```\n\nthen run build with provided `var-file`\n```\npacker build -var-file=example.pkrvars.hcl debian/12\n```\n\n## How does this work?\n\n - Fetch Debian `iso_file` from `iso_mirror`, see `variables.pkr.hcl`\n - Debian installer will be executed in QEMU VM\n - You can check installation progress via VNC, e.g `vnc://127.0.0.1:5901`\n - `12/base.preseed` file is used to automatically answer all questions\n - After finising basic Debian installation, custom scripts can be executed over `ssh`, see `provisioner \"shell\"`\n - If the installation is successful image disk will be converted in `qcow2` image\n - You can check the the final image with e.g. `qemu-system-x86_64 -m 2G -enable-kvm -boot menu=on -device e1000e -drive file=build/2024-10-06_13-14/host.example.com.qcow2`\n - Use `debian` user and password you've configured as `ssh_password`\n - Final image contains `/root/.ovh/make_image_bootable.sh` script that should reconfigure `grub` (see `scripts/make_image_bootable.sh`)\n\n ## Notes\n\n - Don't try to modify partitioning in preseed file, OVH installer will create partitions (data from provided image are copied)\n - If the installed server is unreachable, you might be missing network card drivers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderic%2Fovh-byolinux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderic%2Fovh-byolinux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderic%2Fovh-byolinux/lists"}