revert accidental debugging change

This commit is contained in:
Conrad Jones 2018-06-17 01:45:26 +01:00
parent d05a601d00
commit abfb9f24d6
1 changed files with 0 additions and 4 deletions

View File

@ -41,7 +41,6 @@ func (s *stepRun) Run(_ context.Context, state multistep.StateBag) multistep.Ste
return multistep.ActionHalt return multistep.ActionHalt
} }
ui.Message(fmt.Sprintf("command:=%s", command))
if err := driver.Qemu(command...); err != nil { if err := driver.Qemu(command...); err != nil {
err := fmt.Errorf("Error launching VM: %s", err) err := fmt.Errorf("Error launching VM: %s", err)
ui.Error(err.Error()) ui.Error(err.Error())
@ -105,9 +104,6 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error
} else { } else {
driveArgs = append(driveArgs, fmt.Sprintf("file=%s,if=%s,cache=%s,format=%s", imgPath, config.DiskInterface, config.DiskCache, config.Format)) driveArgs = append(driveArgs, fmt.Sprintf("file=%s,if=%s,cache=%s,format=%s", imgPath, config.DiskInterface, config.DiskCache, config.Format))
} }
ui.Message(fmt.Sprintf("config.NetDevice:=%s", config.NetDevice))
deviceArgs = append(deviceArgs, fmt.Sprintf("%s,netdev=user.0", config.NetDevice)) deviceArgs = append(deviceArgs, fmt.Sprintf("%s,netdev=user.0", config.NetDevice))
if config.Headless == true { if config.Headless == true {