# fermi-kerberized-linux

This repository has a Vagrantfile for building a equivalent to SLF6 Virtual Machine suitable for access to Fermi kerberized computers. 

## Features

Installed with this VM are:

openssh

The VM configuration assumes nothing about the host.  If you want to share  `/Users` or "/vagrant" directory with the VM you will need to alter the `Vagrantfile` and change the folder sharing .  There are examples that you can comment out.

## Main Installation

Note that the installation requires a large amount of downloads. Be sure to have a fast internet connection. 

Download and install VirtualBox from http://www.virtualbox.org/
Download and install VirtualBox extentions from http://www.virtualbox.org/
Download and install Vagrant from https://www.vagrantup.com/downloads.html

Install the `vagrant-guest` plugin (keeps the VirtualBox Guest Additions up to date on the VM). From your terminal...

   vagrant plugin install vagrant-vbguest

Suggest that you make a directory for just this Vagrant install

   mkdir "someplace you like"    
   cd "someplace you like"
  
Download the customized "fermi-kerberized-linux" Vagrant config file from

   ftp://sldist.fnal.gov/linux/fermi/contrib/vagrant/fermi-kerberized-linux/Vagrantfile  

You may now provision the VM

### Provision the VM

Provisioning means to install and configure stuff in the VM to make it usable for what you want to do. 

Bring up the VM with full provisioning (it may take many minutes to run)

   vagrant up

The virtual machine is now ready. 

TO LOGIN 

Do `vagrant ssh` to log in for text mode.

or

Start up your VirtualBox App (the GUI). Locate your new VM (called `fermi-kerberized-linux-XXXX` where `XXXX` is more stuff). 
