Commit 4cc95d62 authored by John-Paul Robinson's avatar John-Paul Robinson
Browse files

Add script to provision compute node in VirtualBox

This works around Vagrant limitations in working with a dedicated
boot iso and no NAT network.
Basically it helps the ohpc env work like a true hpc environment.
parent 398c7b2a
# Create a network bootable compute node in virtualbox
# use native VBoxManage because Vagrant doesn't work
# well with nodes that are meant to boot off the network.
# node is constrained to boot on the internal "compute" network
VBoxManage createvm --name "$nodename" --register
VBoxManage modifyvm "$nodename" --memory 2048 --nic1 intnet --intnet1 compute --rtcuseutc on
VBoxManage storagectl "$nodename" --name IDE --add ide --controller PIIX4 --bootable on
VBoxManage storageattach "$nodename" --storagectl IDE --type dvddrive --device 0 --port 1 --medium ~/iso/ipxe.iso
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