{"id":20049001,"url":"https://github.com/mrflynn/embedded-systems-machine-template","last_synced_at":"2026-04-15T13:32:17.486Z","repository":{"id":95902447,"uuid":"222361942","full_name":"MrFlynn/embedded-systems-machine-template","owner":"MrFlynn","description":"Packer machine template that generates a Vagrant box with embedded systems \u0026 Raspberry Pi programming tools.","archived":false,"fork":false,"pushed_at":"2019-11-27T23:40:47.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T09:40:07.958Z","etag":null,"topics":["ansible","embedded-systems","packer-builder","vagrant"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/MrFlynn.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":"2019-11-18T04:13:49.000Z","updated_at":"2024-05-06T23:04:20.000Z","dependencies_parsed_at":"2023-09-01T04:19:47.559Z","dependency_job_id":null,"html_url":"https://github.com/MrFlynn/embedded-systems-machine-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MrFlynn/embedded-systems-machine-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFlynn%2Fembedded-systems-machine-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFlynn%2Fembedded-systems-machine-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFlynn%2Fembedded-systems-machine-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFlynn%2Fembedded-systems-machine-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrFlynn","download_url":"https://codeload.github.com/MrFlynn/embedded-systems-machine-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFlynn%2Fembedded-systems-machine-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"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":["ansible","embedded-systems","packer-builder","vagrant"],"created_at":"2024-11-13T11:47:54.202Z","updated_at":"2026-04-15T13:32:17.480Z","avatar_url":"https://github.com/MrFlynn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Embedded Systems Machine Template\n\nThis repository contains a packer template for building a Vagrant box for use \nin CS120B and CS122A at [UCR](www.ucr.edu). I created this template to allow for\npeople to easily get started with an environment with all of the tools and\nscripts necessary to get started in those courses. It also allows people to\nforward their internet connection to a Raspberry Pi Zero W (v1.1+) for labs that\nrequire that device.\n\n### Caveats\nThis VM was designed with macOS in mind. The process here could be modified to\nsupport other operating systems, but I use a Mac and don't have access to other\nOSes so I can only offer a solution for a Mac environment. If you would like to\ncontribute support for other operating systems, please feel free to submit a PR\nwith your changes.\n\n## Getting Started\nI'll assume you have the repository cloned to your machine already.\n\n1. First, you need to install VirtualBox, Packer, Vagrant, and Ansible.\n```bash\n$ brew install vagrant packer\n$ brew cask install virtualbox\n$ pip install --user ansible\n```\n2. Run the packer script. This may take some time so grab a coffee or a snack\n   while you wait.\n```bash\n$ cd /location/of/embedded-systems-machine-template\n$ packer build machine.json\n```\n3. `cd` into the output directory and run the VM.\n```bash\n$ cd output-vagrant/\n$ vagrant up\n```\n4. Once the machine is running, login using the vagrant account. The default\n   password is `vagrant` (obviously change this to something more secure/less\n   obvious).\n\n_Note:_ if you get any network interface errors, edit the `Vagrantfile` in your\noutput directory and edit the end of line 34 (the one beginning with\n`output.vm.network`). Either comment the line out, or if you have your Raspberry\nPi connected to your Mac, edit the last string of text with `enX: RNDIS/Ethernet\nGadget` where `X` is the physical network interface that your Pi is connected\nto. You can get this number by running the command `networksetup\n-listhardwareports`.\n\n## Todos:\n- Implement script to autoselect Raspberry Pi network port.\n- Add support for Windows.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrflynn%2Fembedded-systems-machine-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrflynn%2Fembedded-systems-machine-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrflynn%2Fembedded-systems-machine-template/lists"}