X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FInstallPartitionDisks.py;h=d0df2f2b46a694e83fec9834ab4a1445784bf21e;hb=621647f8fad5b114a8bda1557ff1657c3efc7e22;hp=ca86521b91d6b311ddc25eee3c1c0a9b2b8aace0;hpb=f52080486db907ba6557d1047730c638c4562790;p=bootmanager.git diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index ca86521..d0df2f2 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -100,7 +100,7 @@ def Run(vars, log): 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 @@ -179,7 +179,7 @@ def Run(vars, log): 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: