-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* VPC: Add Ubuntu 24.04 Support * VPC: Add Ubuntu 24 Support To Build Test * Test using Devkit on noble * VPC: Add Ubuntu 24 Support To Build Test * VPC: Bump NASM to v2.16.03 and abstract Linter Fix Linter fix VPC: Fix whitespace VPC: Bump NASM to 2.16.03 This removes the need for a patch to support gcc > 7.5 Co-Authored-By: Martijn Verburg <martijnverburg@gmail.com> Co-Authored-By: Stewart X Addison <6487691+sxa@users.noreply.github.com> --------- Co-authored-by: Martijn Verburg <martijnverburg@gmail.com> Co-authored-by: Stewart X Addison <6487691+sxa@users.noreply.github.com>
- Loading branch information
1 parent
617431d
commit a39cca2
Showing
4 changed files
with
59 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- 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 :adoptopenjdkU24 do |adoptopenjdkU24| | ||
adoptopenjdkU24.vm.box = "bento/ubuntu-24.04" | ||
adoptopenjdkU24.vm.synced_folder ".", "/vagrant" | ||
adoptopenjdkU24.vm.hostname = "adoptopenjdkU24" | ||
adoptopenjdkU24.vm.network :private_network, type: "dhcp" | ||
adoptopenjdkU24.vm.provision "shell", inline: $script, privileged: false | ||
end | ||
config.vm.provider "virtualbox" do |v| | ||
v.gui = false | ||
v.memory = 4096 | ||
v.cpus = 2 | ||
v.customize ["modifyvm", :id, "--cpuexecutioncap", "50"] | ||
end | ||
end |