diff options
author | Bill Nottingham <notting@redhat.com> | 2006-08-28 20:14:06 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-08-28 20:14:06 +0000 |
commit | 4915253f907c908909a64320f698b5d808c37d8d (patch) | |
tree | e13e15e8650947b3ffe1d8f904a05575e56ec3d1 /partIntfHelpers.py | |
parent | f2afa6401605b53d528d7d177350c3ca71356258 (diff) | |
download | anaconda-4915253f907c908909a64320f698b5d808c37d8d.tar.gz anaconda-4915253f907c908909a64320f698b5d808c37d8d.tar.xz anaconda-4915253f907c908909a64320f698b5d808c37d8d.zip |
2006-06-28 Bill Nottingham <notting@redhat.com>
* partIntfHelpers.py (sanityCheckVolumeGroupName,
sanityCheckLogicalVolumeName): Disallow more device names that
will break LVM installs (#20438)
Diffstat (limited to 'partIntfHelpers.py')
-rw-r--r-- | partIntfHelpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py index a64c448e6..802b2e2e1 100644 --- a/partIntfHelpers.py +++ b/partIntfHelpers.py @@ -29,7 +29,7 @@ from rhpl.translate import _ def sanityCheckVolumeGroupName(volname): """Make sure that the volume group name doesn't contain invalid chars.""" - badNames = ['lvm', 'root'] + badNames = ['lvm', 'root', '.', '..' ] if not volname: return _("Please enter a volume group name.") @@ -51,7 +51,7 @@ def sanityCheckVolumeGroupName(volname): def sanityCheckLogicalVolumeName(logvolname): """Make sure that the logical volume name doesn't contain invalid chars.""" - badNames = ['group'] + badNames = ['group', '.', '..' ] if not logvolname: return _("Please enter a logical volume name.") |