builder/parallels: Added pppX interface to be able to run packer when using mobile wlan

pull/1160/head
Rickard von Essen 12 years ago
parent 016fbbf28e
commit bd5d5e049d

@ -42,7 +42,7 @@ func (s *stepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAction
driver := state.Get("driver").(parallelscommon.Driver)
// Determine the host IP
ipFinder := &IfconfigIPFinder{Devices: []string{"en0", "en1", "en2", "en3", "en4", "en5", "en6", "en7", "en8", "en9"}}
ipFinder := &IfconfigIPFinder{Devices: []string{"en0", "en1", "en2", "en3", "en4", "en5", "en6", "en7", "en8", "en9", "ppp0", "ppp1", "ppp2"}}
hostIp, err := ipFinder.HostIP()
if err != nil {

Loading…
Cancel
Save