[Users] Linux sysprep
Yuriy Demchenko
demchenko.ya at gmail.com
Wed Aug 21 09:18:39 UTC 2013
Although you've already got some answers with payload/cloudinit idea, I
can point at another solution I've used myself:
http://lists.ovirt.org/pipermail/users/2013-June/014907.html
Use a vdsm-hook to write vmname into some bios field, then one-time
init-script inside template to configure your vm as you need.
Yuriy Demchenko
On 08/19/2013 06:17 PM, René Koch (ovido) wrote:
> Another option would be to write a custom script which is started during
> boot and disables itself after successful run (in the same way as
> firstboot - I already have such a script for RHN Satellite/Spacewalk
> joins). The problem here is: How do I get the (oVirt) name of this vm
> (would need something like virt-whoami:) )? Is the (internal oVirt) ID
> of this vm stored somewhere in the filesystem of this vm? I don't think
> so....
More information about the Users
mailing list