-
Notifications
You must be signed in to change notification settings - Fork 660
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
multipass ignores cloud init configuration #1404
Comments
@Samet-MohamedAmin from first glance, you are missing the required I'm not too familiar with cloud-init and I find the documentation rather lacking, but I'm pretty sure that you cannot set the IP as it is assigned by the hypervisor on boot and is not user controlled. This ticket has more information on the IP assignment #1293 (comment) |
Hi @Samet-MohamedAmin @jasonmccallister hit it exactly. It won't be considered cloud-init data unless it has the When dealing with #118, we'll add a way for you to specify a bridge (or interface) to hook the instance to and you'll be able to use its DHCP or static addresses for those virtual NICs. |
Duplicate of #118 |
I'm using multipass with hyper-v driver on windows.
I have created VM with multipass with the cloud-init configuration:
multipass launch --name mpass-14 --cpus 2 --mem 2G --disk 20G --cloud-init .\custom-netwosrking.cfg
The problem is that the ip of the newely create VM does not change.
I have tried other configuration from
cloudinit.readthecos.io
but the configuration does not seem to be accepted.
The text was updated successfully, but these errors were encountered: