better VM page handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
d494f0fe47
commit
14199d588e
9
main.go
9
main.go
|
@ -11,6 +11,9 @@ import "runtime/debug"
|
|||
import "github.com/gookit/config"
|
||||
import "github.com/gobuffalo/packr"
|
||||
|
||||
// will try to get this hosts FQDN
|
||||
import "github.com/Showmax/go-fqdn"
|
||||
|
||||
// import "github.com/golang/protobuf/proto"
|
||||
import pb "git.wit.com/wit/witProtobuf"
|
||||
|
||||
|
@ -95,10 +98,12 @@ func main() {
|
|||
gui.Data.Height = config.Int("height")
|
||||
|
||||
// TODO: figure out the hostname the right way
|
||||
gui.Data.Hostname = "librem15.lab.wit.com"
|
||||
hostname := fqdn.Get()
|
||||
log.Println("fqdn.Get() = ", hostname)
|
||||
gui.Data.Hostname = hostname
|
||||
gui.Data.IPv6 = "2604:bbc0:3:3:0:10:0:1004"
|
||||
|
||||
gui.Data.Version = "v0.5"
|
||||
gui.Data.Version = "v0.6"
|
||||
gui.Data.GitCommit = GITCOMMIT
|
||||
gui.Data.GoVersion = GOVERSION
|
||||
gui.Data.Buildtime = BUILDTIME
|
||||
|
|
Loading…
Reference in New Issue