func (n *hostOnlyNetwork) Save(vbox VBoxManager) error {
	if err := n.SaveIPv4(vbox); err != nil {
		return err
	}

	if n.DHCP {
		vbox.vbm("hostonlyif", "ipconfig", n.Name, "--dhcp") // not implemented as of VirtualBox 4.3
	}

	return nil
}
func (n *hostOnlyNetwork) Save(vbox VBoxManager) error {
	if err := n.SaveIPv4(vbox); err != nil {
		return err
	}

	if n.DHCP {
		vbox.vbm("hostonlyif", "ipconfig", n.Name, "--dhcp") 
	}

	return nil
}
func ( n * hostOnlyNetwork ) Save ( vbox VBoxManager ) error { if err := n . SaveIPv4 ( vbox ) ; err != nil { return err } if n . DHCP { vbox . vbm ( " " , " " , n . Name , " " ) // not implemented as of VirtualBox 4.3 } return nil }
// Save changes the configuration of the host-only network.
Save changes the configuration of the host - only network .