Skip to content

Commit

Permalink
capd-mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
zawachte committed Apr 20, 2023
1 parent 8081166 commit de20b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions provisioning/cloudinit/runcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
package cloudinit

import (
"fmt"
"strings"

"github.com/pkg/errors"
Expand Down Expand Up @@ -71,6 +72,7 @@ func hackKubeadmIgnoreErrors(c provisioning.Cmd) provisioning.Cmd {
}
}

fmt.Println("CMD: ", c)
newArgs := []string{}
if c.Cmd == "bash" && len(c.Args) >= 1 {
if c.Args[0] == "-c" {
Expand Down
1 change: 0 additions & 1 deletion provisioning/cloudinit/writefiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ func (a *writeFilesAction) Commands() ([]provisioning.Cmd, error) {
content = strings.Replace(content, " ignorePreflightErrors:\n", "", 1)
content = strings.Replace(content, " - ImagePull\n", "", 1)
content = strings.Replace(content, "container-log-max-size: 50Mi\n taints:\n", "container-log-max-size: 50Mi\n eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%\n taints:\n", 1)
fmt.Println(content)
content += kubeproxyComponentConfig
}
if err != nil {
Expand Down

0 comments on commit de20b39

Please sign in to comment.