Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ohpc_packer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Ravi Tripathi
ohpc_packer
Commits
cce050e5
Commit
cce050e5
authored
5 years ago
by
Bo-Chun Chen
Committed by
John-Paul Robinson
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README
Add usage of build script
parent
6df76c0a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-2
20 additions, 2 deletions
README.md
with
20 additions
and
2 deletions
README.md
+
20
−
2
View file @
cce050e5
...
...
@@ -8,7 +8,7 @@ so you must build your own packer.
Here are some examples steps to do this for a linux box.
Install Go to build packer:
```
```
shell
wget https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz
mkdir
~/opt/go
tar
-C
~/opt/go
-xzf
go1.12.7.linux-amd64.tar.gz
...
...
@@ -16,10 +16,28 @@ PATH=~/opt/go/bin:$PATH
```
Build packer:
```
```
shell
mkdir
-p
~/go/src/github.com/hashicorp
&&
cd
$_
git clone https://github.com/hashicorp/packer.git
cd
packer
make dev
PATH
=
~/go/src/github.com/hashicorp/packer/bin:
$PATH
```
Building a compute image:
-
This build script will handle floating ip, ssh host for you. All you need to change is user define section in the
`build-compute.py`
.
```
shell
# Get your openstack credential
source
app-cred.sh
# Activate your openstack (venv)
source
PATH/TO/YOUR/VENV
# Change user defined section in build script if needed
vim build-compute.py
# Run build script
python build-compute.py
```
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