Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ohpc_vagrant
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
John-Paul Robinson
ohpc_vagrant
Commits
48dce063
Project 'rc/self-reg-form' was moved to 'rc/account-app'. Please update any links and bookmarks that may still have the old path.
Commit
48dce063
authored
6 years ago
by
Mike Hanby
Committed by
John-Paul Robinson
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added code to download the ipxe.iso file if missing
parent
b6a75eb8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compute_create
+11
-1
11 additions, 1 deletion
compute_create
with
11 additions
and
1 deletion
compute_create
+
11
−
1
View file @
48dce063
...
@@ -9,8 +9,18 @@
...
@@ -9,8 +9,18 @@
nodename
=
"
$1
"
nodename
=
"
$1
"
VBoxManage createvm
--name
"
$nodename
"
--register
# Ensure that the $HOME/iso directory exists
if
[[
!
-d
"
$HOME
/iso"
]]
;
then
mkdir
~/iso
fi
# 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 http://boot.ipxe.org/ipxe.iso
fi
VBoxManage createvm
--name
"
$nodename
"
--register
VBoxManage modifyvm
"
$nodename
"
--memory
4096
--nic1
intnet
--intnet1
compute
--nictype1
=
82540EM
--rtcuseutc
on
VBoxManage modifyvm
"
$nodename
"
--memory
4096
--nic1
intnet
--intnet1
compute
--nictype1
=
82540EM
--rtcuseutc
on
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment