Ubuntu 14.04 and 14.04.1 included the kernel version 3.13 by the metapackage linux-image-generic. 14.04.2 includes 3.16 via a different metapackage called linux-image-generic-lts-utopic. Even if I change the pkglist to use linux-image-generic-lts-utopic, xCAT changes it back to linux-image-generic and I get the wrong version installed.
It might be possible to set the kernel version on the osimage, but I'd prefer to just get the latest via the metapackage.
The following change does what I expect:
root@crest-mgmt1:~# diff ./genimage /opt/xcat/share/xcat/netboot/ubuntu/genimage --- ./genimage 2015-02-18 12:15:21.132870829 -0500 +++ /opt/xcat/share/xcat/netboot/ubuntu/genimage 2015-02-18 15:12:59.192556196 -0500 @@ -397,7 +397,7 @@ push @npa, $kernelname; } elsif ($p =~ /linux-image-generic/) { - $kernelimage = "linux-image-generic"; + $kernelimage = $p; } elsif ($p =~ /^@/) { push @npa, "\"$p\"";
Matt,
Thanks for bringing this to our attention.
I'm able to re-create what you are describing and I agree that we should not change the pkgname to "linux-image-generic".
We are doing some verification testing for 14.04.2 and will push in this change to the 2.9.1 build.
To ssh://victorhu@git.code.sf.net/p/xcat/xcat-core
2901e98..ec96581 2.9 -> 2.9
733e2bc..a632f31 master -> master
Closing out this bug in preparation for 2.9.1 GA