{"id":17671619,"url":"https://github.com/antoinemartin/alpine-openstack-vm","last_synced_at":"2025-04-30T10:44:07.646Z","repository":{"id":43395662,"uuid":"456502885","full_name":"antoinemartin/alpine-openstack-vm","owner":"antoinemartin","description":"Alpine Openstack Virtual Machine","archived":false,"fork":false,"pushed_at":"2025-04-16T21:24:31.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T10:43:56.487Z","etag":null,"topics":["alpine-linux","openstack","virtualization"],"latest_commit_sha":null,"homepage":"","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/antoinemartin.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":"2022-02-07T12:48:21.000Z","updated_at":"2025-04-16T21:21:27.000Z","dependencies_parsed_at":"2024-10-24T06:17:23.892Z","dependency_job_id":"69e7c8f6-0fbc-4069-afa6-dac0a4a8aad5","html_url":"https://github.com/antoinemartin/alpine-openstack-vm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemartin%2Falpine-openstack-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemartin%2Falpine-openstack-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemartin%2Falpine-openstack-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemartin%2Falpine-openstack-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoinemartin","download_url":"https://codeload.github.com/antoinemartin/alpine-openstack-vm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251684943,"owners_count":21627214,"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":["alpine-linux","openstack","virtualization"],"created_at":"2024-10-24T03:43:00.699Z","updated_at":"2025-04-30T10:44:07.633Z","avatar_url":"https://github.com/antoinemartin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alpine Openstack Virtual Machine\n\nThis project helps creating an [Alpine] based Openstack image.\nIt uses The [alpine-make-vm-image] script to build a disk image in QCOW2 format.\n\nThis image can then be uploaded to an openstack project with the following\ncommand:\n\n```console\n\u003e openstack --os-cloud mycloud image create --disk-format qcow2 --file alpine-openstack.qcow2 alpine-openstack\n```\n\nAnd a corresponding server can be created with:\n\n```console\nopenstack --os-cloud mycloud server create --key-name mykey --image alpine-openstack --flavor myflavor alpine\n```\n\nThe [terraform](./terraform) directory contains a sample terraform module using\nthe image to spawn a VM and create a DNS entry for it. It targets the french\nOpenstack cloud provider [OVHcloud].\n\n## Hyper-V image\n\nAlong with each qcow2 image in each release there is also a vhdx version of the\nimage that can be started with Hyper-V on Windows. Its name is\n`alpine-openstack.vhdx`.\n\nTo be able to run it on Windows without a metadata service, a small\n[NoCloud](https://cloudinit.readthedocs.io/en/18.4/topics/datasources/nocloud.html) ISO\nimage `seed.iso` is provided. It allows connecting to the VM through SSH with\nthe password `passw0rd` (username `alpine`).\n\nYou can create the VM with:\n\n```powershell\nPS\u003e Resize-VHD -Path .\\alpine-openstack.vhdx -SizeBytes 20GB\nPS\u003e New-VM -Name debug -MemoryStartupBytes 2GB -Path . -BootDevice VHD -VHDPath .\\alpine-openstack.vhdx -SwitchName \"Default Switch\" -Generation 1\nPS\u003e Set-VMDvdDrive -VMName debug -Path .\\seed.iso\nPS\u003e Start-VM debug\nPS\u003e Get-NetNeighbor -State Reachable -LinkLayerAddress 00-15-5d-*\n\nifIndex IPAddress             LinkLayerAddress      State       PolicyStore\n------- ---------             ----------------      -----       -----------\n60      172.26.131.90         00-15-5D-25-01-8D     Reachable   ActiveStore\n29      172.20.64.204         00-15-5D-00-3F-28     Permanent   ActiveStore\n\nPS\u003e ssh alpine@172.20.64.204\nalpine@172.20.64.204 password:\nWelcome to Alpine!\n\nThe Alpine Wiki contains a large amount of how-to guides and general\ninformation about administrating Alpine systems.\nSee \u003chttps://wiki.alpinelinux.org/\u003e.\n\nYou can setup the system with the command: setup-alpine\n\nYou may change this message by editing /etc/motd.\n\n➜  ~ exit\nPS\u003e\n```\n\nMore information on [this blog post](https://mrtn.me/posts/2023/01/13/debugging-a-failing-openstack-image/).\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\n[alpine]: https://alpinelinux.org/\n[alpine-make-vm-image]: https://github.com/alpinelinux/alpine-make-vm-image\n[ovhcloud]: https://www.ovhcloud.com/fr/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinemartin%2Falpine-openstack-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoinemartin%2Falpine-openstack-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinemartin%2Falpine-openstack-vm/lists"}