Hi Juan,
Yes, the above script is working fine.
--
Regards
Shanil
On Tue, Sep 16, 2014 at 7:49 PM, Juan Hernandez wrote:
> On 09/12/2014 07:04 AM, Shanil S wrote:
> > Hi Juan,
> >
> > I tried the following
> >
> >
> >
> >
> >
> > ...
> >
> >
> >
On 09/12/2014 07:04 AM, Shanil S wrote:
> Hi Juan,
>
> I tried the following
>
>
>
>
>
> ...
>
>
> ignored
>
> plaintext
>
>
>
>
> plaintext
>
>
>
>
Hi Juan,
I tried the following
...
ignored
plaintext
plaintext
write_files:
-content: |
Some Content for my file
path: /tmp/myfil
On 09/11/2014 12:51 PM, Shanil S wrote:
> Hi Juan,
>
> Also, i tried the following custom script from the ovirt panel and its
> working
>
> #cloud-config
> write_files:
> -content: |
> # THIS IS MY TEXT FILE
> Some Content for my file
> path: /tmp/myfile
> permissions:
Hi Juan,
Also, i tried the following custom script from the ovirt panel and its
working
#cloud-config
write_files:
-content: |
# THIS IS MY TEXT FILE
Some Content for my file
path: /tmp/myfile
permissions: '0644'
but the same content script i tried from the ovir api
Hi Juan,
Okay sure..
The following xml i used
test2
root
test
virtio
eth0
n
On 09/11/2014 06:54 AM, Shanil S wrote:
> Hi Juan,
>
> It seems the it doesn't contains the "phone_home " section in the cat
> /mnt/openstack/latest/user_data
>
> the following is the output
>
> #cloud-config
> ssh_pwauth: true
> disable_root: 0
> output:
> all: '>> /var/log/cloud-init-output
Hi Juan,
It seems the it doesn't contains the "phone_home " section in the cat
/mnt/openstack/latest/user_data
the following is the output
#cloud-config
ssh_pwauth: true
disable_root: 0
output:
all: '>> /var/log/cloud-init-output.log'
user: root
password: admin123
chpasswd:
expire: false
ru
On 09/10/2014 06:44 AM, Shanil S wrote:
> Hi Juan,
>
> What i am planning to do is to make work the following script
>
> #cloud-config
>
> # phone_home: if this dictionary is present, then the phone_home
> # cloud-config module will post specified data back to the given
> # url
> # default: none
Hi Juan,
What i am planning to do is to make work the following script
#cloud-config
# phone_home: if this dictionary is present, then the phone_home
# cloud-config module will post specified data back to the given
# url
# default: none
# phone_home:
# url: http://my.foo.bar/$INSTANCE/
# post:
Hi Juan,
Okay.. Thanks.. its working.
I would like to execute other page something like test_script.php by
posting some values to it using the cloud init, Is it possible to do it ?
--
Regards
Shanil
On Fri, Sep 5, 2014 at 10:08 PM, Juan Hernandez wrote:
> On 09/05/2014 12:55 PM, Shanil S w
On 09/05/2014 12:55 PM, Shanil S wrote:
> Hi Juan,
>
> Thanks for your reply.
>
> I tried with the above but i was unable to find the 'iwashere.txt' after
> executing the above xml.
>
I repeated the test, this time with 3.4, and it worked fine for me. As
the formatting of the XML is very import
Hi Juan,
Thanks for your reply.
I tried with the above but i was unable to find the 'iwashere.txt' after
executing the above xml.
--
Regards
Shanil
On Fri, Sep 5, 2014 at 3:00 PM, Juan Hernandez wrote:
> On 09/05/2014 10:46 AM, Sven Kieske wrote:
> >
> >
> > Am 05.09.2014 10:27, schrieb Jua
On 09/05/2014 10:46 AM, Sven Kieske wrote:
>
>
> Am 05.09.2014 10:27, schrieb Juan Hernandez:
>> Trying to make an example for this I discovered that the "custom_script"
>> element is currently ignored if the "cloud_init" element is present.
>> Instead we are taking the content of the first "file
Am 05.09.2014 10:27, schrieb Juan Hernandez:
> Trying to make an example for this I discovered that the "custom_script"
> element is currently ignored if the "cloud_init" element is present.
> Instead we are taking the content of the first "file" element from the
> "cloud_init" element and append
On 09/04/2014 11:59 AM, Shanil S wrote:
> Hi Juan,
>
> I tried with the above touch command but it seems the 'iwashere' file
> isn't created after executing it the above command.
>
Trying to make an example for this I discovered that the "custom_script"
element is currently ignored if the "cloud_
Hi Juan,
I tried with the above touch command but it seems the 'iwashere' file isn't
created after executing it the above command.
--
Regards
Shanil
On Thu, Sep 4, 2014 at 3:02 PM, Juan Hernandez wrote:
> On 09/04/2014 10:58 AM, Shanil S wrote:
> > Hi Juan,
> >
> > Okay.. Thanks for your upd
On 09/04/2014 10:58 AM, Shanil S wrote:
> Hi Juan,
>
> Okay.. Thanks for your update. Also i found some sample cloud init
> scripts from here
> https://github.com/number5/cloud-init/tree/master/doc/examples and i
> tried the following scripts
>
> - type: foo/wark
> filename: bar
> content: |
> Th
Hi Juan,
Okay.. Thanks for your update. Also i found some sample cloud init scripts
from here https://github.com/number5/cloud-init/tree/master/doc/examples
and i tried the following scripts
- type: foo/wark
filename: bar
content: |
This is my payload
hello
- this is also payload
- |
multi line p
On 09/04/2014 06:29 AM, Shanil S wrote:
> Hi Juan,
>
> Is there anyways to specify the custom script from a file in the xml ?
> ie, i have a script in a file called script.sh and i would like to
> include this script in the xml with the api call. Is there any methods
> for this ?
>
You can deplo
Hi Juan,
Is there anyways to specify the custom script from a file in the xml ? ie,
i have a script in a file called script.sh and i would like to include this
script in the xml with the api call. Is there any methods for this ?
--
Regards
Shanil
On Tue, Sep 2, 2014 at 3:02 PM, Shanil S wrote
Hi Juan,
Thanks for the solution.
--
Regards
Shanil
On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez wrote:
> On 09/02/2014 05:46 AM, Shanil S wrote:
> > Hi All,
> >
> > From the ovirt admin panel, there is an option to give the custom script
> > in the cloud init ( Run Once-> cloud init- > Cu
On 09/02/2014 05:46 AM, Shanil S wrote:
> Hi All,
>
> From the ovirt admin panel, there is an option to give the custom script
> in the cloud init ( Run Once-> cloud init- > Custom script ). Is there
> any ways to pass the custom script to cloud init using the rest api ?
>
The custom script shou
Hi All,
>From the ovirt admin panel, there is an option to give the custom script in
the cloud init ( Run Once-> cloud init- > Custom script ). Is there any
ways to pass the custom script to cloud init using the rest api ?
--
Regards
Shanil
___
Users m
24 matches
Mail list logo