Commit 752162c2 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

fmt

parent 7c11d2a3
package chroot package chroot
import ( import (
"testing"
"github.com/mitchellh/goamz/ec2" "github.com/mitchellh/goamz/ec2"
"testing"
) )
func testImage() ec2.Image { func testImage() ec2.Image {
......
...@@ -16,7 +16,7 @@ type StepCreateInstance struct { ...@@ -16,7 +16,7 @@ type StepCreateInstance struct {
instanceName string instanceName string
} }
func (config *Config) getImage() (Image) { func (config *Config) getImage() Image {
project := config.ProjectId project := config.ProjectId
if config.SourceImageProjectId != "" { if config.SourceImageProjectId != "" {
project = config.SourceImageProjectId project = config.SourceImageProjectId
......
...@@ -92,7 +92,7 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error ...@@ -92,7 +92,7 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error
defaultArgs["-machine"] += fmt.Sprintf(",accel=%s", config.Accelerator) defaultArgs["-machine"] += fmt.Sprintf(",accel=%s", config.Accelerator)
} else { } else {
ui.Message("WARNING: The VM will be started with no hardware acceleration.\n" + ui.Message("WARNING: The VM will be started with no hardware acceleration.\n" +
"The installation may take considerably longer to finish.\n") "The installation may take considerably longer to finish.\n")
} }
// Determine if we have a floppy disk to attach // Determine if we have a floppy disk to attach
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment