forked from xenserver/packer-plugin-xenserver
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support changes of IP address on reboot of VM #61
Comments
@Erik142 thanks for the contribution! I'm traveling through April 23rd, but I'm hoping to have time to review your PR over the next week. |
@Erik142 apologies for the delay on this. I'm hoping to get to it in the next week. |
@ddelnano any progress ? |
I'm also experiencing this issue on Debian 12.5 netinst ISO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using packer in combination with this plugin, to create images of certain operating systems such as Debian, I am having the following issue:
I am using the Debian 11.6.0 netinst iso to install Debian via network mirrors. This means that the VM retrieves an IP address very early during the installation process, which this packer plugin notices. However, when the VM restarts after a successful installation of the OS, the IP address for the VM tends to change, since there is a change in the DHCP client ID. I am inclined to believe that Debian isn't the only OS that would have this issue.
Therefore, I think it would be beneficial for this plugin to be able to react to changes of the IP address for the VM. If the HTTP server is used to detect the IP address for the VM, it would be up to the user to perform an HTTP request to the HTTP server when the IP address has changed. Otherwise, the plugin should continuously check whether the IP address has changed by means of the xe-guest-utilities package on the VM.
The text was updated successfully, but these errors were encountered: