This commit is contained in:
Mitchell Hashimoto 2013-05-20 16:50:35 -07:00
parent 2efab467a8
commit 15f215d04f
11 changed files with 45 additions and 38 deletions

View File

@ -16,11 +16,18 @@ import (
)
type config struct {
// Access information
AccessKey string `mapstructure:"access_key"`
AMIName string `mapstructure:"ami_name"`
Region string
SecretKey string `mapstructure:"secret_key"`
// Information for the source AMI
Region string
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 {

View File

@ -3,8 +3,8 @@ package ssh
import (
"bytes"
"code.google.com/p/go.crypto/ssh"
"github.com/mitchellh/packer/packer"
"fmt"
"github.com/mitchellh/packer/packer"
"net"
"strings"
"testing"