forked from adoptium/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnixPB: Add Fedora 40 Support (adoptium#3761)
* UnixPB: Remove libnss3 on Fedora * VPC: Add Fedora 40 Vagrantfile * UnixPB: Fix fedora install * UnixPB: Add Fedora 40 Support * VPC: Fix whitespace * UnixPB: Unify version comparison in NASM role.
- Loading branch information
1 parent
90a6938
commit 57c3661
Showing
5 changed files
with
47 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
$script = <<SCRIPT | ||
# Put the host machine's IP into the authorised_keys file on the VM | ||
if [ -r /vagrant/id_rsa.pub ]; then | ||
mkdir -p $HOME/.ssh && cat /vagrant/id_rsa.pub >> $HOME/.ssh/authorized_keys | ||
fi | ||
SCRIPT | ||
|
||
# 2 = version of configuration file for Vagrant 1.1+ leading up to 2.0.x | ||
Vagrant.configure("2") do |config| | ||
|
||
config.vm.define :adoptopenjdkF40 do |adoptopenjdkF40| | ||
adoptopenjdkF40.vm.box = "bento/fedora-40" | ||
adoptopenjdkF40.vm.synced_folder ".", "/vagrant" | ||
adoptopenjdkF40.vm.hostname = "adoptopenjdkF40" | ||
adoptopenjdkF40.vm.network :private_network, type: "dhcp" | ||
adoptopenjdkF40.vm.provision "shell", inline: $script, privileged: false | ||
end | ||
config.vm.provider "virtualbox" do |v| | ||
v.gui = false | ||
v.memory = 4196 | ||
v.customize ["modifyvm", :id, "--cpuexecutioncap", "50"] | ||
end | ||
end |