From 6419afbb779b26af853b46d8ad79cfe52b6f7805 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Tue, 27 Nov 2018 04:14:06 -0800 Subject: openbsd: run on gce * build/openbsd: minor cleanup (use tuples instead of maps) * Grammar nits in comments. * Simplify openbsd.Create, will defer when there's more than one error exit. * pkg/build: Support copying kernel into GCE image * Simple test for openbsd image copy build. * Cleanup in case something failed before. * Support multi-processor VMs on GCE. * More debug * Reformat * OpenBSD gce image needs to be raw. * GC * Force format to GNU directly on Go 1.10 or newer. * Use vmType passed as a parameter inside openbsd.go * gofmt * more fmt * Can't use GENERIC.mp just yet. * capitalize * Copyright --- vm/vmimpl/vmimpl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm/vmimpl') diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go index e9ac59dd6..7831a0bef 100644 --- a/vm/vmimpl/vmimpl.go +++ b/vm/vmimpl/vmimpl.go @@ -33,8 +33,8 @@ type Instance interface { // Copy copies a hostSrc file into VM and returns file name in VM. Copy(hostSrc string) (string, error) - // Forward setups forwarding from within VM to host port port - // and returns address to use in VM. + // Forward sets up forwarding from within VM to the given tcp + // port on the host and returns the address to use in VM. Forward(port int) (string, error) // Run runs cmd inside of the VM (think of ssh cmd). -- cgit mrf-deployment