Greg greg
  • Joined on 2018-11-05
greg pushed to feature/244-new_vm_script at kosmos/chef 2020-12-08 16:11:00 +00:00
6c907419aa Set the VM name from the script argument
greg commented on pull request kosmos/chef#252 2020-12-08 15:38:25 +00:00
Script creating new VMs

I don't know why Chef's generator does it like this. I'm open to this idea

greg commented on pull request kosmos/chef#252 2020-12-08 15:36:45 +00:00
Script creating new VMs

When I set it to 20.04 virt-install would fail (while setting up SSH), I couldn't find a way to figure out what was going on

greg pushed to feature/244-new_vm_script at kosmos/chef 2020-12-08 15:35:45 +00:00
8f304d00ce Remove unused kitchen.yml files
94a34e4758 Add arguments for RAM and number of CPUs
b3c1f81ec6 Set the description of the kosmos_zerotier cookbook
6f7b493173 Create the base Ubuntu 20.04 cloud image with code
176083497c Install the libvirt-daemon-system package
Compare 6 commits »
greg created pull request kosmos/chef#252 2020-12-04 15:35:38 +00:00
Script creating new VMs
greg pushed to feature/244-new_vm_script at kosmos/chef 2020-12-04 15:33:59 +00:00
1837285b79 Add the kosmos_kvm recipe and the firewall rules
ee7a117d63 Add initial kosmos_zerotier cookbook
e6b7794e20 Extract firewall definitions to their own recipe
9dbe5bcfcb Deploy a script to create new VMs
greg commented on issue kosmos/chef#244 2020-12-03 09:55:37 +00:00
Document/script creating new VMs

I'll be opening a PR later today

greg commented on issue kosmos/chef#244 2020-12-01 15:40:17 +00:00
Document/script creating new VMs

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

greg deleted branch chore/cache_bundle_on_ci from kosmos/akkounts 2020-11-26 15:44:31 +00:00
greg merged pull request kosmos/akkounts#6 2020-11-26 15:44:19 +00:00
Cache dependencies on CI
greg pushed to master at kosmos/akkounts 2020-11-26 15:44:19 +00:00
fd2ebc4ad3 Merge pull request 'Cache dependencies on CI' (#6) from chore/cache_bundle_on_ci into master
c86480e72b Cache dependencies on CI
Compare 2 commits »
greg approved kosmos/akkounts#6 2020-11-26 15:43:49 +00:00
Cache dependencies on CI

LGTM!

greg deleted branch chore/ejabberd-2_vm from kosmos/chef 2020-11-26 14:47:40 +00:00
greg merged pull request kosmos/chef#248 2020-11-26 14:47:33 +00:00
Set up ejabberd-2 VM/node; add cluster configs to Chef
greg pushed to master at kosmos/chef 2020-11-26 14:47:33 +00:00
39ca70d64e Merge pull request 'Set up ejabberd-2 VM/node; add cluster configs to Chef' (#248) from chore/ejabberd-2_vm into master
58854da648 Add erland_node fqdn to ejabberd node configs
137d90ed8a Configure ejabberd on ejabberd-2
8c60279fe1 Add cluster configs to ejabberd recipe
7a1a5c03e3 Set up ejabberd-2 VM
Compare 5 commits »
greg opened issue kosmos/chef#249 2020-11-25 18:24:01 +00:00
Disable Mnesia completely on our ejabberd nodes
greg created pull request kosmos/chef#246 2020-11-25 15:44:33 +00:00
Enable ejabberd clustering
greg pushed to feature/243-ejabberd_cluster at kosmos/chef 2020-11-25 15:42:31 +00:00
bbf01711f8 Add ejabberd-1 client and node file
fbd71204c2 Use the production run list when no Chef environment was set
9ae8b1d780 Add ejabberd-1 client and node file
a6fe8894cd Add ejabberd role
Compare 4 commits »
greg pushed to feature/243-ejabberd_cluster at kosmos/chef 2020-11-25 15:36:26 +00:00
9ae8b1d780 Add ejabberd-1 client and node file
a6fe8894cd Add ejabberd role
613b316588 Add comment about needing to run Chef a second time...
3a8af26b5f Remove firewall rule for an unused port
23ca3552d2 Remove the absolute path of certbot to use the new package
greg merged pull request kosmos/chef#245 2020-11-25 09:46:47 +00:00
Configure/deploy HTTP upload service for Kosmos Chat/XMPP