On Mon, Dec 17, 2018 at 09:23:08AM +0000, secli...@boxdan.com wrote:
> Has anyone successfully automated (i.e with Ansible/etc) the process of
> installing OpenBSD on a remote server?
> 
> The most recent attempts at remote installation (manual or automated) that I
> was able to find, are fairly old:
> https://jcs.org/notaweblog/2014/09/12/remotely_installing_openbsd_qemu
> https://github.com/jedisct1/yaifo
> https://www.dim13.org/Install-OpenBSD-on-remote-host-without-KVM
> http://frankgroeneveld.nl/2014/04/13/remote-installation-of-openbsd-from-linux/
> 
> jcs indicates that his QEMU-based method demands knowing what kind of
> network card is in the server. This seems hard to automate.

I don't know how you would do this with ansible, since the node
requirement is at least a network connection already running, ssh (which
is not in bsd.rd) and python (which is only on ports).  In another
words, a pretty complete OS setup already.

See this:
https://docs.ansible.com/ansible/2.7/installation_guide/intro_installation.html#managed-node-requirements

And some problems Joshua Stein described he could hit with YAIFO (the
first link you posted) would also apply here.  Note that this isn't
limited to OpenBSD.

Maybe ansible is not the answer here.

Cheers,

-- 
db

Reply via email to