summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/init.go b/init.go
index 883fab4..94b58d3 100644
--- a/init.go
+++ b/init.go
@@ -145,28 +145,10 @@ func (f *Forge) InitPB() {
}
func (f *Forge) InitMachine() {
- /*
- f.Machine = new(zoopb.Machine)
- if err := f.Machine.ConfigLoad(); err != nil {
- log.Log(WARN, "zoopb.ConfigLoad() failed", err)
- f.Machine.InitWit()
- }
- */
-
if f.Config.Username == "" {
usr, _ := user.Current()
f.Config.Username = usr.Username
}
-
- /*
- if f.Machine.Hostname == "" {
- r, err := shell.RunVerbose([]string{"hostname", "-f"})
- if err == nil {
- tmp := strings.Join(r.Stdout, "\n")
- f.Machine.Hostname = strings.TrimSpace(tmp)
- }
- }
- */
}
// only init's the protobuf. intended to not scan or change anything