Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
Infrastructure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIT-SWE
Infrastructure
Commits
8adee20f
Commit
8adee20f
authored
Nov 07, 2017
by
CHRISTOPHER PIKE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added instructions, added deploy prep role
parent
c2eb3360
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
2 deletions
+33
-2
base-boxes/base-centos-64/README.md
base-boxes/base-centos-64/README.md
+30
-0
base-boxes/base-centos-64/centos_base_64.json
base-boxes/base-centos-64/centos_base_64.json
+2
-2
base-boxes/base-centos-64/playbook.yml
base-boxes/base-centos-64/playbook.yml
+1
-0
No files found.
base-boxes/base-centos-64/README.md
0 → 100644
View file @
8adee20f
1.
Build VM
vagrant up
2.
Install Guest Additions
cd /opt
sudo wget -c http://download.virtualbox.org/virtualbox/5.0.40/VBoxGuestAdditions_5.0.40.iso -O VBoxGuestAdditions_5.0.40.iso
sudo mount VBoxGuestAdditions_5.0.40.iso -o loop /mnt
sudo sh /mnt/VBoxLinuxAdditions.run
3.
Export VM
vagrant package --base base-centos-64_default_1510079586044_53352 --output centos_base_64_1_0_0.tar.gz
4.
Calculat sha1
sha1sum centos_base_64_1_0_3.tar.gz
5.
Add entry to json file
6.
Upload json and tar to nexus
curl -v -o progress.txt --user 'deployment:password' --upload-file ./centos_base_64.json https://nexus.ci.psu.edu/repository/vagrant-boxes/base_centos_64/centos_base_64.json
curl -v -o progress.txt --user 'deployment:password' --upload-file ./centos_base_64_1_0_2.tar.gz https://nexus.ci.psu.edu/repository/vagrant-boxes/base_centos_64/centos_base_64_1_0_2.tar.gz
base-boxes/base-centos-64/centos_base_64.json
View file @
8adee20f
...
...
@@ -7,9 +7,9 @@
"providers"
:
[
{
"name"
:
"virtualbox"
,
"url"
:
"https://nexus.ci.psu.edu/repository/vagrant-boxes/
centos_base
/centos_base_64_1_0_0.tar.gz"
,
"url"
:
"https://nexus.ci.psu.edu/repository/vagrant-boxes/
base_centos_64
/centos_base_64_1_0_0.tar.gz"
,
"checksum_type"
:
"sha1"
,
"checksum"
:
"
1ca3a3b7e6f8666be9329b6ace559d19fd9807b1
"
"checksum"
:
"
e4e56caf49b3375b2d7125cd5c36bdfa2c51c007
"
}
]
}
...
...
base-boxes/base-centos-64/playbook.yml
View file @
8adee20f
...
...
@@ -4,4 +4,5 @@
sudo
:
yes
roles
:
-
{
role
:
base
}
-
{
role
:
deploy_prep
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment