move powershell module to common
This commit is contained in:
parent
d0a3e956a8
commit
45d4cf8b36
|
@ -7,8 +7,8 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/mitchellh/packer/powershell"
|
"github.com/mitchellh/packer/common/powershell"
|
||||||
"github.com/mitchellh/packer/powershell/hyperv"
|
"github.com/mitchellh/packer/common/powershell/hyperv"
|
||||||
)
|
)
|
||||||
|
|
||||||
type HypervPS4Driver struct {
|
type HypervPS4Driver struct {
|
||||||
|
|
|
@ -10,11 +10,11 @@ import (
|
||||||
"github.com/mitchellh/multistep"
|
"github.com/mitchellh/multistep"
|
||||||
hypervcommon "github.com/mitchellh/packer/builder/hyperv/common"
|
hypervcommon "github.com/mitchellh/packer/builder/hyperv/common"
|
||||||
"github.com/mitchellh/packer/common"
|
"github.com/mitchellh/packer/common"
|
||||||
|
powershell "github.com/mitchellh/packer/common/powershell"
|
||||||
|
"github.com/mitchellh/packer/common/powershell/hyperv"
|
||||||
"github.com/mitchellh/packer/helper/communicator"
|
"github.com/mitchellh/packer/helper/communicator"
|
||||||
"github.com/mitchellh/packer/helper/config"
|
"github.com/mitchellh/packer/helper/config"
|
||||||
"github.com/mitchellh/packer/packer"
|
"github.com/mitchellh/packer/packer"
|
||||||
powershell "github.com/mitchellh/packer/powershell"
|
|
||||||
"github.com/mitchellh/packer/powershell/hyperv"
|
|
||||||
"github.com/mitchellh/packer/template/interpolate"
|
"github.com/mitchellh/packer/template/interpolate"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/mitchellh/packer/powershell"
|
"github.com/mitchellh/packer/common/powershell"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetHostAdapterIpAddressForSwitch(switchName string) (string, error) {
|
func GetHostAdapterIpAddressForSwitch(switchName string) (string, error) {
|
Loading…
Reference in New Issue