Big fan of the project #1035
-
|
I've been trying to get the project working the last two days and have run into some issues. I've downloaded v22.1 unpack the source, run config.sh, configured the build.pkrvars.hcl common.pkrvars.hcl and vsphere.pkrvars.hcl files, ./download.sh and lastly build.sh. I think I have the order of what I need to do correct (could totally be wrong). When I attempt to build an Alma9 image I get the following error message: Error: Datasource.Execute failed: repository does not exist on /home/labadmin/-examples-for-vsphere-0.22.1/builds/linux/almalinux/9/linux-almalinux.pkr.hcl line 34: I've also made sure that all the package requirements have been meet. [✔] Packer: 1.12.0 is installed. 1.12.0 or later is required. I could use some help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You need to follow the steps in the documentation for the download to ensure that the download has been initialized with L34 from the error points to the use of the // BLOCK: data
// Defines the data sources.
data "git-repository" "cwd" {}Ryan |
Beta Was this translation helpful? Give feedback.
You need to follow the steps in the documentation for the download to ensure that the download has been initialized with
gitif downloading the release archive, or if cloning.L34 from the error points to the use of the
git-repositoryfrompacker-plugin-gitto get the current working directory, thus the download has not been initialized for git.Ryan