# Vsphere-iso and cd\_files

**URL:** <https://discuss.hashicorp.com/t/vsphere-iso-and-cd-files/64570>\
**Category:** Packer\
**Created:** [April 4, 2024, 3:50pm UTC](https://discuss.hashicorp.com/t/vsphere-iso-and-cd-files/64570 "2024-04-04T15:50:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/steven/32/24491_2.png) [@steven](https://discuss.hashicorp.com/u/steven)\
**Post date:** [April 4, 2024, 3:50pm UTC](https://discuss.hashicorp.com/t/vsphere-iso-and-cd-files/64570/1 "2024-04-04T15:50:29Z")

</div>

Hello all, still attempting to configure an almalinux template with packer and I have a question about the cd\_files function in the vsphere-iso builder.

I’ve read the instructions, in that cd\_files (string) - A list of files to place onto a CD that is attached when the VM is booted. This can include either files or directories; any directories will be copied onto the CD recursively, preserving directory structure hierarchy, etc, but what I want to do is to then copy the files from the “CD” that the VM boots from so that the files are included in the template.

Question is simple: where is the “CD” mounted during installation, so that I can perform a simple cp -r from somewhere, to the user directory, or /tmp?
