Created
November 17, 2016 23:01
-
-
Save aschweer/e521f1831fe874bc3f19a40c395eb513 to your computer and use it in GitHub Desktop.
Changes to vagrant-dspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Vagrantfile b/Vagrantfile | |
index 344d84d..5d696a7 100644 | |
--- a/Vagrantfile | |
+++ b/Vagrantfile | |
@@ -67,6 +67,14 @@ Vagrant.configure("2") do |config| | |
# configure a private network and set this guest's IP to 192.168.50.2 | |
config.vm.network "private_network", ip: CONF['ip_address'] | |
+ # Bugfix for "Cable connected: off" | |
+ config.vm.provider :virtualbox do |vm| | |
+ vm.customize [ | |
+ "modifyvm", :id, | |
+ "--cableconnected1", "on", | |
+ ] | |
+ end | |
+ | |
# Create a forwarded port mapping which allows access to a specific port | |
# within the machine from a port on the host machine. In the example below, | |
# accessing "localhost:[port]" will access port 8080 on the VM. | |
@@ -182,7 +190,7 @@ Vagrant.configure("2") do |config| | |
# Check if a test SSH connection to GitHub succeeds or fails (on every vagrant up) | |
# This sets a Puppet Fact named "github_ssh_status" on the VM. | |
# That fact is then used by 'setup.pp' to determine whether to connect to a Git Repo via SSH or HTTPS (see setup.pp) | |
- config.vm.provision :shell, :inline => "echo 'Testing SSH connection to GitHub on VM...' && mkdir -p /etc/facter/facts.d/ && ssh -T -q -oStrictHostKeyChecking=no [email protected]; echo github_ssh_status=$? > /etc/facter/facts.d/github_ssh.txt", run: "always" | |
+ config.vm.provision :shell, :inline => "echo 'Testing SSH connection to GitHub on VM...' && mkdir -p /etc/facter/facts.d/ && echo github_ssh_status=1 > /etc/facter/facts.d/github_ssh.txt", run: "always" | |
#------------------------ | |
# Provisioning Scripts | |
diff --git a/config/default.yaml b/config/default.yaml | |
index c6a32ca..721f7da 100644 | |
--- a/config/default.yaml | |
+++ b/config/default.yaml | |
@@ -82,8 +82,8 @@ vm_gui_mode : false | |
# it will be dynamically changed into the HTTPS GitHub URL (https://github.com/[user]/[proj]) | |
# You may also change "git_repo" to an HTTPS URL in order to force HTTPS at all times. | |
# (Changes to these settings require a 'vagrant destroy && vagrant up' to take effect) | |
-#dspace::git_repo : '[email protected]:DSpace/DSpace.git' | |
-#dspace::git_branch : 'master' | |
+dspace::git_repo : 'https://github.com/DSpace/DSpace.git' | |
+dspace::git_branch : 'dspace-5_x' | |
#------------------------------- | |
# DSpace Administrative Account |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment