Skip to content
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

Networking for VMs with static IPs. #34

Open
taboche opened this issue Oct 12, 2024 · 4 comments
Open

Networking for VMs with static IPs. #34

taboche opened this issue Oct 12, 2024 · 4 comments

Comments

@taboche
Copy link

taboche commented Oct 12, 2024

I got the migration working with Ubuntu 22.04. However, our VMware VMs are configured with static IPs, and we would like to use neutron DHCP IP assignment in OpenStack. The migrated VMs are not getting IPs because of the static networking config. Is it possible to run virt-customize type commands to manipulate the network settings?

@mnaser
Copy link
Member

mnaser commented Oct 13, 2024

@taboche if you put the same exact IP configuration as the static configured one, wouldn't the VM just boot fine with no problems?

@taboche
Copy link
Author

taboche commented Oct 13, 2024

@mnaser That would have been great. In my case, I cannot use the same subnet on OpenStack side and also OpenStack IP range are in different subdomain so I needed to make that change.

@mnaser
Copy link
Member

mnaser commented Oct 19, 2024

I don't think we have an easy way to implement this, if there is something in the virt-v2v toolkit that can do this, perhaps we can tap into it, but we lean heavily on virt-v2v for playing around the actual state of the VM.

@taboche
Copy link
Author

taboche commented Oct 19, 2024

@mnaser I had some success with virt-v2v firstboot script feature. This script has to be smart enough to take care of all OS distro though.

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

No branches or pull requests

2 participants