Update the correct README doc with the packer 1.8 requirement
This commit is contained in:
parent
88e52b581f
commit
69bae007b6
@ -42,7 +42,7 @@ If you are using an older version of packer or are still using json templates yo
|
||||
## Developing the builder
|
||||
|
||||
### Dependencies
|
||||
* Packer >= v1.8.x (https://packer.io)
|
||||
* Packer >= v1.7.1 (https://packer.io)
|
||||
* XenServer / Citrix Hypervisor > 7.6
|
||||
* Golang 1.16
|
||||
|
||||
|
@ -7,7 +7,8 @@ In order to see an exhaustive list of configuration options for the packer build
|
||||
### Running the examples
|
||||
|
||||
In order to run the examples you will need to perform the following steps:
|
||||
1. Export those vars:
|
||||
1. Install packer 1.8 or later (the Ubuntu example requires the `http` data source)
|
||||
2. Export those vars:
|
||||
```
|
||||
PKR_VAR_remote_host
|
||||
PKR_VAR_remote_password
|
||||
@ -17,9 +18,9 @@ PKR_VAR_sr_iso_name
|
||||
```
|
||||
`PKR_VAR_remote_host` must be the resource pool primary, aka the master.
|
||||
|
||||
2. Run `packer init path/to/defenition.pkr.hcl` to download the xenserver plugin
|
||||
3. Run `packer init path/to/defenition.pkr.hcl` to download the xenserver plugin
|
||||
|
||||
2. Run `packer build path/to/defenition.pkr.hcl`
|
||||
4. Run `packer build path/to/defenition.pkr.hcl`
|
||||
so for example:
|
||||
`packer build examples/centos/centos8-netinstall.pkr.hcl`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user