From d52e2added52979414123072245517160110d912 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Wed, 6 Mar 2024 00:18:41 -0500 Subject: [PATCH] temp fix --- internal/controllers/create_vm.go | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/internal/controllers/create_vm.go b/internal/controllers/create_vm.go index ca71ea1..c90b851 100644 --- a/internal/controllers/create_vm.go +++ b/internal/controllers/create_vm.go @@ -93,16 +93,19 @@ func (hv *HV) CreateDomain(domID uuid.UUID, req *util.DomainCreateRequest) (err Strs("args", args). Msg("create domain") - out, err := exec.Command("virt-install", args...).CombinedOutput() - if err != nil { - log.Error(). - Err(err). - Str("command", "virt-install"). - Strs("args", args). - Str("output", string(out)). - Msg("create domain") - return err - } + /* + out, err := exec.Command("virt-install", args...).CombinedOutput() + if err != nil { + log.Error(). + Err(err). + Str("command", "virt-install"). + Strs("args", args). + Str("output", string(out)). + Msg("create domain") + return err + } + */ + out := "temp" log.Debug(). Str("output", string(out)). Msg("create domain")