Commit 8adee20f authored by CHRISTOPHER PIKE's avatar CHRISTOPHER PIKE

added instructions, added deploy prep role

parent c2eb3360
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
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
"providers": [ "providers": [
{ {
"name": "virtualbox", "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_type": "sha1",
"checksum": "1ca3a3b7e6f8666be9329b6ace559d19fd9807b1" "checksum": "e4e56caf49b3375b2d7125cd5c36bdfa2c51c007"
} }
] ]
} }
......
...@@ -4,4 +4,5 @@ ...@@ -4,4 +4,5 @@
sudo: yes sudo: yes
roles: roles:
- { role: base } - { role: base }
- { role: deploy_prep }
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