Open Techienaut opened 4 days ago
@Techienaut related to your other issue #467, unfortunately, the docs are still lacking a bit after a recent update, that's why it's commented out in the README. The not rendered part is the old version which is slightly out of date, although the concepts are the same. Please see this discussion for a similar query: https://github.com/gusztavvargadr/packer/discussions/449#discussioncomment-10089850
To start a build in the new setup use the configuration parameter as follows:
dotnet cake --configuration windows-server/2022-standard/virtualbox/native
dotnet cake --configuration windows-server/2022-standard/virtualbox/vagrant
The first command will build the native image, the second one will use the first one's output to build a Vagrant box.
For the time being while the docs are not updated, you can take a look at the pipeline definitions for working samples of the usage and the source of the build script itself.
Sorry for the inconvenience and please let me know if you have any other questions.
I went through the entire steps in https://github.com/gusztavvargadr/packer/blob/master/samples/README.md?plain=1 to install dependencies (e.g. dotnet, cake, etc etc).
I'm getting this error when I enter:
dotnet cake --target=info
on my macbook: Error: Argument 'sample' was not set.dotnet is in my PATH. The git folder name is "packer" and I'm in the root of that folder. I downloaded all the submodules for git.
More Info
When I enter
dotnet cake --target=info --verbosity=diagnostic
I get error: