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

Write /run/console-done before executing /etc/rc.local

This commit is contained in:
Josh Curl
2016-10-14 10:48:32 -07:00
parent 9654e4eaad
commit e608377088
3 changed files with 10 additions and 7 deletions

View File

@@ -10,7 +10,8 @@ func (s *QemuSuite) TestStartCommands(c *C) {
err := s.RunQemu("--cloud-config", "./tests/assets/test_26/cloud-config.yml")
c.Assert(err, IsNil)
for i := 1; i < 6; i++ {
for i := 1; i < 5; i++ {
s.CheckCall(c, fmt.Sprintf("ls /home/rancher | grep test%d", i))
}
s.CheckCall(c, "docker ps | grep nginx")
}