Prepare Vagrantfile tests for SLES12-SP2

SLES-12 SP2 has a system package available for
java-1_8_0-openjdk and thus we can deprecate the OpenSUSE additional
repo.

Also remove the `src rpm` repo which is not needed as we don't build
packages from source and complains about missing `media.2` directory.

Relates #22862
This commit is contained in:
Dimitrios Liappis 2017-02-03 18:52:48 +02:00 committed by GitHub
parent b1a6b227e1
commit 7e2ec3460b

4
Vagrantfile vendored
View File

@ -176,10 +176,8 @@ end
def sles_common(config)
extra = <<-SHELL
zypper rr systemsmanagement_puppet
zypper rr systemsmanagement_puppet puppetlabs-pc1
zypper addrepo -t yast2 http://demeter.uni-regensburg.de/SLES12-x64/DVD1/ dvd1 || true
zypper addrepo -t yast2 http://demeter.uni-regensburg.de/SLES12-x64/DVD2/ dvd2 || true
zypper addrepo http://download.opensuse.org/repositories/Java:Factory/SLE_12/Java:Factory.repo || true
zypper --no-gpg-checks --non-interactive refresh
zypper --non-interactive install git-core
SHELL