Skip to content

fcrepo-exts/fcrepo-vagrant-base-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcrepo-vagrant-base-box

This is a base box for the Fedora Vagrant Virtual Machine.

Requirements

Usage

  1. git clone https://github.com/fcrepo-exts/fcrepo-vagrant-base-box.git
  2. cd fcrepo-vagrant-base-box
  3. vagrant up

You can shell into the machine with vagrant ssh or ssh -p 2222 vagrant@localhost

Environment

###Usage

  • Install Vagrant and VirtualBox
  • Clone this repository
  • cd fcrepo-vagrant-base-box
  • vagrant up

How to build base box for Hashicorp

To create a base box to use with Atlas the basic steps are as follows:

  • Clone the repo
  • git clone https://github.com/fcrepo-exts/fcrepo-vagrant-base-box
  • fcrepo-vagrant-base-box
  • Provision the VM
  • vagrant up
  • Shutdown the VM
    • vagrant ssh
    • sudo shutdown -P now
  • Export the VM to a box file
  • vagrant package
  • Create a new version on atlas
  • Add a provider (virtualbox)
  • Upload box

Support

Windows Troubleshooting

If you receive errors involving \r (end of line):

Edit the global .gitconfig file, find the line:

autocrlf = true

and change it to

autocrlf = false

Remove and clone again. This will prevent windows git clients from automatically replacing unix line endings LF with windows line endings CRLF.

Maintainers

Current maintainers:

Thanks

This VM setup was heavily influenced (read: stolen) from Islandora 2.x VM.