Skip to content

Commit

Permalink
Add larger root volume for gpu image build (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored Jan 9, 2024
1 parent 269b1ae commit 8fde235
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packer/jenkins-agents/gpu/gpu-jenkins-agent.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ source "amazon-ebs" "jenkins_gpu_image" {
tags = {
image_family = "${var.image_prefix}-x64"
}
launch_block_device_mappings {
device_name = "/dev/sda1"
volume_size = 40
volume_type = "gp2"
delete_on_termination = true
}
source_ami_filter {
filters = {
virtualization-type = "hvm"
Expand Down

0 comments on commit 8fde235

Please sign in to comment.