Commit 48dce063 authored by Mike Hanby's avatar Mike Hanby Committed by John-Paul Robinson
Browse files

Added code to download the ipxe.iso file if missing

parent b6a75eb8
......@@ -9,8 +9,18 @@
VBoxManage createvm --name "$nodename" --register
# Ensure that the $HOME/iso directory exists
if [[ ! -d "$HOME/iso" ]]; then
mkdir ~/iso
# Download the ipxe.iso boot image if it doesn't already exist
if [[ ! -f "$HOME/iso/ipxe.iso" ]]; then
echo "Downloading the network boot ipxe.iso file"
wget -O ~/iso/ipxe.iso
VBoxManage createvm --name "$nodename" --register
VBoxManage modifyvm "$nodename" --memory 4096 --nic1 intnet --intnet1 compute --nictype1=82540EM --rtcuseutc on
Markdown is supported
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