move powershell module to common

This commit is contained in:
Matthew Hooker 2016-12-12 18:32:25 -08:00
parent d0a3e956a8
commit 45d4cf8b36
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
6 changed files with 5 additions and 5 deletions

View File

@ -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 {

View File

@ -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"
) )

View File

@ -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) {