Hi Greg, 

What i have done till now is the following:
1. Infrastructure > Computer Resources > Create Computer Resource (here i 
have add AWS info etc)

2. Host > Provisioning templates, here i have create new Template or add 
the following templates. 
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/sample-templates-services-us-west-2.html
https://s3-us-west-2.amazonaws.com/cloudformation-templates-us-west-2/EIP_With_Association.template
Also i have try with one of the default one "Kickstart default"

3. Create OS Host > Operating Systems 
- Partition table = Kickstart default 
- Installation media > default CentOS mirror
- Templates ( i have try as i say the one that i have created and the 
default one Kickstart default )

4. After that i have create a new image from Infrastructure > Computer 
resource and > create Image. 

5. Host > create host 
- Name -(random generate)
- Deploy on AWS
- Environment - default ones 
- Puppet master - default 
- puppet CA default etc. 
Interface tab 
- add the - default subnet 
Operating System 
In this part i have just one choice 
-Architecture - 64
- OS - the one that i have created
- Image - the one that i have created
- Root password - password 
and when i press resolve i got this message
Also when i try to press submit i get the same error. 

There is no finish template anywhere as options on the way. I have try to 
lock the template but again same results. 


On Thursday, September 28, 2017 at 11:21:37 AM UTC+2, Greg Sutcliffe wrote:
>
> On Wed, 2017-09-27 at 15:01 -0700, Ivan Adji-Krstev wrote: 
> > Hi all, 
> > Is there a good tutorial on how to provisioning EC2/VM on AWS using 
> > Foreman. 
>
> No need to restrict to AWS, provisioning is largely the same in Foreman 
> regardless of the platform - that consistency is part of the attraction 
> of Foreman for many people. 
>
> > I have try the Foreman Documentation and some Google results, but all 
> > i get some error for unfinished template " Failed to save: No finish 
> > templates were found for this host, make sure you define at least one 
> > in your CentOS_7 settings" 
>
> The OS setup is indeed fiddly. Start by going to the finish template 
> you want to use (Hosts > Provisioning templates), and on the 
> Associations tab, make sure the CentOS 7 OS has been added. Save that, 
> then go to the Operating Systems page, edit CentOS 7, and on the 
> Templates tab, select the finish template as the default for this OS. 
> Save the OS. 
>
> When you provision a new host, you can click the Resolve Templates 
> button to check it's picked up the right template before you hit Save. 
>
> HTH, 
> Greg 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to