1
0
mirror of https://github.com/rancher/os.git synced 2025-06-23 05:27:03 +00:00
os/tests/cloud_config_hostname_test.go
2016-10-23 16:23:30 -07:00

11 lines
283 B
Go

package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestCloudConfigHostname(c *C) {
s.RunQemu(c, "--cloud-config", "./tests/assets/test_13/cloud-config.yml")
s.CheckCall(c, "hostname | grep rancher-test")
s.CheckCall(c, "cat /etc/hosts | grep rancher-test")
}