{"id":29959490,"url":"https://github.com/victordejong/debian-preseed-generator","last_synced_at":"2026-04-11T20:47:48.951Z","repository":{"id":303496732,"uuid":"1012135924","full_name":"victordejong/debian-preseed-generator","owner":"victordejong","description":"GitLab mirror","archived":false,"fork":false,"pushed_at":"2026-01-08T23:35:42.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-11T20:47:12.310Z","etag":null,"topics":["automation","debian","preseed"],"latest_commit_sha":null,"homepage":"https://gitlab.com/victordejong/debian-preseed-generator","language":"Shell","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/victordejong.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":"2025-07-01T21:48:39.000Z","updated_at":"2026-01-08T23:35:46.000Z","dependencies_parsed_at":"2025-08-30T00:17:19.698Z","dependency_job_id":"22892931-b2af-40f0-a326-193da56a5994","html_url":"https://github.com/victordejong/debian-preseed-generator","commit_stats":null,"previous_names":["victordejong/debian-preseed-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victordejong/debian-preseed-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordejong%2Fdebian-preseed-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordejong%2Fdebian-preseed-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordejong%2Fdebian-preseed-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordejong%2Fdebian-preseed-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victordejong","download_url":"https://codeload.github.com/victordejong/debian-preseed-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordejong%2Fdebian-preseed-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31695165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T20:18:30.949Z","status":"ssl_error","status_checked_at":"2026-04-11T20:18:29.982Z","response_time":54,"last_error":"SSL_read: 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":["automation","debian","preseed"],"created_at":"2025-08-03T22:00:59.928Z","updated_at":"2026-04-11T20:47:48.943Z","avatar_url":"https://github.com/victordejong.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# debian-preseed-generator\n\nThis project exists to provide a miminum configuration for a full Debian installation with sane defaults used where relevant.\n\nThe preseed installs to a singe disk with LVM and uses a simple static networking setup or DHCP. The default user/pass is `jan/Welkom123!@#`, with the same password for the root user.\n\n`sudo` and `ssh-server` are installed by default.\n## Requirements\n\n- `python3`\n- `python3-venv`\n- `bash`\n- (Optional) `grub` toolset (for generating a grub password with `grub-mkpasswd-pbkdf2`)\n\n## Howto\n\n1. Clone this project:\n```bash\ngit clone https://gitlab.com/victordejong/debian-preseed-generator\ncd debian-preseed-generator\n```\n2. (Optional) 2 files can be used to automatically provide answers for the template. `vars` can be used and is the file `deploy.sh` writes to to save answers you provided manually for future use. `vars.custom` fulfills the same function as `vars`, but takes precedence and will never be written to by the `deploy.sh` script. For any missing option the default value will be used, see [Default values](#default-values).\n\n3. To render the preseed file and make it available over HTTP, run this command from this repository:\n\n```bash\n./deploy.sh\n```\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\nFor more options, see `./deploy help` \n\n4. Add the following to the Debian Installer `linux` GRUB entry BEFORE the dashes (`---`):\n```text\nlinux   [...] auto=true hostname=[HOSTNAME] domain=[EXAMPLE.COM] url=http://WEBHOST:PORT/preseed.cfg\n```\n\n\u003e [!WARNING]\n\u003e When starting the installer, the preseed file is configured as such to overwrite all data on the target disk if there is any, without prompting the user!\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\nThe domain part is not necessary and may be left empty `domain=`.\n\n## Default values\n\nCurrently, the following default values are active.\n```bash\n# Unset static network configuration enables DHCP in the preseed file\nDEBINSTALL_NET_IP=\nDEBINSTALL_NET_MASK=\nDEBINSTALL_NET_GW=\nDEBINSTALL_NET_NS=\n\nDEBINSTALL_MACHINE_HOSTNAME='debian'\nDEBINSTALL_DOMAIN='example.org'\nDEBINSTALL_EXTRA_PACKAGES='sudo htop build-essential'\n\nDEBINSTALL_BOOTDISK='/dev/sda'\n\n# Timezone and country are for the Netherlands\nDEBINSTALL_COUNTRY='nl'\nDEBINSTALL_TIMEZONE='Europe/Amsterdam'\n\nDEBINSTALL_FULL_USERNAME='Jan Modaal'\n# Both passwords are 'Welkom123!@#'\nDEBINSTALL_USER_PASS='$6$KGtfj9Pk5Bf0lXxe$UbreL0Kpk3XymAhXwhlIx0DhS9PqbQWtjcrAq8sTBUi/kf4nyl.WgRzEyaSd7HtSvdqHmXS5JZk0G.zvS1YeF0'\nDEBINSTALL_GRUB_PASS='grub.pbkdf2.sha512.10000.D653BB7638769417A9A6A35F5E6ACFEB1DDD6C28321581AB800A02278255AF36CEDDA55919D197992590127DEA20957A9A593E8615CDA1729EC30FB76FB85962.906A00F5C102E490C2D61570390F272E7B450466CE6C71D923C4792FD2CAE25D862E6A7915DD3F90669087CFFF2FC2E72BFF95257E7C741893D4D241F0002DB7'\n```\n\nAn example static networking configuration:\n```bash\nDEBINSTALL_NET_IP=10.0.0.2\nDEBINSTALL_NET_MASK=255.255.255.0\nDEBINSTALL_NET_GW=10.0.0.1\nDEBINSTALL_NET_NS=1.1.1.1\n```\n\nThe `DEBINSTALL_USER_PASS` can be generated as follows:\n```bash\nopenssl passwd -6 [PASSWORD]\n```\n\nThe `DEBINSTALL_GRUB_PASS` can be generated using the `grub-mkpasswd-pbkdf2` tool, which is usually shipped with the relevant `grub2` package for your system.\n\n## Supported OS'\n\nThis preseed has been tested on the following OS':\n\n - Debian 11 Bullseye\n - Debian 12 Bookworm\n - Debian 13 Trixie\n\nOther version might also work, but are not guaranteed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictordejong%2Fdebian-preseed-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictordejong%2Fdebian-preseed-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictordejong%2Fdebian-preseed-generator/lists"}