{"id":15750835,"url":"https://github.com/rgl/flatcar-linux-vagrant","last_synced_at":"2025-10-03T14:04:33.553Z","repository":{"id":139752003,"uuid":"271123559","full_name":"rgl/flatcar-linux-vagrant","owner":"rgl","description":"This builds a Vagrant flatcar-linux Base Box","archived":false,"fork":false,"pushed_at":"2023-09-22T07:22:30.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T09:01:35.334Z","etag":null,"topics":["flatcar","flatcar-linux","packer","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rgl.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":"2020-06-09T22:34:50.000Z","updated_at":"2024-03-22T15:33:21.000Z","dependencies_parsed_at":"2023-09-22T11:33:02.869Z","dependency_job_id":"255f17a7-8d03-4620-9dfa-9328c1d0938a","html_url":"https://github.com/rgl/flatcar-linux-vagrant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rgl/flatcar-linux-vagrant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fflatcar-linux-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fflatcar-linux-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fflatcar-linux-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fflatcar-linux-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/flatcar-linux-vagrant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fflatcar-linux-vagrant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278173367,"owners_count":25942293,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["flatcar","flatcar-linux","packer","vagrant"],"created_at":"2024-10-04T07:00:22.784Z","updated_at":"2025-10-03T14:04:33.510Z","avatar_url":"https://github.com/rgl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This builds a Vagrant [Flatcar Container Linux `flatcar-linux`](https://www.flatcar.org/) Base Box.\n\n# Usage\n\nInstall [Packer (1.6+)](https://www.packer.io/) and [Vagrant (2.2.9+)](https://www.vagrantup.com/).\n\nIf you are on a Debian/Ubuntu host, you should also install and configure the NFS server. E.g.:\n\n```bash\n# install the nfs server.\nsudo apt-get install -y nfs-kernel-server\n\n# enable password-less configuration of the nfs server exports.\nsudo bash -c 'cat \u003e/etc/sudoers.d/vagrant-synced-folders' \u003c\u003c'EOF'\nCmnd_Alias VAGRANT_EXPORTS_CHOWN = /bin/chown 0\\:0 /tmp/*\nCmnd_Alias VAGRANT_EXPORTS_MV = /bin/mv -f /tmp/* /etc/exports\nCmnd_Alias VAGRANT_NFSD_CHECK = /etc/init.d/nfs-kernel-server status\nCmnd_Alias VAGRANT_NFSD_START = /etc/init.d/nfs-kernel-server start\nCmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar\n%sudo ALL=(root) NOPASSWD: VAGRANT_EXPORTS_CHOWN, VAGRANT_EXPORTS_MV, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY\nEOF\n```\n\nFor more information see the [Vagrant NFS documentation](https://www.vagrantup.com/docs/synced-folders/nfs.html).\n\n## qemu-kvm usage\n\nInstall qemu-kvm:\n\n```bash\napt-get install -y qemu-kvm\napt-get install -y sysfsutils\napt-get install -y rng-tools\nsystool -m kvm_intel -v\n```\n\nType `make build-libvirt` and follow the instructions.\n\nTry the example guest:\n\n```bash\ncd example\napt-get install -y virt-manager libvirt-dev\nvagrant plugin install vagrant-libvirt # see https://github.com/vagrant-libvirt/vagrant-libvirt\nvagrant up --provider=libvirt --no-destroy-on-error\nvagrant ssh\nexit\nvagrant destroy -f\n```\n\n# Packer boot_command\n\nThe following table describes the steps used to install flatcar-linux.\n\n**NB** This Packer `boot_command` method of installation is quite brittle, if you are having trouble installing, try increasing the install wait timeout.\n\n| step                                   | boot_command                                                                 |\n|---------------------------------------:|------------------------------------------------------------------------------|\n| switch to root                         | `sudo -i\u003center\u003e`                                                             |\n| configure the shell to abort on error  | `set -eu\u003center\u003e`                                                             |\n| download the ignition configuration    | `wget -q http://{{.HTTPIP}}:{{.HTTPPort}}/tmp/ignition.json\u003center\u003e\u003cwait\u003e`    |\n| install to disk                        | `time flatcar-install -d /dev/sda -C stable -i ignition.json\u003center\u003e`         |\n| wait 3m for the installation to finish | `\u003cwait3m\u003e`                                                                   |\n| reboot to the installed system         | `reboot\u003center\u003e`                                                              |\n\n# Reference\n\n* [Installing Flatcar Container Linux to disk](https://www.flatcar.org/docs/latest/installing/bare-metal/installing-to-disk/)\n* [Configuration Specification](https://www.flatcar.org/docs/latest/provisioning/config-transpiler/configuration/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fflatcar-linux-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fflatcar-linux-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fflatcar-linux-vagrant/lists"}