builder/amazon/ebs: rename to amazon/ebs in order to support others

This commit is contained in:
Mitchell Hashimoto
2013-07-15 15:02:18 +09:00
parent 91c1434764
commit b358574636
14 changed files with 15 additions and 15 deletions
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"fmt"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"cgl.tideland.biz/asserts"
@@ -3,7 +3,7 @@
//
// In general, there are two types of AMIs that can be created: ebs-backed or
// instance-store. This builder _only_ builds ebs-backed images.
package amazonebs
package ebs
import (
"errors"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"github.com/mitchellh/packer/packer"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
// This hook is fired prior to launching the EC2 instance.
const HookPreLaunch = "amazonebs_pre_launch"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"fmt"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
gossh "code.google.com/p/go.crypto/ssh"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"bytes"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"cgl.tideland.biz/identifier"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"github.com/mitchellh/multistep"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"fmt"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"cgl.tideland.biz/identifier"
@@ -1,4 +1,4 @@
package amazonebs
package ebs
import (
"fmt"
+2 -2
View File
@@ -1,10 +1,10 @@
package main
import (
"github.com/mitchellh/packer/builder/amazonebs"
"github.com/mitchellh/packer/builder/amazon/ebs"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
plugin.ServeBuilder(new(amazonebs.Builder))
plugin.ServeBuilder(new(ebs.Builder))
}