Autolab icon indicating copy to clipboard operation
Autolab copied to clipboard

Default value for VM Image in Autograder Settings

Open krivers opened this issue 7 years ago • 4 comments

Hi Autolab team,

I've now seen several people run into trouble setting up their autograder because they forgot to set the VM image in the autograder settings to the default value. Can we just have the value set itself to rhel.img by default? That's what the majority of people are using anyway.

Thanks!

  • Kelly

krivers avatar Sep 19 '18 18:09 krivers

Hi Kelly, are you referring to the cmu deployment? It might be a good idea to let autolab-help@andrew know since they manage the deployment. The default image name of "autograding_image" in the repo is in sync with the default image name used in Tango, so for devs setting up Autolab it's more convenient.

zyx-billy avatar Sep 20 '18 20:09 zyx-billy

Seems to be more of a deployment issue. Will close if there are no longer any updates.

victorhuangwq avatar Jul 10 '20 14:07 victorhuangwq

Can the default image name be set somewhere? Or are you saying that deployments that do not name their default image autograding_image are just wrong?

cg2v avatar Jul 11 '20 19:07 cg2v

Perhaps add config.x.autograder.default_autograde_image = "<image name>" to config/environment/<env>.rb and change autograders_controller.rb#create to use a.autograde_image = Rails.configuration.x.autograder.default_autograde_image

damianhxy avatar Jun 07 '22 04:06 damianhxy