[ovirt-users] yaml cloud-init custom scripts
Omer Frenkel
ofrenkel at redhat.com
Sun Jun 1 15:20:38 UTC 2014
----- Original Message -----
> From: "Nathanaël Blanchet" <blanchet at abes.fr>
> To: "users" <users at ovirt.org>
> Sent: Friday, May 30, 2014 6:49:34 PM
> Subject: [ovirt-users] yaml cloud-init custom scripts
>
> Hello,
>
> I've been unsuccessfully trying to make work a custom yalm script with the
> cloud-init option in 3.4.1.
> All other native UI parameters are correctly configured (hostname...)
>
> My goal is to change the keyboard layout:
> write_files:
> - content: |
> # My new /etc/sysconfig/keyboard file
> KEYTABLE="fr"
> MODEL="pc105"
> LAYOUT="fr"
> KEYBOARDTYPE="pc"
> path: /etc/sysconfig/keyboard
> permissions: '0644'
>
> I can't see what is wrong and there is nothing into cloud-init logs on the
> guest (/var/log/clou-init-output.log).
isn't it in /var/log/cloud-init.log ?
> Is it possible to see the whole yalm file generated by the engine somewhere?
>
the cloud init data is attached to the vm as a cd-rom
you can mount it locally and look inside the drive name is config-2 (look for it with blkid)
for me on fedora 19 it always appear in /dev/sr1
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle exploitation et maintenance
> Département des systèmes d'information
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax 33 (0)4 67 54 84 14 blanchet at abes.fr
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list