[Openstack] assign fix ip to instance
Jason Smith
jason at smithss.org
Wed Dec 16 21:42:30 UTC 2015
Glad it helped
Thanks,
-js
-- Typo’s courtesy of Apple --
On December 16, 2015 at 1:19:59 PM, Satish Patel (satish.txt at gmail.com) wrote:
Thanks jason!!
On Wed, Dec 16, 2015 at 11:57 AM, Jason Smith <jason at smithss.org> wrote:
> Hello,
>
> When booting an instance you can assign the IP with v4-fixed-ip=<IP ADDRESS>
>
> Below is an example.
>
> $ nova boot --nic
> net-id=3ff9b903-e921-4752-a26f-cba8f1433992,v4-fixed-ip=10.0.0.30 \
> --image centos-6-cloud --key-name lars --flavor m1.small test0
>
> Thanks,
> -js
>
> -- Typo’s courtesy of Apple --
>
> On December 16, 2015 at 8:50:28 AM, satish patel (satish.txt at gmail.com)
> wrote:
>>
>> Hello,
>>
>> does it possible assign IP when build VM? We have flat network setup
>> with DHCP=false, but i have created start/end IP range so openstack
>> assign IP when VM start.
>>
>> Yesterday one of my application crash and i was planing to rebuild VM
>> with new OS, but problem is how do i assign existing IP? that IP is
>> configured in all firewall,DNS, SSH key list etc.. it is total mess if
>> i change IP :(
>>
>> can i grab old IP for that instance or just reserve that IP for that VM?
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151216/145f167c/attachment.html>
More information about the Openstack
mailing list