cloud_config_hostname_test.go 283 B

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