Minor logging fixes
This commit is contained in:
parent
7b5391f4d8
commit
f7ae303062
2 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ func (s *Storage) RunCLIImageBuild(showBuilderVMDisplay bool, overwrite bool) in
|
||||||
vmImagePath := s.GetVMImagePath()
|
vmImagePath := s.GetVMImagePath()
|
||||||
removed, err := checkExistsOrRemove(vmImagePath, overwrite)
|
removed, err := checkExistsOrRemove(vmImagePath, overwrite)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Error("Failed to check for (and remove) existing VM image", "error", err.Error())
|
slog.Error("Failed to check for (or remove if overwrite mode is on) existing VM image", "error", err.Error())
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,7 @@ func configureVMCmdNetworking(logger *slog.Logger, cfg VMConfig, sshPort uint16)
|
||||||
ports = append(ports, cfg.ExtraPortForwardingRules...)
|
ports = append(ports, cfg.ExtraPortForwardingRules...)
|
||||||
|
|
||||||
if cfg.UnrestrictedNetworking {
|
if cfg.UnrestrictedNetworking {
|
||||||
slog.Warn("Using unrestricted VM networking")
|
logger.Warn("Using unrestricted VM networking")
|
||||||
}
|
}
|
||||||
|
|
||||||
args, err := configureVMCmdUserNetwork(ports, cfg.UnrestrictedNetworking)
|
args, err := configureVMCmdUserNetwork(ports, cfg.UnrestrictedNetworking)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue