Hello!
I hope someone can help me with a problem that I cannot see how to fix.
I'm using cobbler to install Ubuntu boxes, and I'd like to manage their
configuration with Ansible. My problem is that I would like Cobbler to
install my SSH public id into the boxes, so that Ansible can connect
without providing a password.
According to what I've found in [1], I could do something like this:
d-i preseed/late_command string in-target wget
http://$http_server/cblr/svc/op/script/$what/$name/ script=my_public_key
-O /tmp/thekey; \
in-target cat /tmp/thekey >> /home/user/.ssh/authorized_keys \
My question is, how can I provide the public key file in a more standard
location? I.e. how can I make the file available for download, just like
the scripts, but in a "files" directory, or anything similar?
Thanks in advance for your help!
Best regards
--
Rubén Pérez Vázquez
*Universität zu Köln*
/Regionales Rechenzentrum (RRZK)/
Weyertal 121, Raum 4.07
D-50931 Köln
✆: +49-221-470-89603
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler