{"id":18597752,"url":"https://github.com/aem-design/aemdesign-vm","last_synced_at":"2026-04-28T18:04:29.303Z","repository":{"id":80556402,"uuid":"199240740","full_name":"aem-design/aemdesign-vm","owner":"aem-design","description":"a project for creating VM's for prod and dev in cloud or onprem using Packer.io","archived":false,"fork":false,"pushed_at":"2024-10-17T16:22:38.000Z","size":60,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-16T14:09:52.015Z","etag":null,"topics":["automation","devops","docker","packer","packer-scripts","packer-template"],"latest_commit_sha":null,"homepage":"http://aem.design/","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/aem-design.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"patreon":"maxbarrass","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-28T04:11:22.000Z","updated_at":"2021-01-03T09:08:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee8150cf-0951-4c64-8189-b129dcd4f11b","html_url":"https://github.com/aem-design/aemdesign-vm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aem-design/aemdesign-vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aem-design","download_url":"https://codeload.github.com/aem-design/aemdesign-vm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-vm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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","devops","docker","packer","packer-scripts","packer-template"],"created_at":"2024-11-07T01:29:18.285Z","updated_at":"2026-04-28T18:04:29.271Z","avatar_url":"https://github.com/aem-design.png","language":"Shell","funding_links":["https://patreon.com/maxbarrass"],"categories":[],"sub_categories":[],"readme":"# AEM Design - VM Kickstarter\n\n[![build_status](https://travis-ci.org/aem-design/aemdesign-vm.svg?branch=master)](https://travis-ci.org/aem-design/aemdesign-vm) \n[![github license](https://img.shields.io/github/license/aem-design/aemdesign-vm)](https://github.com/aem-design/aemdesign-vm) \n[![github issues](https://img.shields.io/github/issues/aem-design/aemdesign-vm)](https://github.com/aem-design/aemdesign-vm) \n[![github last commit](https://img.shields.io/github/last-commit/aem-design/aemdesign-vm)](https://github.com/aem-design/aemdesign-vm) \n[![github repo size](https://img.shields.io/github/repo-size/aem-design/aemdesign-vm)](https://github.com/aem-design/aemdesign-vm) \n[![docker stars](https://img.shields.io/docker/stars/aemdesign/aemdesign-vm)](https://hub.docker.com/r/aemdesign/aemdesign-vm) \n[![docker pulls](https://img.shields.io/docker/pulls/aemdesign/aemdesign-vm)](https://hub.docker.com/r/aemdesign/aemdesign-vm) \n[![github release](https://img.shields.io/github/release/aem-design/aemdesign-vm)](https://github.com/aem-design/aemdesign-vm)\n\n\nThis folder contains all of the VM Kickstarter scripts that will be used form creating VM.\n\n## BuildLocal Dev Process Overview\n\n\n1. Setup Variables\n2. Verify VM Appliance\n    * Verify Appliance has been built successfully [if OVF does not exists] then delete build folder\n3. Check Configurations\n    * Check if dependencies are installed\n    * init and get repos\n    * secure ssh keys\n4. Update VirtualBox Settings and Network Adapters\n    * Check if hostonlyif exists and create if not\n    * update VM networks\n    * update extra params\n5. Build VM Appliance\n    * build vm using packer\n6. Configure VM\n    * import VM Appliance\n    * update VM network config\n    * update VM config\n    * udpate VM lan\n7. Start VM\n    * start and wait\n8. Local Dev Setup\n    * test VM is configured\n    * run LocalDev playbook\n    * update VM lan\n    * verify VM lan has been updated\n    * optional build docker containers\n\n## Getting Started\n\n\n1. clone repo\n2. run dependencies install\n\n```bash\nmvn clean install -Pdependencies\n```\n\n2.1 generate ssh keys\n```bash\nmvn clean install -Pgeneratekeys\n```\n\n3.1 Run build of VMware\n\n```bash\nmvn verify -PverifyTemplate -PcreateVM -Dpacker.var-file=settings/variables-online-dev1.json -Dpacker.template=template-rhel-build.json \n```\n\n3.2 Run build of Virtual Box\n\noffline:\n```bash\nmvn verify -PverifyTemplate -PcreateVM -Dpacker.var-file=settings/variables-offline.json -Dpacker.template=template-centos-atomic-virtualbox.json\n```\n\nonline:\n```bash\nmvn verify -PverifyTemplate -PcreateVM -Dpacker.var-file=settings/variables-online-dev1.json -Dpacker.template=template-rhel-build-virtualbox.json \u003e log/rhel-build-dev1-`date +%Y-%m-%d.%H:%M:%S`.log \u0026\n```\n\n4.1 Run build of OVA from VMX\n\n```bash\nmvn verify -PcreateOVA -Dvm.ovftool=\"/Applications/VMware Fusion.app/Contents/Library/VMware OVF Tool/ovftool\" -Dvm.vmx=\"./builds/aemdesign_2017-01-07_13-52-05/aemdesign.vmx\"\n```\n\n4.2 Run build of OVA from Virtual Box\n\n```bash\nmvn verify -PcreateVboxOVA -Dvmbox.path=\"./builds/aemdesign/\" -Dvmbox.name=\"aemdesign\" \u003e log/ova-build-dev1-`date +%Y-%m-%d.%H:%M:%S`.log \u0026\n```\n\n5.1 Run verify of VM Template VMWARE\n\n```bash\nmvn verify -PverifyTemplate -Dpacker.var-file=settings/variables-online-dev1.json -Dpacker.template=template-rhel-build.json \n```\n\n5.2 Run verify of VM Template Virtual Box\n\n```bash\nmvn verify -PverifyTemplate -Dpacker.var-file=settings/variables-online-localdev.json -Dpacker.template=template-rhel-build-virtualbox.json\n```\n\n## DEV Kickstarter Setup\n\n\n[Kickstart Options](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html)\n\n### Vmware Fusion\n\n\n\n### Template Settings\n\n\"headless\": false,\n\n### Prerequisites\n\n\n* Install ```Intel x86 Emulator Accelerator (HAXM)```\n\n```bash\necho y | android update sdk --no-ui --all --force --filter \u0016extra-intel-Hardware_Accelerated_Execution_Manager\n```\n\n* Reboot.\n\nTo verify that Intel HAXM is running, open a terminal window and execute the following command:\n```bash\nkextstat | grep intel\n```\n\nTo stop or start Intel HAXM, use the following commands:\n\nStop:\n```bash\nsudo kextunload –b com.intel.kext.intelhaxm\n```\n\nStart:\n```bash\nsudo kextload –b com.intel.kext.intelhaxm\n```\n\nTo uninstall Intel HAXM, open a terminal window and execute this command:\n```bash\nsudo /System/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh\n```\n\n## Errors\n\nWhen you get errors check here\n\nError:\nCould not open /dev/vmmon: No such file or directory.\n\nInstall:\nIntel x86 Emulator Accelerator (HAXM)\n\nIn terminal: \n\u003e android\n\nhttps://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x\n\n\n## Folders \u0026 Files\n\n\n* keys - private keys\n* builds - final output of build process\n* http - config folder that is used by Packer to into a webserver to be used during build\n* scripts - post installation scripts to be ran on the vms\n* settings - additional setting for diffrent modes\n* template-rhel.json - Packer template for RHEL build\n\n## Hot to generate new SHA1 hash of a file\n\nWhen you change ISO files you need to specify the checksum to generate a new one run this command\n\n```bash\nopenssl sha1 path/to/file\n```\n\n\n## Kickstarter File\n\ncreate encrypted password for kickstarter file\n```bash\n# md5\nopenssl passwd -1 \"password here\"\n```\nor\n```bash\n# sha512\necho \"password here\" | openssl dgst -sha512\n```\n\n## Monitor Headless VM Creation\n\n\nDefault VRDP port is 5901, while build is running you can watch the process by use any RDP tool, ex [CoRD](http://cord.sourceforge.net/), by connecting to ```127.0.0.1:5901```.\n\nOR\n\nVideo record for creation is enabled and files are stored in ```build/sessions``` directory, you can watch the .webm file for your headless installation process\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem-design%2Faemdesign-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faem-design%2Faemdesign-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem-design%2Faemdesign-vm/lists"}