Provision using vmware template

I have a Vmware template for RHEL 6.4, the template is using the static ip
(if that matters?). Now, when I try to create a new vm using that template,
it goes through but stuck at waiting for it to be online. I want that once
I click submit, it should use the template, use the static IP provided,
host name provided and once the vm's up, puppet agent should install and
all ( which is taken care by default kickstart ). I've been trying to do
this since a while now, couldn't even find any documentation on this one.
Any ideas?? Thanks in advance

I believe the template needs to be set up to use DHCP so that Foreman can
allocate an IP automatically, then SSH to that IP to perform post-setup
steps.

··· On Tuesday, September 30, 2014 5:38:17 PM UTC-4, huhm4n wrote: > > I have a Vmware template for RHEL 6.4, the template is using the static ip > (if that matters?). Now, when I try to create a new vm using that template, > it goes through but stuck at waiting for it to be online. I want that once > I click submit, it should use the template, use the static IP provided, > host name provided and once the vm's up, puppet agent should install and > all ( which is taken care by default kickstart ). I've been trying to do > this since a while now, couldn't even find any documentation on this one. > Any ideas?? Thanks in advance >

Can we do this while template enforce to use static IP, we don't use DHCP
server. Thanks in Advance

··· On Wednesday, October 1, 2014 10:37:22 AM UTC-7, Anthony Clark wrote: > > I believe the template needs to be set up to use DHCP so that Foreman can > allocate an IP automatically, then SSH to that IP to perform post-setup > steps. > > On Tuesday, September 30, 2014 5:38:17 PM UTC-4, huhm4n wrote: >> >> I have a Vmware template for RHEL 6.4, the template is using the static >> ip (if that matters?). Now, when I try to create a new vm using that >> template, it goes through but stuck at waiting for it to be online. I want >> that once I click submit, it should use the template, use the static IP >> provided, host name provided and once the vm's up, puppet agent should >> install and all ( which is taken care by default kickstart ). I've been >> trying to do this since a while now, couldn't even find any documentation >> on this one. Any ideas?? Thanks in advance >> >

I guess if you enter the same IP on the Network tab as that's encoded in
the template then it should be able to connect. (That's the reason we
recommend DHCP, is so we know the network address.)

Other failures might be the wrong username/password encoded in the
template versus what's entered on the image configuration under the
compute resource.

··· -- Dominic Cleal Red Hat Engineering

On 17/10/14 17:13, huhm4n wrote:

Can we do this while template enforce to use static IP, we don’t use
DHCP server. Thanks in Advance

On Wednesday, October 1, 2014 10:37:22 AM UTC-7, Anthony Clark wrote:

I believe the template needs to be set up to use DHCP so that
Foreman can allocate an IP automatically, then SSH to that IP to
perform post-setup steps.

On Tuesday, September 30, 2014 5:38:17 PM UTC-4, huhm4n wrote:

    I have a Vmware template for RHEL 6.4, the template is using the
    static ip (if that matters?). Now, when I try to create a new vm
    using that template, it goes through but stuck at waiting for it
    to be online. I want that once I click submit, it should use the
    template, use the static IP provided, host name provided and
    once the vm's up, puppet agent should install and all ( which is
    taken care by default kickstart ). I've been trying to do this
    since a while now, couldn't even find any documentation on this
    one. Any ideas?? Thanks in advance 


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Great! That worked, thanks but the process is not much helpful to provision
vm. Is there a way we can encode to use static ip within the templates by
any chance. Thanks in advance.

··· On Tuesday, October 21, 2014 12:37:37 AM UTC-7, Dominic Cleal wrote: > > I guess if you enter the same IP on the Network tab as that's encoded in > the template then it should be able to connect. (That's the reason we > recommend DHCP, is so we know the network address.) > > Other failures might be the wrong username/password encoded in the > template versus what's entered on the image configuration under the > compute resource. > > -- > Dominic Cleal > Red Hat Engineering > > On 17/10/14 17:13, huhm4n wrote: > > Can we do this while template enforce to use static IP, we don't use > > DHCP server. Thanks in Advance > > > > On Wednesday, October 1, 2014 10:37:22 AM UTC-7, Anthony Clark wrote: > > > > I believe the template needs to be set up to use DHCP so that > > Foreman can allocate an IP automatically, then SSH to that IP to > > perform post-setup steps. > > > > On Tuesday, September 30, 2014 5:38:17 PM UTC-4, huhm4n wrote: > > > > I have a Vmware template for RHEL 6.4, the template is using the > > static ip (if that matters?). Now, when I try to create a new vm > > using that template, it goes through but stuck at waiting for it > > to be online. I want that once I click submit, it should use the > > template, use the static IP provided, host name provided and > > once the vm's up, puppet agent should install and all ( which is > > taken care by default kickstart ). I've been trying to do this > > since a while now, couldn't even find any documentation on this > > one. Any ideas?? Thanks in advance > > > > -- > > 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 > > <mailto:foreman-users+unsubscribe@googlegroups.com >. > > To post to this group, send email to forema...@googlegroups.com > > > <mailto:forema...@googlegroups.com >. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > >