Skip to content

Commit

Permalink
azure-packer: Provide consistent path of toupload dir
Browse files Browse the repository at this point in the history
Right now the `toupload` directory is referenced with ./ in some places
and in some places without it. This causes the packer to be not able to
find the directory and hence the build fails.

Fixes #1179

Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
  • Loading branch information
surajssd authored and kartikjoshi21 committed Jul 21, 2023
1 parent 1462196 commit 8897eda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure/image/centos/azure-centos.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build {
}

provisioner "file" {
source = "./toupload"
source = "toupload"
destination = "/tmp/"
}

Expand Down
2 changes: 1 addition & 1 deletion azure/image/rhel/azure-rhel.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build {
}

provisioner "file" {
source = "./toupload"
source = "toupload"
destination = "/tmp/"
}

Expand Down
2 changes: 1 addition & 1 deletion azure/image/ubuntu/azure-ubuntu.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build {
}

provisioner "file" {
source = "./toupload"
source = "toupload"
destination = "/tmp/"
}

Expand Down

0 comments on commit 8897eda

Please sign in to comment.