Re: [foreman-users] Re: Changing the default Provisioning Method to Image Based
Not sure if this should be part of Hostgroup, for me it makes more sense for that to be on the compute profile since each type of Compute Resource will have different kinds of provisioning method. There is already one feature request http://projects.theforeman.org/issues/14278 which it says is a duplicate of http://projects.theforeman.org/issues/11050 which relates to http://projects.theforeman.org/issues/5790. From what I understood, the issue 14278 is not covered on issue 5790, so that got left behind. Looking at the https://github.com/theforeman/foreman/pull/4593 I could not find anything related to selecting default provision method. So I created this: http://projects.theforeman.org/issues/21831 Thanks! Andre On Thursday, November 30, 2017 at 5:30:28 AM UTC-8, Lukas Zapletal wrote: > > That is not part of hostgroup I guess, so you need to select it > everytime. That would be a RFE? > > LZ > > On Thu, Nov 30, 2017 at 12:11 AM, Andre Mosin> wrote: > > Did anybody figure out how to change the set a default Provisioning > Method? > > I am trying to change to Boot disk based and can't figure out how. > > > > Thanks! > > > > Andre > > > > On Friday, March 6, 2015 at 12:24:11 AM UTC-8, Magnus Gunnar wrote: > >> > >> I've thought of doing this as well. To automatically set the Compute > >> profile, you can set the profile in your host groups. That works for > me. > >> I'm not sure how to set "Provisioning Method" to "Image Based" instead > of > >> "Network Based" though.. > >> If I find out, I'll let you know.. > >> > >> On Thursday, June 5, 2014 at 9:13:42 PM UTC+2, David Haynes wrote: > >>> > >>> I've been trying to change the behavior of the New Hosts page so that > the > >>> 'image based' provisioning method is selected and the first available > image > >>> in the selector is also selected. > >>> It looks like this is filled in by a series of javascript events: > First > >>> on the 'Host Group' selector, then on the 'Compute profile' selector > then by > >>> clicking on the 'Image Based' radio button and, finally, selecting the > >>> Image. > >>> > >>> What I would like is for the Compute profile to be automatically set > to > >>> the first entry, the Image Based button to be selected and the first > entry > >>> in the Image selector to be selected when the Host Group is selected > or, as > >>> a fall back, when the Host Group and Compute profile is selected. > >>> > >>> I figure the selectors can be set by setting ':include_blank => false' > in > >>> the select_f but I then need to automatically call the ':onchange' to > make > >>> the chain of events happen in the right order. The Compute profile > selector > >>> would need to call the 'computeResourceSelected()' function and the > radio > >>> button would call the 'update_capabilities()' javascript function. > >>> > >>> Any thoughts on this approach? Any hints on implementing it? > >>> > >>> Thanks > >>> -david- > > > > -- > > 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 https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
Re: [foreman-users] Re: Changing the default Provisioning Method to Image Based
That is not part of hostgroup I guess, so you need to select it everytime. That would be a RFE? LZ On Thu, Nov 30, 2017 at 12:11 AM, Andre Mosinwrote: > Did anybody figure out how to change the set a default Provisioning Method? > I am trying to change to Boot disk based and can't figure out how. > > Thanks! > > Andre > > On Friday, March 6, 2015 at 12:24:11 AM UTC-8, Magnus Gunnar wrote: >> >> I've thought of doing this as well. To automatically set the Compute >> profile, you can set the profile in your host groups. That works for me. >> I'm not sure how to set "Provisioning Method" to "Image Based" instead of >> "Network Based" though.. >> If I find out, I'll let you know.. >> >> On Thursday, June 5, 2014 at 9:13:42 PM UTC+2, David Haynes wrote: >>> >>> I've been trying to change the behavior of the New Hosts page so that the >>> 'image based' provisioning method is selected and the first available image >>> in the selector is also selected. >>> It looks like this is filled in by a series of javascript events: First >>> on the 'Host Group' selector, then on the 'Compute profile' selector then by >>> clicking on the 'Image Based' radio button and, finally, selecting the >>> Image. >>> >>> What I would like is for the Compute profile to be automatically set to >>> the first entry, the Image Based button to be selected and the first entry >>> in the Image selector to be selected when the Host Group is selected or, as >>> a fall back, when the Host Group and Compute profile is selected. >>> >>> I figure the selectors can be set by setting ':include_blank => false' in >>> the select_f but I then need to automatically call the ':onchange' to make >>> the chain of events happen in the right order. The Compute profile selector >>> would need to call the 'computeResourceSelected()' function and the radio >>> button would call the 'update_capabilities()' javascript function. >>> >>> Any thoughts on this approach? Any hints on implementing it? >>> >>> Thanks >>> -david- > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. -- Later, Lukas @lzap Zapletal -- 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+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
[foreman-users] Re: Changing the default Provisioning Method to Image Based
Did anybody figure out how to change the set a default Provisioning Method? I am trying to change to Boot disk based and can't figure out how. Thanks! Andre On Friday, March 6, 2015 at 12:24:11 AM UTC-8, Magnus Gunnar wrote: > > I've thought of doing this as well. To automatically set the Compute > profile, you can set the profile in your host groups. That works for me. > I'm not sure how to set "Provisioning Method" to "Image Based" instead of > "Network Based" though.. > If I find out, I'll let you know.. > > On Thursday, June 5, 2014 at 9:13:42 PM UTC+2, David Haynes wrote: >> >> I've been trying to change the behavior of the New Hosts page so that the >> 'image based' provisioning method is selected and the first available image >> in the selector is also selected. >> It looks like this is filled in by a series of javascript events: First >> on the 'Host Group' selector, then on the 'Compute profile' selector then >> by clicking on the 'Image Based' radio button and, finally, selecting the >> Image. >> >> What I would like is for the Compute profile to be automatically set to >> the first entry, the Image Based button to be selected and the first entry >> in the Image selector to be selected when the Host Group is selected or, as >> a fall back, when the Host Group and Compute profile is selected. >> >> I figure the selectors can be set by setting ':include_blank => false' in >> the select_f but I then need to automatically call the ':onchange' to make >> the chain of events happen in the right order. The Compute profile selector >> would need to call the 'computeResourceSelected()' function and the radio >> button would call the 'update_capabilities()' javascript function. >> >> Any thoughts on this approach? Any hints on implementing it? >> >> Thanks >> -david- >> > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.