/vagrant-files

Some customized Vagrantfile's

Primary LanguageRuby

vagrant-files

Some customized Vagrantfile's

  • TODO: Find a way to automatically adjust the RAM for the VM using the available physical RAM at the host
    max_vcpu=4
    physical_cores=$(egrep -e "core id" -e ^physical /proc/cpuinfo|xargs -l2 echo|sort -u|wc -l)
    vcpu=$(( $physical_cores > $max_vcpu ? $max_vcpu : $physical_cores ))