network_on_boot_test.go 337 B

123456789101112
  1. package integration
  2. import . "gopkg.in/check.v1"
  3. func (s *QemuSuite) TestNetworkOnBoot(c *C) {
  4. err := s.RunQemu("--cloud-config", "./tests/assets/test_18/cloud-config.yml", "-net", "nic,vlan=1,model=virtio")
  5. c.Assert(err, IsNil)
  6. s.CheckCall(c, "apt-get --version")
  7. s.CheckCall(c, "sudo system-docker images | grep tianon/true")
  8. }