builder/parallels: Added pppX interface to be able to run packer when using mobile wlan
This commit is contained in:
parent
016fbbf28e
commit
bd5d5e049d
|
@ -42,7 +42,7 @@ func (s *stepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAction
|
||||||
driver := state.Get("driver").(parallelscommon.Driver)
|
driver := state.Get("driver").(parallelscommon.Driver)
|
||||||
|
|
||||||
// Determine the host IP
|
// 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()
|
hostIp, err := ipFinder.HostIP()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue