{"id":15090195,"url":"https://github.com/ditekshen/packer-cis","last_synced_at":"2026-01-05T04:37:02.346Z","repository":{"id":251484858,"uuid":"837540456","full_name":"ditekshen/packer-cis","owner":"ditekshen","description":"Packer CIS Vagrant Boxes for QEMU and VirtualBox","archived":false,"fork":false,"pushed_at":"2024-08-03T09:38:42.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T11:43:07.122Z","etag":null,"topics":["almalinux","cis-benchmark","cis-benchmarks","cis-benchmarks-for-linux","oraclelinux","partitions","qemu-kvm","redhat","rockylinux","ubuntu","vagrant","virtualbox"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/ditekshen.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":"2024-08-03T09:26:53.000Z","updated_at":"2024-08-04T06:31:02.000Z","dependencies_parsed_at":"2024-08-03T11:57:18.204Z","dependency_job_id":null,"html_url":"https://github.com/ditekshen/packer-cis","commit_stats":null,"previous_names":["ditekshen/packer-cis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditekshen%2Fpacker-cis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditekshen%2Fpacker-cis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditekshen%2Fpacker-cis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditekshen%2Fpacker-cis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ditekshen","download_url":"https://codeload.github.com/ditekshen/packer-cis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244826648,"owners_count":20516799,"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":["almalinux","cis-benchmark","cis-benchmarks","cis-benchmarks-for-linux","oraclelinux","partitions","qemu-kvm","redhat","rockylinux","ubuntu","vagrant","virtualbox"],"created_at":"2024-09-25T09:23:16.431Z","updated_at":"2026-01-05T04:37:02.305Z","avatar_url":"https://github.com/ditekshen.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Packer CIS\n\nSetup CIS Benchamrks partitioned Vagrant boxes for various operating systems under VirtualBox and Qemu virtualization platforms.\n\nReview [Center for Internet Security CIS Benchmarks Download](https://downloads.cisecurity.org/#/) for overview on the paritioning scheme and options for the respective operating system.\n\n## Purpose\n\nTest application deployment and the necessary configuration changes on top of CIS benchmarked operating systems.\n\n## Prerequisites\n\nEnable ```CRB``` or ```CodeReady``` and EPEL repositories.\n\n### Install Packer and Vagrant\n\n```bash\n$ dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo\n$ dnf install packer vagrant\n```\n\n### Install VirtualBox\n\n```bash\n$ dnf install binutils kernel-devel kernel-headers libgomp make patch gcc glibc-headers glibc-devel dkms\n$ dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo\n$ dnf install VirtualBox-7.0\n$ usermod -aG vboxusers $USER\n\n# Download and install Extension Pack\n$ wget https://download.virtualbox.org/virtualbox/7.0.20/Oracle_VM_VirtualBox_Extension_Pack-7.0.20.vbox-extpack\n$ VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-7.0.20.vbox-extpack\n```\n\n### Install Qemu KVM\n\n```bash\n$ dnf install qemu-kvm libvirt virt-install virt-viewer\n$ usermod -aG libvirt $USER\n$ usermod -aG qemu $USER\n```\n\n__Note__: VirtualBox and Qemu can coexist, but not run simultaneously.\n\n## Usage\n\nClone this repository, place ```.ISO``` files into the ```iso``` directory, including Virtbox Guest Additions, and then build a box of choice.\n\n```bash\n$ git clone https://github.com/ditekshen/packer-cis.git\n$ cd packer-cis\n\n# Example for VirtualBox\n$ packer build vbox/rocky9/\n\n# Example for Qemu\n$ packer build qemu/rocky9/\n```\n\n## Supported Operating Systems\n\n| OS                   | ISO                                  |\n|----------------------|--------------------------------------|\n| AlmaLinux 8 Minimal  | AlmaLinux-8.10-x86_64-minimal.iso    |\n| AlmaLinux 9 Minimal  | AlmaLinux-9.4-x86_64-minimal.iso     |\n| OracleLinux 8        | OracleLinux-R8-U10-x86_64-dvd.iso    |\n| OracleLinux 9        | OracleLinux-R9-U4-x86_64-dvd.iso     |\n| Redhat 8             | rhel-8.10-x86_64-dvd.iso             |\n| Redhat 9             | rhel-9.4-x86_64-dvd.iso              |\n| RockyLinux 8 Minimal | Rocky-8.10-x86_64-minimal.iso        |\n| RockyLinux 9 Minimal | Rocky-9.4-x86_64-minimal.iso         |\n| Ubuntu 22.04         | ubuntu-22.04.4-live-server-amd64.iso |\n| Ubuntu 24.04         | ubuntu-24.04-live-server-amd64.iso   |\n\n## References\n\n- [Center for Internet Security CIS Benchmarks Download](https://downloads.cisecurity.org/#/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditekshen%2Fpacker-cis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fditekshen%2Fpacker-cis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditekshen%2Fpacker-cis/lists"}