summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-02-08 15:17:37 +0000
committerChris Lumens <clumens@redhat.com>2006-02-08 15:17:37 +0000
commit64cba7c8657641a86f88f65cb0ca21bc9741978d (patch)
tree8e81ab14a41e44c0176d713c2e16cc6069305f40
parent9be723eae07c9d74d9cee8790f9fed3e1f0ba4ea (diff)
downloadanaconda-64cba7c8657641a86f88f65cb0ca21bc9741978d.tar.gz
anaconda-64cba7c8657641a86f88f65cb0ca21bc9741978d.tar.xz
anaconda-64cba7c8657641a86f88f65cb0ca21bc9741978d.zip
Suggest a fix in the error message (#174597).
-rw-r--r--ChangeLog5
-rw-r--r--kickstart.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d2c9fd894..f9bb9fab0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-08 Chris Lumens <clumens@redhat.com>
+
+ * kickstart.py (AnacondaKSHandlers.doVolumeGroup): Suggest a fix in
+ the error message (#174597).
+
2006-02-07 David Cantrell <dcantrell@redhat.com>
* isomd5sum/.cvsignore: Ignore .depend.
diff --git a/kickstart.py b/kickstart.py
index e796962cb..55095516e 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -538,7 +538,7 @@ class AnacondaKSHandlers(KickstartHandlers):
pvs.append(self.ksPVMapping[pv])
if len(pvs) == 0 and vgd.preexist == False:
- raise KickstartValueError, formatErrorMsg(self.lineno, msg="Volume group defined without any physical volumes")
+ raise KickstartValueError, formatErrorMsg(self.lineno, msg="Volume group defined without any physical volumes. Either specify physical volumes or use --useexisting.")
if vgd.pesize not in lvm.getPossiblePhysicalExtents(floor=1024):
raise KickstartValueError, formatErrorMsg(self.lineno, msg="Volume group specified invalid pesize")