<div dir="ltr">Hi Brad,<div><br></div><div>I have a working packer build of DragonFly BSD <a href="https://github.com/boxcutter/bsd">https://github.com/boxcutter/bsd</a>. </div><div><br></div><div>The most interesting parts are the boot_command <a href="https://github.com/boxcutter/bsd/blob/master/dragonflybsd.json#L5">https://github.com/boxcutter/bsd/blob/master/dragonflybsd.json#L5</a></div><div>and actual installer script <a href="https://github.com/boxcutter/bsd/blob/master/http/install.sh.dfly">https://github.com/boxcutter/bsd/blob/master/http/install.sh.dfly</a></div><div><br></div><div>Rickard von Essen</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 December 2017 at 03:03, Brad Fitzpatrick <span dir="ltr"><<a href="mailto:bradfitz@golang.org" target="_blank">bradfitz@golang.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks, Tim.<div><br></div><div>I was just about to post here about this.</div><div><br></div><div><div>As background, I run <a href="https://build.golang.org/" target="_blank">https://build.golang.org/</a> and manage its 55+ build configurations (various OSes, architectures, versions). We run almost everything in VMs (almost all GCE, but VMWare for Macs), and other stuff in zones or Docker or other container things.</div><div><br>The Dragonfly builder is one of our inelastic non-VM configs. I believe it runs on a single machine in a loop? We're prefer to run it on GCE where we can spin up thousands of cores as needed.</div><div><br></div><div>GCE is KVM (but not qemu) and uses virtio.</div><div><br></div><div>I see Dragonfly supports virtio now, so I suspect it'd run on GCE. Usually if something runs under qemu's virtio, it also runs on GCE. (GCE doesn't use qemu, though)</div><div><br></div><div>We have an open bug to automate the creation of a bootable GCE image for Dragonfly, if people can help:</div></div><div><br></div><div>     <a href="https://github.com/golang/go/issues/23060" target="_blank">https://github.com/golang/go/<wbr>issues/23060</a></div><div><br></div><div>For OpenBSD, NetBSD, and FreeBSD, we have bash scripts (linked from that bug) that we run on Linux that runs curl to fetch the install ISOs, the runs qemu + expect to run through the installer and crap out a tarball at the end we can copy to Google Cloud Storage and then boot VMs off. Then every few months we refresh or create new builder template VMs for each OS. (each build+test runs in a single-use VM) We'd love to include Dragonfly in this set. It also enables us to create ephemeral debugging VMs when developers break an operating system they don't have locally.</div><div><br></div><div>Has anybody scripted the Dragonfly installer already?</div><div><br></div><div>Or is there a mode to do automated installs from a config file?<br><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>Brad</div><div><br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 8, 2017 at 1:37 PM, Tim Darby <span dir="ltr"><<a href="mailto:t+dfbsd@timdarby.net" target="_blank">t+dfbsd@timdarby.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">Has anyone run Dragonfly in a VM on Google Compute Engine? The Go team would like to try that for the builder.</div><span class="m_7445629093360706988HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small"><br></div><div><div class="m_7445629093360706988m_5201714275422843809gmail_signature" data-smartmail="gmail_signature"><div>Tim<br></div></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>