def onePartGptDisk(self): diskdfn = yaml.load("""\ label: gpt partitions: 1: size: 1024 filesystem: ext3 mount: / """) d = disk(self.disksvol.create("onePartGptDisk"), "test", diskdfn)
def formatGptDisk(self): diskdfn = yaml.load("""\ label: gpt partitions: 1: size: 1024 filesystem: ext3 mount: / 2: size: 512 filesystem: ext4 mount: /home """) d = disk(self.disksvol.create("formatGptDisk"), "test", diskdfn) d.format()
def emptyGptDisk(self): diskdfn = yaml.load("""\ label: gpt partitions: """) d = disk(self.disksvol.create("emptyGptDisk"), "test", diskdfn)