Document/script creating new VMs #244

Open
opened 2020-11-23 11:49:58 +00:00 by raucao · 6 comments
Owner

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.)

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.)
raucao added the
feature
docs
labels 2020-11-23 11:49:58 +00:00
raucao added a new dependency 2020-11-25 16:16:13 +00:00
greg self-assigned this 2020-12-01 15:36:05 +00:00
Owner

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, etc

https://gist.github.com/gregkare/be1a1063cd711e06fcde88e8bf62df39

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, etc https://gist.github.com/gregkare/be1a1063cd711e06fcde88e8bf62df39
Author
Owner

Any reason to not open a PR that puts the script on KVM hosts? Or what's your plan for this otherwise?

Any reason to not open a PR that puts the script on KVM hosts? Or what's your plan for this otherwise?
Owner

I'll be opening a PR later today

I'll be opening a PR later today
Author
Owner

I think the documentation is still missing (i.e. that there is actually a script and who can use it where).

I think the documentation is still missing (i.e. that there is actually a script and who can use it where).
Author
Owner

This just needs the documentation to be closed.

This just needs the documentation to be closed.
Author
Owner

@greg Want to add a line to the README, so you can get kredits and we can close this issue?

@greg Want to add a line to the README, so you can get kredits and we can close this issue?
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Depends on
Reference: kosmos/chef#244
No description provided.