[one-users] context init scripts

Thomas Stein himbeere at meine-oma.de
Fri Dec 5 08:26:08 PST 2014


Am 05.12.14 16:57, schrieb Thomas Stein:
> Am 05.12.14 16:29, schrieb Thomas Stein:
>> Am 05.12.14 16:24, schrieb Olivier Sallou:
>> 
>>>> CONTEXT=[
>>>>   INIT_SCRIPTS="init.sh puppet_gentoo opennebula_init_test",
>>> Are init scripts present on your VM or virtual CDROM ?(init.sh
>>> puppet_gentoo opennebula_init_test)
>> 
>> No. They are not. I uploaded them to the datastore as described in the
>> linked article. So it seems i missed the virtual cdrom part. Do i need
>> to create a cdrom device with the files on it? Is this documented
>> somewhere?
> 
> Hm. I found:
> 
> CONTEXT
> 
> The contextualization cdrom can include CONTEXT type Images. Visit the
> complete reference for more information.
> 
> CONTEXT = [
>   FILES_DS   = "$FILE[IMAGE_ID=34] $FILE[IMAGE=kernel]",
> ]
> 
> I'm still lost. How do i create a  contextualization cdrom?

Uaahhh. Got it. I have to mount the image.

gentoo ~ # mount /dev/sr0 /mnt/
mount: /dev/sr0 is write-protected, mounting read-only
gentoo ~ # ls /mnt/
context.sh  opennebula_init_test  puppet_gentoo
gentoo ~ #

best regards
t.

> best regards
> t.
> 
>> thanks for the anwser and cheers
>> t.
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 



More information about the Users mailing list