Remove development debug output

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
Dimitris Karakasilis
2024-04-08 12:51:35 +03:00
parent 0a3b0c0482
commit d8df60c315
4 changed files with 2 additions and 77 deletions

View File

@@ -65,7 +65,6 @@ func ManualInstall(c, sourceImgURL, device string, reboot, poweroff, strictValid
cliConf := generateInstallConfForCLIArgs(sourceImgURL)
cliConfManualArgs := generateInstallConfForManualCLIArgs(device, reboot, poweroff)
fmt.Printf("configSource = %+v\n", configSource)
cc, err := config.Scan(collector.Directories(configSource),
collector.Readers(strings.NewReader(cliConf), strings.NewReader(cliConfManualArgs)),
collector.MergeBootLine,
@@ -73,7 +72,6 @@ func ManualInstall(c, sourceImgURL, device string, reboot, poweroff, strictValid
if err != nil {
return err
}
fmt.Printf("cc.Install = %+v\n", cc.Install)
return RunInstall(cc)
}
@@ -264,11 +262,6 @@ func runInstall(c *config.Config) error {
return err
}
// TODO: This should not be neccessary
fmt.Printf("!!!!!!!!!! installSpec.NoFormat = %+v\n", installSpec.NoFormat)
fmt.Printf("!!!!!!!!!! c.Install.NoFormat = %+v\n", c.Install.NoFormat)
//installSpec.NoFormat = c.Install.NoFormat
// Set our cloud-init to the file we just created
f, err := dumpCCStringToFile(c)
if err == nil {