Skip to content

Commit 09481af

Browse files
committed
fix accidental removal of config kernel modules
1 parent 2ba2e80 commit 09481af

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

cmd/installer/cli/install.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,11 @@ func initializeInstall(ctx context.Context, flags InstallCmdFlags) error {
584584
logrus.Debugf("unable to configure sysctl: %v", err)
585585
}
586586

587+
logrus.Debugf("configuring kernel modules")
588+
if err := configutils.ConfigureKernelModules(); err != nil {
589+
logrus.Debugf("unable to configure kernel modules: %v", err)
590+
}
591+
587592
logrus.Debugf("configuring network manager")
588593
if err := configureNetworkManager(ctx); err != nil {
589594
spinner.Errorf("Initialization failed")

cmd/installer/cli/join.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ func initializeJoin(ctx context.Context, name string, flags JoinCmdFlags, jcmd *
271271
logrus.Debugf("unable to configure sysctl: %v", err)
272272
}
273273

274+
logrus.Debugf("configuring kernel modules")
275+
if err := configutils.ConfigureKernelModules(); err != nil {
276+
logrus.Debugf("unable to configure kernel modules: %v", err)
277+
}
278+
274279
logrus.Debugf("configuring network manager")
275280
if err := configureNetworkManager(ctx); err != nil {
276281
spinner.Errorf("Initialization failed")

0 commit comments

Comments
 (0)