On 11.02.25 13:56, Enrico Weigelt, metux IT consult wrote:
On 01.02.25 01:18, Till Wegmueller wrote:

Hi,


Those are OI specific questions so they are better asked on openindiana
specific lists

which one ? :o

Discussion list for OpenIndiana <openindiana-disc...@openindiana.org>

Yes I can requild the Images this weekend as I have some time for that
on FOSDEM :)

thanks :)

For the second question, we have cloud-init nocloud support which I and
others use to bootstrap networking and ssh for machines.

Are there any examples (w/ qemu)

All I finally need is an image where I can directly ssh into (w/o PW)
from the host, so I can easily run builds inside there.

Here's my current code:
https://github.com/X11Libre/xorg-testing/blob/master/lib/vm.sh

And here's a list of the steps I currently have to do manually
for preparing the image:
https://github.com/X11Libre/xorg-testing/blob/master/etc/vm/openindiana- hipster-amd64.cf

My ultimate goal is not having to maintain my own (manually tweaked)
images anymore, but directly start off on official images.

Try my script and add custom Ansible or shell scripts via SSH after the initial SSH process. I attached it. The part that you will need is the Here documents with yaml for the cloud-init config and the mkisofs line. The Rest is simply to get the MAC address from the VM as that's the property metadata-agent matches the NIC on. NICNAME can be freely chosen and the resulting link will be named NICNAME

Hope this helps
-Till
------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/Tdc29ed4eeb29840a-M89bac050690be31a8e5934b2
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Attachment: create_oi_script.sh
Description: application/shellscript

Reply via email to