Commit 0bff4270 authored by John-Paul Robinson's avatar John-Paul Robinson
Browse files

initial commit

Project to provision an OpenHPC cluster via Vagrant using the
CRI_XCBC (XSEDE basic cluster) Ansible provisioning framework.
The Vagrantfile takes inspiration from the [vagrantcluster](
project but is oriented toward deploying only a master node
and using standard OHPC tools to provision the cluster, and
therfore favors the CRI_XCBC approach to ansible scripts just
for the master.
The Vagrantfile is stripped to the core (rather that carry all
the cruft of a vagrant init). It leverages work from a
[pilot project](
(primaryly the development of an updated centos 7.5 image)
but prefers a clean repo slate.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "ohpc" do |ohpc| = "ravi89/centos7.5"
ohpc.vm.box_version = "1"
ohpc.vm.hostname = "ohpc" "private_network", ip: "", virtualbox__intnet: "compute"
#ohpc.vm.customize ["modifyvm", :id, "--name", "ohpc"]
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.memory = "2048"
config.vm.provision "shell", inline: <<-SHELL
if [ -f /vagrant/ ]; then
. /vagrant/
yum install -y ansible git vim bash-completion
ansible-playbook -c local -i /vagrant/CRI_XCBC/hosts -l `hostname` /vagrant/CRI_XCBC/site.yaml
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment