summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-11 00:17:49 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-11 00:17:49 +0000
commit138bc062e072b40d73635c3d92e89b38264dc638 (patch)
tree3773e4d1061de0e5e1c1f4ee1a27be0574482fc8 /fsset.py
parent1f91fc063d87ae08f472b087428272cfea95d9c1 (diff)
downloadanaconda-138bc062e072b40d73635c3d92e89b38264dc638.tar.gz
anaconda-138bc062e072b40d73635c3d92e89b38264dc638.tar.xz
anaconda-138bc062e072b40d73635c3d92e89b38264dc638.zip
use -v to vgcreate, not pvcreate
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/fsset.py b/fsset.py
index 4e01cdb8c..029576503 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1538,9 +1538,7 @@ class VolumeGroupDevice(Device):
# there be a PhysicalVolumeDevice(PartitionDevice) ?
rc = iutil.execWithRedirect("/usr/sbin/pvcreate",
["pvcreate", "-ff", "-y",
- "-v", "-p",
- "%sk" %(self.physicalextentsize,),
- node],
+ "-v", node],
stdout = "/tmp/lvmout",
stderr = "/tmp/lvmout",
searchPath = 1)
@@ -1552,7 +1550,9 @@ class VolumeGroupDevice(Device):
# rescan now that we've recreated pvs. ugh.
lvm.vgscan()
- args = [ "/usr/sbin/vgcreate", "-v", self.name ]
+ args = [ "/usr/sbin/vgcreate", "-v",
+ "-p", "%sk" %(self.physicalextentsize,),
+ self.name ]
args.extend(nodes)
rc = iutil.execWithRedirect(args[0], args,
stdout = "/tmp/lvmout",