Skip to content

Commit

Permalink
Use --allow-downgrades to install specific Vagrant version
Browse files Browse the repository at this point in the history
There is a later release, if we want people to use this specific one the user may need to downgrade
  • Loading branch information
jbemmel authored Dec 13, 2024
1 parent 83a3542 commit bc3a40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netsim/install/libvirt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ set -e
curl -fsSL https://apt.releases.hashicorp.com/gpg | $SUDO gpg --dearmor -o /etc/apt/trusted.gpg.d/hashicorp-security.gpg
$SUDO sh -c 'echo "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/vagrant.list'
$SUDO apt-get update
$SUDO apt-get install -y $FLAG_QUIET ruby-dev ruby-libvirt vagrant=2.4.0-1
$SUDO apt-get install -y --allow-downgrades $FLAG_QUIET ruby-dev ruby-libvirt vagrant=2.4.0-1
vagrant plugin install vagrant-libvirt --plugin-version=0.12.2
echo ".. vagrant installed"
echo
Expand Down

0 comments on commit bc3a40e

Please sign in to comment.