revert accidental debugging change
This commit is contained in:
parent
d05a601d00
commit
abfb9f24d6
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue