# Command to use local preseed.cfg?

**URL:** <https://discuss.hashicorp.com/t/command-to-use-local-preseed-cfg/21222>\
**Category:** Packer\
**Created:** [February 21, 2021, 11:17am UTC](https://discuss.hashicorp.com/t/command-to-use-local-preseed-cfg/21222 "2021-02-21T11:17:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![G0nz0uk](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/g0nz0uk/32/17090_2.png) [@G0nz0uk](https://discuss.hashicorp.com/u/G0nz0uk)\
**Post date:** [February 21, 2021, 11:17am UTC](https://discuss.hashicorp.com/t/command-to-use-local-preseed-cfg/21222/1 "2021-02-21T11:17:47Z")

</div>

Hello,

I currently use a test remote preseed.cfg file on my gisthub in my build.json:

Something like this:

` "url=https://gist.githubusercontent.com/user/123/raw/123/preseed.cfg ",`

How can I use my local pressed.cfg instead?

Thanks

---

<div class="post-metadata">

**Author:** ![Wolfsrudel](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/wolfsrudel/32/28465_2.png) [@Wolfsrudel](https://discuss.hashicorp.com/u/Wolfsrudel)\
**Post date:** [February 21, 2021, 3:25pm UTC](https://discuss.hashicorp.com/t/command-to-use-local-preseed-cfg/21222/2 "2021-02-21T15:25:32Z")

</div>

For the `vsphere-iso` builder you could use the http server feature of packer:

> **[VSphere ISO - Builders | Packer by HashiCorp](https://www.packer.io/docs/builders/vmware/vsphere-iso#http-directory-configuration)**
>
> This VMware Packer builder starts from an ISO and creates a vm using the
> vSphere API to build on a remote VMWare machine.

Or `cd_files`:

> **[VSphere ISO - Builders | Packer by HashiCorp](https://www.packer.io/docs/builders/vmware/vsphere-iso#optional-3)**
>
> This VMware Packer builder starts from an ISO and creates a vm using the
> vSphere API to build on a remote VMWare machine.

Or even `floppy_files` if floppy is still supported by hypervisor and kernel/ os:

> **[VSphere ISO - Builders | Packer by HashiCorp](https://www.packer.io/docs/builders/vmware/vsphere-iso#floppy-configuration)**
>
> This VMware Packer builder starts from an ISO and creates a vm using the
> vSphere API to build on a remote VMWare machine.
