diff --git a/test/composertest.py b/test/composertest.py index f2abc697..11dfb0fe 100755 --- a/test/composertest.py +++ b/test/composertest.py @@ -30,10 +30,12 @@ class VirtMachineTestCase(unittest.TestCase): def setUpTestMachine(self, image, identity_file=None): self.network = testvm.VirtNetwork(0) - if identity_file: - self.machine = testvm.VirtMachine(image, networking=self.network.host(), cpus=2, memory_mb=2048, identity_file=identity_file, graphics=True) - else: - self.machine = testvm.VirtMachine(image, networking=self.network.host(), cpus=2, memory_mb=2048, graphics=True) + # default overlay directory is not big enough to hold the large composed trees; thus put overlay into /var/tmp/ + self.machine = testvm.VirtMachine(image, networking=self.network.host(), + cpus=2, memory_mb=2048, + overlay_dir="/var/tmp", + identity_file=identity_file, + graphics=True) print("Starting virtual machine '{}'".format(image)) self.machine.start()