{"id":16355157,"url":"https://github.com/valicm/debian-pve-script","last_synced_at":"2026-04-25T23:35:53.411Z","repository":{"id":220562295,"uuid":"751898637","full_name":"valicm/debian-pve-script","owner":"valicm","description":"Add swap / install additional optional packages","archived":false,"fork":false,"pushed_at":"2024-02-11T12:21:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-20T07:35:53.485Z","etag":null,"topics":["debian","proxmox-ve","swap"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valicm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-02-02T15:14:35.000Z","updated_at":"2024-02-02T15:46:40.000Z","dependencies_parsed_at":"2024-02-02T19:31:00.580Z","dependency_job_id":"c6f52a40-5b46-4b78-880e-331adf7aae1a","html_url":"https://github.com/valicm/debian-pve-script","commit_stats":null,"previous_names":["valicm/debian-pve-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/valicm/debian-pve-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fdebian-pve-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fdebian-pve-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fdebian-pve-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fdebian-pve-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valicm","download_url":"https://codeload.github.com/valicm/debian-pve-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fdebian-pve-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32280979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"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":["debian","proxmox-ve","swap"],"created_at":"2024-10-11T01:39:30.619Z","updated_at":"2026-04-25T23:35:53.382Z","avatar_url":"https://github.com/valicm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\nBash script to create swap in Debian, with option to provide additional packages to be installed.\nSwap size is either automatically determined by RAM amount available on the machine \nor by optional argument on the script.\n\n## Motivation\nIn my homelab withing Proxmox VE I do have minimal Debian 12 cloud-init image as template.\nIt has bare minimum required to boot a VM, so that cloud-init image is minimal as possible.\n\nThis script is for post-installation to quickly create appropriate swap and optionally install additional\npackages.\n\n## Options\n- size =\u003e default's to 2x of RAM assigned, optionally can be set to custom value by script using argument `-s NUMERIC_VALUE`\n- packages =\u003e list of comma separated packages provided trough script argument as `-p rsync,git,curl`\n\n## Usage \n\n### Default\n```sh\nwget -qLO - https://github.com/valicm/debian-pve-script/raw/main/debian-pve-script.sh | bash\n```\n\n### Custom swap size 8GB, with git and rsync\n```sh\nwget -qLO - https://github.com/valicm/debian-pve-script/raw/main/debian-pve-script.sh | bash -s -- -s 8 -p git,rsync\n```\n\n### Running as sudo user\n```sh\nwget -qLO - https://github.com/valicm/debian-pve-script/raw/main/debian-pve-script.sh | sudo bash -s -- -s 8 -p git,rsync\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Fdebian-pve-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalicm%2Fdebian-pve-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Fdebian-pve-script/lists"}