git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e39528f
)
- pass -ff to pvcreate to avoid warning about not being able to
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 7 Jul 2006 18:48:46 +0000
(18:48 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 7 Jul 2006 18:48:46 +0000
(18:48 +0000)
re-create a physical volume on an existing disk
source/steps/InstallPartitionDisks.py
patch
|
blob
|
history
diff --git
a/source/steps/InstallPartitionDisks.py
b/source/steps/InstallPartitionDisks.py
index
9f7d4c7
..
fcece53
100644
(file)
--- a/
source/steps/InstallPartitionDisks.py
+++ b/
source/steps/InstallPartitionDisks.py
@@
-307,7
+307,7
@@
def create_lvm_physical_volume( part_path, vars, log ):
### patch Thierry Parmentelat, required on some hardware
import time
time.sleep(1)
- utils.sysexec( "pvcreate -fy %s" % part_path, log )
+ utils.sysexec( "pvcreate -f
f
y %s" % part_path, log )
except BootManagerException, e:
log.write( "create_lvm_physical_volume failed.\n" )
return 0