Change imports mitchelh/packer -> hashicorp/packer
This commit is contained in:
parent
e981c5bfb5
commit
630ee5d650
|
@ -8,7 +8,7 @@ package bmcs
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
)
|
||||
|
||||
// Artifact is an artifact implementation that contains a built Custom Image.
|
||||
|
|
|
@ -9,7 +9,7 @@ package bmcs
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"github.com/hashicorp/packer/packer"
|
||||
)
|
||||
|
||||
func TestArtifactImpl(t *testing.T) {
|
||||
|
|
|
@ -12,11 +12,11 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
"github.com/hashicorp/packer/common"
|
||||
"github.com/hashicorp/packer/helper/communicator"
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/mitchellh/multistep"
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
"github.com/mitchellh/packer/common"
|
||||
"github.com/mitchellh/packer/helper/communicator"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
)
|
||||
|
||||
// BuilderId uniquely identifies the builder
|
||||
|
|
|
@ -9,7 +9,7 @@ package bmcs
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"github.com/hashicorp/packer/packer"
|
||||
)
|
||||
|
||||
func TestBuilder_ImplementsBuilder(t *testing.T) {
|
||||
|
|
|
@ -12,12 +12,12 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
"github.com/mitchellh/packer/common"
|
||||
"github.com/mitchellh/packer/helper/communicator"
|
||||
"github.com/mitchellh/packer/helper/config"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"github.com/mitchellh/packer/template/interpolate"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
"github.com/hashicorp/packer/common"
|
||||
"github.com/hashicorp/packer/helper/communicator"
|
||||
"github.com/hashicorp/packer/helper/config"
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/hashicorp/packer/template/interpolate"
|
||||
|
||||
"github.com/mitchellh/go-homedir"
|
||||
)
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
)
|
||||
|
||||
func testConfig(accessConfFile *os.File) map[string]interface{} {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
package bmcs
|
||||
|
||||
import (
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
)
|
||||
|
||||
// Driver interfaces between the builder steps and the BMCS SDK.
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
)
|
||||
|
||||
// driverBMCS implements the Driver interface and communicates with Oracle
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
package bmcs
|
||||
|
||||
import (
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
)
|
||||
|
||||
// driverMock implements the Driver interface and communicates with Oracle
|
||||
|
|
|
@ -9,8 +9,8 @@ package bmcs
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
packerssh "github.com/hashicorp/packer/communicator/ssh"
|
||||
"github.com/mitchellh/multistep"
|
||||
packerssh "github.com/mitchellh/packer/communicator/ssh"
|
||||
"golang.org/x/crypto/ssh"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ package bmcs
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/mitchellh/multistep"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
)
|
||||
|
||||
type stepCreateInstance struct{}
|
||||
|
|
|
@ -15,8 +15,8 @@ import (
|
|||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/mitchellh/multistep"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"golang.org/x/crypto/ssh"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ package bmcs
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/mitchellh/multistep"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
)
|
||||
|
||||
type stepImage struct{}
|
||||
|
|
|
@ -9,8 +9,8 @@ package bmcs
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/mitchellh/multistep"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
)
|
||||
|
||||
type stepInstanceInfo struct{}
|
||||
|
|
|
@ -10,10 +10,10 @@ import (
|
|||
"bytes"
|
||||
"os"
|
||||
|
||||
"github.com/hashicorp/packer/packer"
|
||||
"github.com/mitchellh/multistep"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
|
||||
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
|
||||
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
|
||||
)
|
||||
|
||||
// TODO(apryde): It would be good not to have to write a key file to disk to
|
||||
|
|
|
@ -29,6 +29,7 @@ import (
|
|||
nullbuilder "github.com/hashicorp/packer/builder/null"
|
||||
oneandonebuilder "github.com/hashicorp/packer/builder/oneandone"
|
||||
openstackbuilder "github.com/hashicorp/packer/builder/openstack"
|
||||
oraclebmcsbuilder "github.com/hashicorp/packer/builder/oracle/bmcs"
|
||||
parallelsisobuilder "github.com/hashicorp/packer/builder/parallels/iso"
|
||||
parallelspvmbuilder "github.com/hashicorp/packer/builder/parallels/pvm"
|
||||
profitbricksbuilder "github.com/hashicorp/packer/builder/profitbricks"
|
||||
|
@ -68,7 +69,6 @@ import (
|
|||
shelllocalprovisioner "github.com/hashicorp/packer/provisioner/shell-local"
|
||||
windowsrestartprovisioner "github.com/hashicorp/packer/provisioner/windows-restart"
|
||||
windowsshellprovisioner "github.com/hashicorp/packer/provisioner/windows-shell"
|
||||
oraclebmcsbuilder "github.com/mitchellh/packer/builder/oracle/bmcs"
|
||||
)
|
||||
|
||||
type PluginCommand struct {
|
||||
|
|
Loading…
Reference in New Issue