Skip to content

Instantly share code, notes, and snippets.

View chengdol's full-sized avatar
👀
Nothing happens

chengdol chengdol

👀
Nothing happens
View GitHub Profile
#!/usr/bin/env sh
# Display data stream based hot shard distribution.
# Run this script in any ES node.
#
# Author: chengdol
#################################################################
out_file=$(mktemp /tmp/statistics.XXXX)
trap "rm -f $out_file" EXIT
declare -A write_shard_2_node_map
@chengdol
chengdol / ova-to-box.md
Created June 25, 2020 22:02 — forked from aondio/ova-to-box.md
Convert VirtualBox .ova to Vagrant box

Here's a step by step guide to convert a Virtualbox .ova to a Vagrant box.

  1. List your VMs to find the VM id you want to convert:
$ VBoxManage list vms
"testing" {a3f59eed-b9c5-4a5f-9977-187f8eb8c4d4}
  1. You can now package the .ova VM as Vagrant box: