builder/amazon/ebs: rename to amazon/ebs in order to support others
This commit is contained in:
parent
91c1434764
commit
b358574636
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"cgl.tideland.biz/asserts"
|
"cgl.tideland.biz/asserts"
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// In general, there are two types of AMIs that can be created: ebs-backed or
|
// In general, there are two types of AMIs that can be created: ebs-backed or
|
||||||
// instance-store. This builder _only_ builds ebs-backed images.
|
// instance-store. This builder _only_ builds ebs-backed images.
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mitchellh/packer/packer"
|
"github.com/mitchellh/packer/packer"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
// This hook is fired prior to launching the EC2 instance.
|
// This hook is fired prior to launching the EC2 instance.
|
||||||
const HookPreLaunch = "amazonebs_pre_launch"
|
const HookPreLaunch = "amazonebs_pre_launch"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
gossh "code.google.com/p/go.crypto/ssh"
|
gossh "code.google.com/p/go.crypto/ssh"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"cgl.tideland.biz/identifier"
|
"cgl.tideland.biz/identifier"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mitchellh/multistep"
|
"github.com/mitchellh/multistep"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"cgl.tideland.biz/identifier"
|
"cgl.tideland.biz/identifier"
|
|
@ -1,4 +1,4 @@
|
||||||
package amazonebs
|
package ebs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
|
@ -1,10 +1,10 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mitchellh/packer/builder/amazonebs"
|
"github.com/mitchellh/packer/builder/amazon/ebs"
|
||||||
"github.com/mitchellh/packer/packer/plugin"
|
"github.com/mitchellh/packer/packer/plugin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
plugin.ServeBuilder(new(amazonebs.Builder))
|
plugin.ServeBuilder(new(ebs.Builder))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue