Git Product home page Git Product logo

vagrant-centos7-gnome-desktop's Introduction

Vagrantfile and bash provisioning script for centos/7 from upstream

 - this sets up a GNOME Desktop with virtual box guest additions

To run:

 - download the current box, unfortunately CentOS doesn't release monthly to hashicorp/atlas

   vagrant box add \
          http://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7-Vagrant-1509-x86_64-01.box \
          --name centos/7-1509

 - copy the Vagrantfile and provision.sh script into a subdirectory
       (if you use a different box version above, edit your command and Vagrantfile to match)

 - cd into that subdirectory

 - do a 'vagrant up' which will create the DVD drive and start provisioning.  If the rsync fails
    on cygwin due to /c/Users/yourusername not resolving, fake it with a symlink via the cygwin
    shell, likely pointing /c => /cygdrive/c

 - when you see the VirtualBox gui, click Devices->InsertGuestAdditions CD Image
    before the system starts provisioning.  The provisioning script needs it later.

 - the provision script will bring the system up to a GNOME Desktop level
    and set the system to a graphical target runlevel for the next reboot.

 - you can login as vagrant and 'startx', or alternately just reboot to bring
    the system up in a graphical desktop mode, fully configured and updated.
    The provision.sh script here takes the reboot for you currently...

Notes:
  - shared drag'n'drop and cut'n'paste are enabled via the Vagrantfile
  - the provision script installs Xwindows and reboots at the end of provisioning (comment out/edit to taste)

Debugging notes:

 - kernel updates can be problematic and sometimes you will get a message saying
    the VBoxAdditions kernel service is not running.  In 'general' this is a mismatch
    this can be fixed by rebooting to come up on the updated kernel, then reinstalling
    the virtual box additions.   A reboot after that is not required, but is generally
    a good idea to verify the system boots cleanly after initial provisioning.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.