{"id":27390303,"url":"https://github.com/ailispaw/rancheros-iso-box","last_synced_at":"2025-04-13T19:39:38.440Z","repository":{"id":27840978,"uuid":"31331071","full_name":"ailispaw/rancheros-iso-box","owner":"ailispaw","description":"Vagrant Box with RancherOS ISO","archived":false,"fork":false,"pushed_at":"2015-07-03T20:27:22.000Z","size":220,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-02-27T14:37:23.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ailispaw.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}},"created_at":"2015-02-25T19:11:55.000Z","updated_at":"2020-10-11T03:11:04.000Z","dependencies_parsed_at":"2022-09-02T15:51:35.613Z","dependency_job_id":null,"html_url":"https://github.com/ailispaw/rancheros-iso-box","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Francheros-iso-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Francheros-iso-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Francheros-iso-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Francheros-iso-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ailispaw","download_url":"https://codeload.github.com/ailispaw/rancheros-iso-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248769976,"owners_count":21158891,"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":[],"created_at":"2025-04-13T19:39:37.926Z","updated_at":"2025-04-13T19:39:38.409Z","avatar_url":"https://github.com/ailispaw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant Box with RancherOS ISO\n\nPackaging a Vagrant box for [RancherOS](https://github.com/rancherio/os) with the original [RancherOS ISO](https://github.com/rancherio/os/releases)\n\n## Packaging\n\n### Requirements\n\n- [VirtualBox](https://www.virtualbox.org/)\n- [Packer](https://packer.io/)\n- [RancherOS ISO](https://github.com/rancherio/os/releases)\n\n### Build a box\n\n```\n$ git clone https://github.com/ailispaw/rancheros-iso-box.git\n$ cd rancheros-iso-box\n$ packer build template.json\n```\n\nOr\n\n```\n$ git clone https://github.com/ailispaw/rancheros-iso-box.git\n$ cd rancheros-iso-box\n$ make\n```\n\n## Testing\n\n### Requirements\n\n- [VirtualBox](https://www.virtualbox.org/)\n- [Vagrant](https://www.vagrantup.com/)\n\n### Test a box\n\n```\n$ vagrant box add -f rancheros rancheros-virtualbox.box\n$ vagrant up\n$ export DOCKER_HOST=tcp://localhost:2375\n$ docker version\n```\n\nOr\n\n```\n$ make test\n```\n\n## Sample Vagrantfile\n\n```ruby\nmodule VagrantPlugins\n  module GuestLinux\n    class Plugin \u003c Vagrant.plugin(\"2\")\n      guest_capability(\"linux\", \"change_host_name\") do\n        Cap::ChangeHostName\n      end\n\n      guest_capability(\"linux\", \"configure_networks\") do\n        Cap::ConfigureNetworks\n      end\n    end\n  end\nend\n\nVagrant.configure(2) do |config|\n  config.vm.define \"rancheros\"\n\n  config.vm.box = \"ailispaw/rancheros\"\n\n  config.vm.hostname = \"rancheros\"\n\n  config.vm.network \"private_network\", ip: \"192.168.33.10\"\n\n  config.vm.synced_folder \".\", \"/vagrant\", type: \"nfs\", mount_options: [\"nolock\", \"vers=3\", \"udp\"]\n\n  if Vagrant.has_plugin?(\"vagrant-triggers\") then\n    config.trigger.after [:up, :resume] do\n      info \"Adjusting datetime after suspend and resume.\"\n      run_remote \u003c\u003c-EOT.prepend(\"\\n\")\n        sudo system-docker stop ntp\n        sudo ntpd -n -q -g -I eth0 \u003e /dev/null\n        date\n        sudo system-docker start ntp\n      EOT\n    end\n  end\n\n  # Adjusting datetime before provisioning.\n  config.vm.provision :shell, run: \"always\" do |sh|\n    sh.inline = \u003c\u003c-EOT\n      system-docker stop ntp\n      ntpd -n -q -g -I eth0 \u003e /dev/null\n      date\n      system-docker start ntp\n    EOT\n  end\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Francheros-iso-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failispaw%2Francheros-iso-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Francheros-iso-box/lists"}