예제 #1
0
 def test_master_seeds_onlysource(self):
     self.write_ubuntu_structure()
     output = GerminateOutput(self.config, self.temp_dir)
     self.config["CDIMAGE_ONLYSOURCE"] = "1"
     self.assertEqual([
         "required",
         "minimal",
         "boot",
         "standard",
         "desktop-common",
         "d-i-requirements",
         "installer",
         "live-common",
         "desktop",
         "dns-server",
         "lamp-server",
         "openssh-server",
         "print-server",
         "samba-server",
         "postgresql-server",
         "mail-server",
         "tomcat-server",
         "virt-host",
         "server",
         "server-ship",
         "ship",
         "live",
         "ship-live",
         "usb",
         "usb-live",
         "usb-langsupport",
         "usb-ship-live",
     ], list(output.master_seeds()))
예제 #2
0
 def test_master_seeds_dvd_ubuntu_raring(self):
     self.write_ubuntu_structure()
     output = GerminateOutput(self.config, self.temp_dir)
     self.config["PROJECT"] = "ubuntu"
     self.config["DIST"] = "raring"
     self.config["CDIMAGE_DVD"] = "1"
     self.assertEqual(
         ["usb-langsupport", "usb-ship-live"], list(output.master_seeds()))
예제 #3
0
 def test_master_seeds_live_ubuntu_raring(self):
     self.write_ubuntu_structure()
     output = GerminateOutput(self.config, self.temp_dir)
     self.config["PROJECT"] = "ubuntu"
     self.config["DIST"] = "raring"
     self.config["CDIMAGE_INSTALL_BASE"] = "1"
     self.config["CDIMAGE_LIVE"] = "1"
     self.assertEqual([
         "installer", "boot", "required", "minimal", "standard",
         "ship-live",
     ], list(output.master_seeds()))
예제 #4
0
 def test_master_seeds_install_ubuntu_trusty(self):
     self.write_ubuntu_structure()
     output = GerminateOutput(self.config, self.temp_dir)
     self.config["PROJECT"] = "ubuntu"
     self.config["DIST"] = "trusty"
     self.config["CDIMAGE_INSTALL"] = "1"
     self.config["CDIMAGE_INSTALL_BASE"] = "1"
     self.assertEqual([
         "installer",
         "boot",
         "required",
         "minimal",
         "standard",
         "desktop-common",
         "desktop",
         "d-i-requirements",
         "ship",
     ], list(output.master_seeds()))