summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-11-16 20:44:30 +0000
committerMike Fulbright <msf@redhat.com>1999-11-16 20:44:30 +0000
commit1ebcd532c4ddc8abfa38b43282c6e3e158c94c4c (patch)
treeedcf60b5326b2d37aa022a0f3982917cec7051ef /installclass.py
parent0171648ee5ce1c9dc41187355f60310cd77970d5 (diff)
downloadanaconda-1ebcd532c4ddc8abfa38b43282c6e3e158c94c4c.tar.gz
anaconda-1ebcd532c4ddc8abfa38b43282c6e3e158c94c4c.tar.xz
anaconda-1ebcd532c4ddc8abfa38b43282c6e3e158c94c4c.zip
Added install class for unconfigOnly mode
Dr Mike <drmike@redhat.com>
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/installclass.py b/installclass.py
index 309ac0d07..c3a656693 100644
--- a/installclass.py
+++ b/installclass.py
@@ -10,10 +10,10 @@ FSEDIT_CLEAR_LINUX = (1 << 1)
FSEDIT_CLEAR_ALL = (1 << 2)
FSEDIT_USE_EXISTING = (1 << 3)
-import gettext, os
+import gettext_rh, os
from xf86config import XF86Config
-cat = gettext.Catalog ("anaconda", "/usr/share/locale")
+cat = gettext_rh.Catalog ("anaconda", "/usr/share/locale")
_ = cat.gettext
class InstallClass:
@@ -286,3 +286,15 @@ class Server(InstallClass):
warningText = _("You are about to erase ALL DATA on your hard "
"drive to make room for your Linux installation."))
+# reconfig machine w/o reinstall
+class UnconfigStation(InstallClass):
+
+ def __init__(self):
+ InstallClass.__init__(self)
+ self.setHostname("localhost.localdomain")
+ self.addToSkipList("lilo")
+ self.addToSkipList("authentication")
+ self.addToSkipList("bootdisk")
+ self.addToSkipList("partition")
+ self.addToSkipList("package-selection")
+ self.addToSkipList("format")