Document/script creating new VMs #244
Closed
opened 2020-11-23 11:49:58 +00:00 by raucao
·
6 comments
No Branch/Tag Specified
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
service
discourse
Kosmos Community Forums
Infrastructure metrics, alerts, notifications, etc.
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
lightning
Lightning address, lndhub, etc.
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
Milestone
No items
No Milestone
Notifications
Due Date
No due date set.
Depends on
#203 Base images for Kosmos VMs
kosmos/chef
Reference: kosmos/chef#244
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Something along the lines of https://codeberg.org/Codeberg/build-deploy-gitea/src/branch/master/createVM.sh perhaps.
(At the moment I'm creating them from virt-manager, but not everyone here uses Linux.)
Here's what I came up with using the official Ubuntu 20.04 cloud image as a starting point and cloud-init to add our SSH keys to the ubuntu user and set up Zerotier, using
virt-install. I created a script that takes a VM name as an argument. We probably want to add proper options parsing for the disk size, number of CPU, etchttps://gist.github.com/gregkare/be1a1063cd711e06fcde88e8bf62df39
Any reason to not open a PR that puts the script on KVM hosts? Or what's your plan for this otherwise?
I'll be opening a PR later today
I think the documentation is still missing (i.e. that there is actually a script and who can use it where).
This just needs the documentation to be closed.
@greg Want to add a line to the README, so you can get kredits and we can close this issue?