Fixed vagrantfiles

This commit is contained in:
unknown 2025-01-08 15:55:41 +01:00
parent a896065d5c
commit d0d5b1e47f
6 changed files with 9 additions and 10 deletions

View File

@ -52,8 +52,7 @@ Vagrant.configure("2") do |config|
useradd -s /bin/bash -m bwi
echo "bwi:bwi"|chpasswd
cd ./rublon_ssh-build
yum install -y rublon*.rpm
yum install -y ${BUILDDIR}/rublon*.rpm
SHELL
end

View File

@ -51,7 +51,7 @@ Vagrant.configure("2") do |config|
cmake --build ${BUILDDIR} -j$(nproc)
cmake --build ${BUILDDIR} --target package -j$(nproc)
yum install -y ./rublon_ssh-build/rublon*
yum install -y ${BUILDDIR}/rublon*
useradd -s /bin/bash -m bwi
echo "bwi:bwi"|chpasswd
SHELL

View File

@ -37,7 +37,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: <<-SHELL
export BASE=/home/vagrant/Rublon-Linux
export DISTRO=centos09
export BUILDDIR=${BASE}/${DISTRO}
export BUILDDIR=/home/vagrant/${DISTRO}
yum update
yum install -y gcc gcc-c++ openssl-devel libcurl-devel pam-devel cmake policycoreutils-devel checkpolicy rpm-build openssh
@ -47,12 +47,12 @@ Vagrant.configure("2") do |config|
# build package
cmake -B ${BUILDDIR} ${BASE}
cmake --build ${BUILDDIR} -j$(nproc)
cmake --build ${BUILDDIR} -j$(nproc)y
cmake --build ${BUILDDIR} --target package -j$(nproc)
useradd -s /bin/bash -m bwi
echo "bwi:bwi"|chpasswd
sudo yum install -y ./rublon_ssh-build/rublon*.rpm
sudo yum install -y ${BUILDDIR}/rublon*.rpm
SHELL
end

View File

@ -37,7 +37,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: <<-SHELL
export BASE=/home/vagrant/Rublon-Linux
export DISTRO=opensuse15
export BUILDDIR=${BASE}/${DISTRO}
export BUILDDIR=/home/vagrant/${DISTRO}
zypper --non-interactive install -y \
gcc \
gcc-c++ \
@ -60,6 +60,6 @@ Vagrant.configure("2") do |config|
# Register Rublon pam
useradd -s /bin/bash -m bwi
echo "bwi:bwi"|chpasswd
sudo zypper --no-gpg-checks install -y ${BUILDDIR}/rublon_ssh-build/rublon*
sudo zypper --no-gpg-checks install -y ${BUILDDIR}/rublon*
SHELL
end

View File

@ -53,7 +53,7 @@ Vagrant.configure("2") do |config|
cmake --build ${BUILDDIR} --target package -j$(nproc)
# Register Rublon pam
yum -y install ./rublon_ssh-build/rublon-ssh*.el8.rpm
yum -y install ${BUILDDIR}/rublon-ssh*.el8.rpm
useradd -s /bin/bash -m bwi
echo "bwi:bwi"|chpasswd

View File

@ -54,7 +54,7 @@ Vagrant.configure("2") do |config|
# Register Rublon pam
useradd -s /bin/bash -m bwi
echo "bwi:bwi"|chpasswd
yum -y install ./rublon_ssh-build/rublon*.rpm
yum -y install ${BUILDDIR}/rublon*.rpm
SHELL
end