Static IP for cloud instances
Can I make bit change to cloud-init if I want to force usage of static IP inside VM?
Is it bad practice to put static IP in virtual images and what are considerations?
First time here? Check out the FAQ!
Can I make bit change to cloud-init if I want to force usage of static IP inside VM?
Is it bad practice to put static IP in virtual images and what are considerations?
HI,
If you want to assign static IP's via cloud-init then you should get to know about config drives in openstack.
IT is recommended that the subnet in which your VM is present should not have DHCP enabled because that will make the VM get the IP leased from DHCP server.
Also please note that in order for the features of cloud-init to work the images of VM should have the package of cloud-init installed and the metadata agents should be configured properly in openstack.
Prateek
Asked: 2014-12-07 23:54:29 -0600
Seen: 1,204 times
Last updated: Dec 08 '14
virtual machine operating system
In which format he virtual machines or instance stored in the openstack
how to launch virtual machines on openstack to make them available on a public network
disable cloud-init's network setup from Heat template
vm start performance based on host
where can i find a cloud image of ubuntu (DESKTOP) ?
SoftwareDeployment and Cloud-Init
What's your use case for static? Most applications should listen on 0.0.0.0 which would help out if you are in need of statics. Your 'static address' is going to come from floating IPs.