[Openstack] Wordpress template

foss geek thefossgeek at gmail.com
Wed Aug 13 16:41:16 UTC 2014


(OR)

You can hard code all you parameters as default values in respective
parameter section:

key_name
- default: mykey102

image
- default: Ubuntu_12_04_x86_64

flavor
- default: m1.small

public_net_id

- default: d349fdaa-d49d-486c-9807-4d07fc4d1cd8

private_net_id

- default: 25a7a783-90fc-4ad2-a719-f6b9fd9d96e9

private_subnet_id

- default: 67c9e4a0-d717-4eaa-83a6-6e6189c2a0c2

If you replace all the above default values to your's then you can run
without command line parameter.

# heat stack-create wordpress
--template-file=icehouse_wordpress_single_instance_ubuntu.yaml



On Wed, Aug 13, 2014 at 10:02 PM, foss geek <thefossgeek at gmail.com> wrote:

> Hi Kumar,
>
> If you want use the template without any change then you have to pass the
> below parameters:
>
> # heat stack-create wordpress
> --template-file=icehouse_wordpress_single_instance_ubuntu.yaml
> --parameters="key_name=mykey,image=<your_image_name>,flavor=<flavor_name>,public_net_id=<your_public_network_id>,private_net_id=<your_private_network_id>,private_subnet_id=<your_private_subnet_id>"
>
>
>
> I used below Ubuntu Image
>
>
> http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
>
> Changed default username and password
>
> http://lmohanphy.livejournal.com/2496.html
>
> created key pair "mykey102"
>  -  If you are using different name then you have pass exact name from
> command line.
>
> created image named "Ubuntu_12_04_x86_64"
>
> - If you are using different name then you have pass exact name from
> command line.
>
> public_net_id
>
> - you have get your public network id and pass exact public network id
> from command line.
>
> private_net_id
>  - you have get your private network id and pass exact private network id
> from command line.
>
> private_subnet_id
>
> - you have get your private subnet id and pass exact private subnet id
> from command line.
>
>
> On Wed, Aug 13, 2014 at 4:04 PM, <yalla.gnan.kumar at accenture.com> wrote:
>
>>  Hi Foss,
>>
>>
>>
>> While launching the template, I just passed only one parameter, that is
>> the ssh-key.
>>
>>
>>
>> ----------
>>
>>
>>
>> #  heat stack-create wordpress
>> --template-file=icehouse_wordpress_single_instance_ubuntu.yaml
>> --parameters="key_name=mykey"
>>
>>
>>
>> Should I also pass any other parameters along with the key. Maybe the
>> reason , wordpress is showing blank pages is due to insufficient
>> parameters.  Your though is appreciated.
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140813/e0c05626/attachment.html>


More information about the Openstack mailing list