Skip to content

Commit 01b85d0

Browse files
author
David vonThenen
authored
Merge pull request #100 from dvonthenen/bug/fixubuntuver
Fix the kernel version used for ubuntu
2 parents ad904c4 + 31aff21 commit 01b85d0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

scaleio-executor/executor/pkgmgr/deb/ubuntu14/mdmdebmgr.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ func (mdm *MdmDebUbuntu14Mgr) EnvironmentSetup(state *types.ScaleIOFramework) (b
3333
log.Infoln("libaio1 and zip are already installed")
3434
}
3535

36-
kernelErr := xplatform.GetInstance().Inst.IsInstalled("linux-image-4.2.0-30-generic")
36+
kernelErr := xplatform.GetInstance().Inst.IsInstalled("linux-image-4.4.0-38-generic")
3737
if kernelErr != nil {
38-
log.Infoln("Installing linux-image-4.2.0-30-generic")
38+
log.Infoln("Installing linux-image-4.4.0-38-generic")
3939

40-
kernelCmdline := "apt-get -y install linux-image-4.2.0-30-generic"
40+
kernelCmdline := "apt-get -y install linux-image-4.4.0-38-generic"
4141
err := xplatform.GetInstance().Run.Command(kernelCmdline, genericInstallCheck, "")
4242
if err != nil {
4343
log.Errorln("Install Kernel Failed:", err)
4444
log.Infoln("EnvironmentSetup LEAVE")
4545
return false, err
4646
}
4747
} else {
48-
log.Infoln("linux-image-4.2.0-30-generic is already installed")
48+
log.Infoln("linux-image-4.4.0-38-generic is already installed")
4949
}
5050

5151
//get running kernel version

scaleio-executor/executor/pkgmgr/deb/ubuntu14/nodedebmgr.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ func (dpm *NodeDebUbuntu14Mgr) EnvironmentSetup(state *types.ScaleIOFramework) (
3333
log.Infoln("libaio1 and zip are already installed")
3434
}
3535

36-
kernelErr := xplatform.GetInstance().Inst.IsInstalled("linux-image-4.2.0-30-generic")
36+
kernelErr := xplatform.GetInstance().Inst.IsInstalled("linux-image-4.4.0-38-generic")
3737
if kernelErr != nil {
38-
log.Infoln("Installing linux-image-4.2.0-30-generic")
38+
log.Infoln("Installing linux-image-4.4.0-38-generic")
3939

40-
kernelCmdline := "apt-get -y install linux-image-4.2.0-30-generic"
40+
kernelCmdline := "apt-get -y install linux-image-4.4.0-38-generic"
4141
err := xplatform.GetInstance().Run.Command(kernelCmdline, genericInstallCheck, "")
4242
if err != nil {
4343
log.Errorln("Install Kernel Failed:", err)
4444
log.Infoln("EnvironmentSetup LEAVE")
4545
return false, err
4646
}
4747
} else {
48-
log.Infoln("linux-image-4.2.0-30-generic is already installed")
48+
log.Infoln("linux-image-4.4.0-38-generic is already installed")
4949
}
5050

5151
//get running kernel version

0 commit comments

Comments
 (0)