Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Network Issues #7

Open
Emanuele94 opened this issue Feb 23, 2023 · 2 comments
Open

Network Issues #7

Emanuele94 opened this issue Feb 23, 2023 · 2 comments

Comments

@Emanuele94
Copy link

Hi, i'm reusing parts of your project to create a template with vsphere-iso.
Everything seems to work fine, i just do not undestand how the network card is being set up.
Shouldn't i put a network conf in te autounattend.xml ?

@eaksel
Copy link
Owner

eaksel commented Feb 23, 2023

Hi @Emanuele94,

You shouldn't have to edit that file for networking.

I haven't used the vsphere-iso builder previously so I can't tell for sure, but it should work as for the other builders:

  • The VM is created
  • It gets an IP address from your DHCP server
  • Packer retrieves the IP address from the hypervisor

I hope that makes it clearer for you.

@Emanuele94
Copy link
Author

Thanks eaksel.
I think my problem resides in the fact that i should install vmware tools during the unattended otherwise my vm doesn't have the drivers to bring up the nic vmxnet3.
I'm mounting the iso for vmware tools in a cd sata. crated a cmd script that runs setup during autounattend.
I'll let you know if it works. mabye someone is gonna need to understand this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants