Fixed vagrantfiles
This commit is contained in:
parent
a896065d5c
commit
d0d5b1e47f
3
os/alma/8/Vagrantfile
vendored
3
os/alma/8/Vagrantfile
vendored
@ -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
|
||||
|
||||
|
||||
2
os/alma/9/Vagrantfile
vendored
2
os/alma/9/Vagrantfile
vendored
@ -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
|
||||
|
||||
6
os/centos/stream9/Vagrantfile
vendored
6
os/centos/stream9/Vagrantfile
vendored
@ -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
|
||||
|
||||
|
||||
4
os/opensuse/15sp3/Vagrantfile
vendored
4
os/opensuse/15sp3/Vagrantfile
vendored
@ -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
|
||||
|
||||
2
os/rhel/8/Vagrantfile
vendored
2
os/rhel/8/Vagrantfile
vendored
@ -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
|
||||
|
||||
2
os/rhel/9/Vagrantfile
vendored
2
os/rhel/9/Vagrantfile
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user