go fmt
This commit is contained in:
parent
2efab467a8
commit
15f215d04f
@ -16,11 +16,18 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type config struct {
|
type config struct {
|
||||||
|
// Access information
|
||||||
AccessKey string `mapstructure:"access_key"`
|
AccessKey string `mapstructure:"access_key"`
|
||||||
AMIName string `mapstructure:"ami_name"`
|
|
||||||
Region string
|
|
||||||
SecretKey string `mapstructure:"secret_key"`
|
SecretKey string `mapstructure:"secret_key"`
|
||||||
|
|
||||||
|
// Information for the source AMI
|
||||||
|
Region string
|
||||||
SourceAmi string `mapstructure:"source_ami"`
|
SourceAmi string `mapstructure:"source_ami"`
|
||||||
|
SSHUsername string `mapstructure:"ssh_username"`
|
||||||
|
SSHKeyPath string `mapstructure:"ssh_private_key_path"`
|
||||||
|
|
||||||
|
// Configuration of the resulting AMI
|
||||||
|
AMIName string `mapstructure:"ami_name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Builder struct {
|
type Builder struct {
|
||||||
|
@ -3,8 +3,8 @@ package ssh
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/go.crypto/ssh"
|
"code.google.com/p/go.crypto/ssh"
|
||||||
"github.com/mitchellh/packer/packer"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/mitchellh/packer/packer"
|
||||||
"net"
|
"net"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user