greg
a92205bd65
Fix the VM creation script
...
Also join the zerotier network
2020-12-09 16:29:15 +01:00
greg
77ab77afe8
Update the centaurus and draco nodes after Chef run
2020-12-09 15:42:49 +01:00
greg
6273271d40
Remove kosmos-bitcoin::source from draco
...
Bitcoind runs inside a VM, not directly on the host
2020-12-09 15:42:19 +01:00
greg
742dc6ff7f
Merge branch 'master' into feature/244-new_vm_script
2020-12-09 13:59:52 +00:00
greg
7ceb9af3ed
Rename the kosmos_kvm default recipe to host
...
It makes it clear it is meant for KVM hosts
2020-12-09 11:19:13 +01:00
greg
6c907419aa
Set the VM name from the script argument
2020-12-08 17:10:40 +01:00
greg
8f304d00ce
Remove unused kitchen.yml files
2020-12-08 16:34:24 +01:00
greg
94a34e4758
Add arguments for RAM and number of CPUs
2020-12-08 16:33:27 +01:00
greg
b3c1f81ec6
Set the description of the kosmos_zerotier cookbook
2020-12-08 16:26:14 +01:00
greg
6f7b493173
Create the base Ubuntu 20.04 cloud image with code
2020-12-08 16:25:32 +01:00
greg
176083497c
Install the libvirt-daemon-system package
...
It creates the libvirt-qemu user
2020-12-08 16:25:04 +01:00
greg
89c8f42a46
Set the description for the kosmos_kvm cookbook
2020-12-08 16:03:18 +01:00
greg
1837285b79
Add the kosmos_kvm recipe and the firewall rules
...
... to the KVM hosts, centaurus and draco
Refs #244
2020-12-04 16:33:18 +01:00
greg
ee7a117d63
Add initial kosmos_zerotier cookbook
...
For now it only includes the firewall rule
Refs #244
2020-12-04 16:29:22 +01:00
greg
e6b7794e20
Extract firewall definitions to their own recipe
...
This allows us to use them for KVM hosts as well. Until now we had set
up ufw rules manually on the two KVM hosts (draco and centaurus)
Refs #244
2020-12-04 16:27:42 +01:00
greg
9dbe5bcfcb
Deploy a script to create new VMs
...
It uses `virt-install` with the official Ubuntu 20.04 cloud image as a
starting point, with cloud-init to add our SSH keys to the ubuntu user
and set up Zerotier.
USAGE: create_vm VMNAME
Closes #244
2020-12-04 16:21:52 +01:00