1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Load modules after running PrepareFs

This commit is contained in:
Josh Curl
2016-12-01 11:27:33 -08:00
parent d53452a7eb
commit 40100ffa7c
3 changed files with 19 additions and 1 deletions

13
tests/modules_test.go Normal file
View File

@@ -0,0 +1,13 @@
package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestKernelParameterModule(c *C) {
s.RunQemu(c, "--append", "rancher.modules=[btrfs]")
s.CheckCall(c, "lsmod | grep btrfs")
}
func (s *QemuSuite) TestCloudConfigModule(c *C) {
s.RunQemu(c, "--cloud-config", "./tests/assets/test_27/cloud-config.yml")
s.CheckCall(c, "lsmod | grep btrfs")
}