Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: install cifs-utils for mounting smb path #133

Merged
merged 8 commits into from
Jan 20, 2025
7 changes: 4 additions & 3 deletions pkg/bootstrap/patch/tasks.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package patch

import (
"bytetrade.io/web3os/installer/pkg/utils"
"fmt"
"github.com/pkg/errors"
"path"
"strings"

"bytetrade.io/web3os/installer/pkg/utils"
"github.com/pkg/errors"

kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
"bytetrade.io/web3os/installer/pkg/binaries"
"bytetrade.io/web3os/installer/pkg/common"
Expand Down Expand Up @@ -38,7 +39,7 @@ type PatchTask struct {
func (t *PatchTask) Execute(runtime connector.Runtime) error {
var cmd string
var debianFrontend = "DEBIAN_FRONTEND=noninteractive"
var pre_reqs = "apt-transport-https ca-certificates curl"
var pre_reqs = "apt-transport-https ca-certificates curl cifs-utils"

if _, err := util.GetCommand(common.CommandGPG); err != nil {
pre_reqs = pre_reqs + " gnupg "
Expand Down
Loading