Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 169502 Details for
Bug 70477
ks install formats swap partition not mentioned in ks file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
polished kickstart patch.
pykickstartISS.diff (text/plain), 3.67 KB, created by
Joel Andres Granados
on 2007-08-23 16:37:03 UTC
(
hide
)
Description:
polished kickstart patch.
Filename:
MIME Type:
Creator:
Joel Andres Granados
Created:
2007-08-23 16:37:03 UTC
Size:
3.67 KB
patch
obsolete
>diff -u -r --new-file pykickstart-1.8/pykickstart/commands/ignoreswapdev.py pykickstart-1.8-JG/pykickstart/commands/ignoreswapdev.py >--- pykickstart-1.8/pykickstart/commands/ignoreswapdev.py 1970-01-01 01:00:00.000000000 +0100 >+++ pykickstart-1.8-JG/pykickstart/commands/ignoreswapdev.py 2007-08-23 18:26:37.000000000 +0200 >@@ -0,0 +1,51 @@ >+# >+# Joel Andres Granados <jgranado at redhat dot com> >+# >+# Copyright 2005, 2006, 2007 Red Hat, Inc. >+# >+# This copyrighted material is made available to anyone wishing to use, modify, >+# copy, or redistribute it subject to the terms and conditions of the GNU >+# General Public License v.2. This program is distributed in the hope that it >+# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the >+# implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >+# See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along with >+# this program; if not, write to the Free Software Foundation, Inc., 51 >+# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat >+# trademarks that are incorporated in the source code or documentation are not >+# subject to the GNU General Public License and may only be used or replicated >+# with the express permission of Red Hat, Inc. >+# >+ >+import string >+ >+from pykickstart.base import * >+from pykickstart.options import * >+ >+class F8_IgnoreSwapDev(KickstartCommand): >+ def __init__(self, writePriority=0, ignoreswapdev=None): >+ KickstartCommand.__init__(self, writePriority) >+ >+ if ignoreswapdev == None: >+ ignoreswapdev = [] >+ >+ self.ignoreswapdev = ignoreswapdev >+ >+ def __str__(self): >+ if len(self.ignoreswapdev) > 0: >+ return "ignoreswapdev --devs=%s\n" % string.join(self.ignoreswapdev, ",") >+ else: >+ return "" >+ >+ def parse(self, args): >+ def dev_cb (option, opt_str, value, parser): >+ for d in value.split(','): >+ parser.values.ensure_value(option.dest, []).append(d) >+ >+ op = KSOptionParser(lineno=self.lineno) >+ op.add_option("--devs", dest="devs", action="callback", >+ callback=dev_cb, nargs=1, type="string") >+ >+ (opts, extra) = op.parse_args(args=args) >+ self._setToSelf(op, opts) >diff -u -r --new-file pykickstart-1.8/pykickstart/commands/__init__.py pykickstart-1.8-JG/pykickstart/commands/__init__.py >--- pykickstart-1.8/pykickstart/commands/__init__.py 2007-08-09 20:51:38.000000000 +0200 >+++ pykickstart-1.8-JG/pykickstart/commands/__init__.py 2007-08-15 10:54:07.000000000 +0200 >@@ -23,4 +23,4 @@ > import langsupport, lilocheck, logging, logvol, mediacheck, method, monitor > import mouse, multipath, network, partition, raid, reboot, repo, rootpw > import selinux, services, skipx, timezone, updates, upgrade, user, vnc >-import volgroup, xconfig, zerombr, zfcp >+import volgroup, xconfig, zerombr, zfcp, ignoreswapdev >Binary files pykickstart-1.8/pykickstart/commands/.logvol.py.swp and pykickstart-1.8-JG/pykickstart/commands/.logvol.py.swp differ >diff -u -r --new-file pykickstart-1.8/pykickstart/handlers/control.py pykickstart-1.8-JG/pykickstart/handlers/control.py >--- pykickstart-1.8/pykickstart/handlers/control.py 2007-08-09 20:51:38.000000000 +0200 >+++ pykickstart-1.8-JG/pykickstart/handlers/control.py 2007-08-15 09:34:02.000000000 +0200 >@@ -313,6 +313,7 @@ > "halt": reboot.FC6_Reboot, > "harddrive": method.FC6_Method, > "ignoredisk": ignoredisk.F8_IgnoreDisk, >+ "ignoreswapdev": ignoreswapdev.F8_IgnoreSwapDev, > "install": upgrade.FC3_Upgrade, > "interactive": interactive.FC3_Interactive, > "iscsi": iscsi.FC6_Iscsi,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 70477
:
161357
|
161359
|
161992
| 169502 |
169503