used_devices.append(device)
log.write("Successfully initialized {}\n".format(device))
else:
- log.write("Unable to partition {], not using it.\n".format(device))
+ log.write("Unable to partition {}, not using it.\n".format(device))
continue
# list of devices to be used with vgcreate
devname = PARTITIONS[fs]
if vars['virt'] == 'vs':
log.write("formatting {} partition ({}){}.\n".format(fs, devname, txt))
- utils.sysexec("mkfs.ext2 -q {} -m {} -j {}".format(option, rbp, devname)), log)
+ utils.sysexec("mkfs.ext2 -q {} -m {} -j {}".format(option, rbp, devname), log)
# disable time/count based filesystems checks
utils.sysexec_noerr("tune2fs -c -1 -i 0 {}".format(devname), log)
elif not one_partition: