From f78a7baa80d6bef73f167601f4879496b55107cc Mon Sep 17 00:00:00 2001 From: Shamil Mubarakshin <127750046+shamil-mubarakshin@users.noreply.github.com> Date: Wed, 15 Nov 2023 22:21:38 +0100 Subject: [PATCH] [Ubuntu] Fix software report download directory (#8814) --- images/ubuntu/templates/ubuntu-20.04.json | 4 ++-- images/ubuntu/templates/ubuntu-22.04.pkr.hcl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/images/ubuntu/templates/ubuntu-20.04.json b/images/ubuntu/templates/ubuntu-20.04.json index 2b5eda99..2d00e076 100644 --- a/images/ubuntu/templates/ubuntu-20.04.json +++ b/images/ubuntu/templates/ubuntu-20.04.json @@ -350,13 +350,13 @@ { "type": "file", "source": "{{user `image_folder`}}/software-report.md", - "destination": "{{template_dir}}/Ubuntu2004-Readme.md", + "destination": "{{template_dir}}/../Ubuntu2004-Readme.md", "direction": "download" }, { "type": "file", "source": "{{user `image_folder`}}/software-report.json", - "destination": "{{template_dir}}/software-report.json", + "destination": "{{template_dir}}/../software-report.json", "direction": "download" }, { diff --git a/images/ubuntu/templates/ubuntu-22.04.pkr.hcl b/images/ubuntu/templates/ubuntu-22.04.pkr.hcl index 72695577..ecf121d3 100644 --- a/images/ubuntu/templates/ubuntu-22.04.pkr.hcl +++ b/images/ubuntu/templates/ubuntu-22.04.pkr.hcl @@ -390,13 +390,13 @@ build { } provisioner "file" { - destination = "${path.root}/Ubuntu2204-Readme.md" + destination = "${path.root}/../Ubuntu2204-Readme.md" direction = "download" source = "${var.image_folder}/software-report.md" } provisioner "file" { - destination = "${path.root}/software-report.json" + destination = "${path.root}/../software-report.json" direction = "download" source = "${var.image_folder}/software-report.json" }