From 9969bde7294564e0a52ce15a08e4eaa682f008ce Mon Sep 17 00:00:00 2001 From: thomashaw Date: Mon, 17 Oct 2022 18:02:54 +0100 Subject: [PATCH] add 2cpu to grading server --- lib/templates/Vagrantfile.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/templates/Vagrantfile.erb b/lib/templates/Vagrantfile.erb index 69377b4de..d649976b2 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -56,6 +56,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| <%= if @options.has_key? :cpu_cores " ovirt.cpu_cores = #{@options[:cpu_cores]}\n" end -%> +<%= if system.name.include? 'grading' # TODO: Update this later, eugh... +" ovirt.cpu_cores = 2\n" + end -%> ovirt.console = 'spice' # ovirt.filtered_api = true ovirt.insecure = true