Foreman 1.4 EC2 Compute Resource associate_public_ip?

Having a hard time finding a way to associate a public ip along with a VPC
subnet. Anyway to do this?

Would be nice to have the ability to associate public ip with VPC instance
on creation.

https://github.com/fog/fog/pull/2152/commits

Not currently possible

Jim

··· On 30 January 2014 23:15, OmarH5G wrote:

Having a hard time finding a way to associate a public ip along with a
VPC subnet. Anyway to do this?

Would be nice to have the ability to associate public ip with VPC instance
on creation.

Add ability to associate public ip with VPC instance on creation by grosendorf · Pull Request #2152 · fog/fog · GitHub


You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

Managed to get it working with a ugly hack. Suits my needs but would be
nice if this was in the gui

vim /usr/share/foreman/app/models/compute_resources/foreman/model/ec2.rb

125 def vm_instance_defaults
126 super.merge(
127 :flavor_id => "m1.small",
128 :key_pair => key_pair,
129 :associate_public_ip => true
130 )
131 end

··· On Friday, January 31, 2014 9:14:54 AM UTC-5, Paradoxbound wrote: > > Not currently possible > > Jim > > > On 30 January 2014 23:15, OmarH5G <allg...@gmail.com > wrote: > >> Having a hard time finding a way to associate a public ip along with a >> VPC subnet. Anyway to do this? >> >> Would be nice to have the ability to associate public ip with VPC >> instance on creation. >> >> https://github.com/fog/fog/pull/2152/commits >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > >