[PATCH aeolus-website] Added configure cli to getting started guide

Matt Wagner matt.wagner at redhat.com
Wed Dec 7 15:27:38 UTC 2011


On Wed, Dec 07, 2011 at 02:39:10PM +0000, mtaylor at redhat.com wrote:
> From: Martyn Taylor <mtaylor at redhat.com>
> 
> ---
>  aeolusproject.org/content/cleaning_up.haml        |    4 +
>  aeolusproject.org/content/configure_cli.haml      |   68 +++++++++++++++++++++
>  aeolusproject.org/content/configuring_aeolus.haml |    4 +
>  aeolusproject.org/content/first_login.haml        |    4 +
>  aeolusproject.org/content/make_template.haml      |    4 +
>  aeolusproject.org/content/set_up_ec2.haml         |    4 +
>  aeolusproject.org/content/start_image.haml        |    4 +
>  aeolusproject.org/content/stop_image.haml         |    4 +
>  8 files changed, 96 insertions(+), 0 deletions(-)
>  create mode 100644 aeolusproject.org/content/configure_cli.haml
> 
> diff --git a/aeolusproject.org/content/cleaning_up.haml b/aeolusproject.org/content/cleaning_up.haml
> index e426ee1..4bb0905 100644
> --- a/aeolusproject.org/content/cleaning_up.haml
> +++ b/aeolusproject.org/content/cleaning_up.haml
> @@ -25,6 +25,10 @@ Useful things to know when using development versions of Aeolus.
>            :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        %a{ :href => "make_template.html",
>            :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template

So this isn't the fault of your patch itself, but it really feels like
this "Getting Started Guide" should be in a partial or something, as
opposed to being duplicated on every page it's used on.


> diff --git a/aeolusproject.org/content/configure_cli.haml b/aeolusproject.org/content/configure_cli.haml
> new file mode 100644
> index 0000000..b21f1d3
> --- /dev/null
> +++ b/aeolusproject.org/content/configure_cli.haml
> @@ -0,0 +1,68 @@
> +---
> +title: Aeolus | Create a Fedora 15 Template
> +breadcrumb_name: Make Template
> +extension: html
> +filter: haml
> +---
> +%h1 Create a Fedora 15 Template
> +
> +.page-listing
> +  %h3 Getting Started Guide
> +
> +  %ol
> +    %li
> +      %a{ :href => "configuring_aeolus.html",
> +          :title => "Configuring Aeolus" } Configuring Aeolus
> +
> +    %li
> +      %a{ :href => "first_login.html",
> +          :title => "First login" } First login
> +
> +    %li
> +      %a{ :href => "set_up_ec2.html",
> +          :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
> +
> +    %li
> +      Configure the Aeolus Command Line Tool
> +
> +    %li
> +      %a{ :href => "make_template.html",
> +          :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template
> +
> +    %li
> +      %a{ :href => "start_image.html",
> +          :title => "Start an Instance of the Image" } Start an Instance of the Image
> +
> +    %li
> +      %a{ :href => "stop_image.html",
> +          :title => "Stop a running Instance" } Stop a running Instance
> +
> +    %li
> +      %a{ :href => "cleaning_up.html",
> +          :title => "Cleaning up" } Cleaning up
> +
> +%br
> +
> +.section-grouping
> +  %h2 1. Update Aeolus CLI Config
> +
> +  %p
> +    Aeolus CLI is a command line tool for creating and managing aeolus images.  The Aeolus CLI Config file is installed in the user's home directory as .aeolus-cli ('~/.aeolus-cli').
> +    %pre
> +      :preserve
> +        :conductor:
> +          :url: https://localhost/conductor/api
> +          :username: admin
> +          :password: password
> +
> +  %p
> +    You should update the password to the one you created during the
> +    
> +    %a{ :href => "first_login.html"} First Login Step
> +  %p
> +    Also make sure that the conductor url is set to where conductor is running with the "/api" postfix and the username is correct.  Unless you have strayed from the default setup, the default values should be sufficient.
> +    
> +  .note
> +    %p
> +      %b NOTE -
> +      New users who want to create and manage aeolus images from the command, must install the aeolus-cli and update the config with their own credentials

Do we still create ~/.aeolus-cli the first time it's invoked by a new
user, or does the user now need to manually create the file?

> \ No newline at end of file
> diff --git a/aeolusproject.org/content/configuring_aeolus.haml b/aeolusproject.org/content/configuring_aeolus.haml
> index 9abe7aa..3ea6e09 100644
> --- a/aeolusproject.org/content/configuring_aeolus.haml
> +++ b/aeolusproject.org/content/configuring_aeolus.haml
> @@ -30,6 +30,10 @@ filter: haml
>            :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        %a{ :href => "make_template.html",
>            :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template
>  
> diff --git a/aeolusproject.org/content/first_login.haml b/aeolusproject.org/content/first_login.haml
> index 51e586e..584dbda 100644
> --- a/aeolusproject.org/content/first_login.haml
> +++ b/aeolusproject.org/content/first_login.haml
> @@ -26,6 +26,10 @@ filter: haml
>            :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        %a{ :href => "make_template.html",
>            :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template
>  
> diff --git a/aeolusproject.org/content/make_template.haml b/aeolusproject.org/content/make_template.haml
> index 5195354..0c635f6 100644
> --- a/aeolusproject.org/content/make_template.haml
> +++ b/aeolusproject.org/content/make_template.haml
> @@ -23,6 +23,10 @@ filter: haml
>            :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        Create a Fedora 15 Template
>  
>      %li
> diff --git a/aeolusproject.org/content/set_up_ec2.haml b/aeolusproject.org/content/set_up_ec2.haml
> index e8136c6..a9d54b9 100644
> --- a/aeolusproject.org/content/set_up_ec2.haml
> +++ b/aeolusproject.org/content/set_up_ec2.haml
> @@ -26,6 +26,10 @@ filter: haml
>        Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        %a{ :href => "make_template.html",
>            :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template
>  
> diff --git a/aeolusproject.org/content/start_image.haml b/aeolusproject.org/content/start_image.haml
> index 77f9c54..3bfd761 100644
> --- a/aeolusproject.org/content/start_image.haml
> +++ b/aeolusproject.org/content/start_image.haml
> @@ -32,6 +32,10 @@ filter: haml
>            :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        %a{ :href => "make_template.html",
>            :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template
>  
> diff --git a/aeolusproject.org/content/stop_image.haml b/aeolusproject.org/content/stop_image.haml
> index 258c231..4de94b6 100644
> --- a/aeolusproject.org/content/stop_image.haml
> +++ b/aeolusproject.org/content/stop_image.haml
> @@ -23,6 +23,10 @@ filter: haml
>            :title => "Configuring for Amazon EC2" } Configuring for Amazon EC2
>  
>      %li
> +      %a{ :href => "configure_cli.html",
> +          :title => "Configuring aeolus-cli" } Configure the Aeolus Command Line Tool
> +
> +    %li
>        %a{ :href => "make_template.html",
>            :title => "Create a Fedora 15 Template" } Create a Fedora 15 Template
>  
> -- 
> 1.7.6.4

ACK, but with a couple (non-binding) notes inline above.

-- Matt



More information about the aeolus-devel mailing list