Merge pull request #2799 from justincormack/cableconnected

Connect cable on virtualbox networking
This commit is contained in:
Rolf Neugebauer 2017-12-06 10:07:14 +00:00 committed by GitHub
commit 3622f1a67a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,11 @@ func runVbox(args []string) {
log.Fatalf("modifyvm --nic error: %v\n%s", err, out)
}
_, out, err = manage(vboxmanage, "modifyvm", name, "--cableconnected1", "on")
if err != nil {
log.Fatalf("modifyvm --cableconnected error: %v\n%s", err, out)
}
// create socket
_ = os.Remove(consolePath)
ln, err := net.Listen("unix", consolePath)