From 918448031eb2ed61e7ff2bc606209221360d8b13 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 14 Oct 2023 13:16:45 +1100 Subject: [PATCH] Vagrant: add Mantic Minotaur to available VMs --- Tools/vagrant/initvagrant.sh | 4 ++-- Vagrantfile | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Tools/vagrant/initvagrant.sh b/Tools/vagrant/initvagrant.sh index f600e40096..08bd7d81c3 100755 --- a/Tools/vagrant/initvagrant.sh +++ b/Tools/vagrant/initvagrant.sh @@ -42,6 +42,8 @@ sudo -u $VAGRANT_USER ln -fs /vagrant/Tools/vagrant/screenrc /home/$VAGRANT_USER perl -pe 's/kernel.yama.ptrace_scope = ./kernel.yama.ptrace_scope = 0/' -i /etc/sysctl.d/10-ptrace.conf echo 0 > /proc/sys/kernel/yama/ptrace_scope +RELEASE_CODENAME=$(lsb_release -c -s) + if [ ${RELEASE_CODENAME} != 'bionic' ]; then # build JSB sim apt-get install -y libtool automake autoconf libexpat1-dev cmake @@ -63,8 +65,6 @@ echo "source $BASHRC_GIT" | # link a half-way decent .mavinit.scr into place: sudo --login -u $VAGRANT_USER ln -sf /vagrant/Tools/vagrant/mavinit.scr /home/$VAGRANT_USER/.mavinit.scr -RELEASE_CODENAME=$(lsb_release -c -s) - # no multipath available, stop mutlipathd complaining about lack of data: if [ ${RELEASE_CODENAME} == 'jammy' ]; then cat >>/etc/multipath.conf <