def __str__(self): retval = KickstartCommand.__str__(self) if self.keyboard: retval += "# System keyboard\nkeyboard %s\n" % self.keyboard return retval
def __str__(self): retval = KickstartCommand.__str__(self) if not self.seen: return retval retval += "# Use CDROM installation media\ncdrom\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.url: retval += "updates %s\n" % self.url return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.check: retval += "lilocheck\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.deviceprobe: retval += "deviceprobe %s\n" % self.deviceprobe return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.iscsiname: retval += "iscsiname %s\n" % self.iscsiname return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.type is None: return retval if self.type == CLEARPART_TYPE_NONE: clearstr = " --none" elif self.type == CLEARPART_TYPE_LINUX: clearstr = " --linux" elif self.type == CLEARPART_TYPE_ALL: clearstr = " --all" else: clearstr = "" if self.initAll: initstr = " --initlabel" else: initstr = "" if self.drives: drivestr = " --drives=" + ",".join(self.drives) else: drivestr = "" retval += "# Partition clearing information\nclearpart%s%s%s\n" % ( clearstr, initstr, drivestr) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.interactive: retval += "# Use interactive kickstart installation method\ninteractive\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.ignoredisk: retval += "ignoredisk --drives=%s\n" % ",".join(self.ignoredisk) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.seen: retval += "# Use network installation\nurl --url=\"%s\"\n" % self.url return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.skipx: retval += "# Do not configure the X Window System\nskipx\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.card != "": retval += " --card=%s" % self.card if self.defaultdesktop != "": retval += " --defaultdesktop=%s" % self.defaultdesktop if self.depth != 0: retval += " --depth=%d" % self.depth if self.hsync != "": retval += " --hsync=%s" % self.hsync if self.monitor != "": retval += " --monitor=%s" % self.monitor if self.noProbe: retval += " --noprobe" if self.resolution != "": retval += " --resolution=%s" % self.resolution if self.server != "": retval += " --server=%s" % self.server if self.startX: retval += " --startxonboot" if self.videoRam != "": retval += " --videoram=%s" % self.videoRam if self.vsync != "": retval += " --vsync=%s" % self.vsync if retval != "": retval = "# X Window System configuration information\nxconfig %s\n" % retval return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.zerombr: retval += "# Clear the Master Boot Record\nzerombr\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.check: retval += "lilocheck\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.password != "": retval += "# Root password\nrootpw%s %s\n" % (self._getArgsAsStr(), self.password) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.interactive: retval += "# Use interactive kickstart installation method\ninteractive\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.autopart: retval += "autopart\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.seen: retval += "# Use network installation\nurl --url=\"%s\"\n" % self.url return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.authconfig: retval += "# System authorization information\nauth %s\n" % self.authconfig return retval
def __str__(self): retval = KickstartCommand.__str__(self) if not self.seen: return retval retval += "# Use NFS installation media\nnfs --server=%s --dir=%s\n" % (self.server, self.dir) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.lang != "": retval += "# System language\nlang %s\n" % self.lang return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.zerombr: retval += "# Clear the Master Boot Record\nzerombr\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.ignoredisk: retval += "ignoredisk --drives=%s\n" % ",".join(self.ignoredisk) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.type is None: return retval if self.type == CLEARPART_TYPE_NONE: clearstr = " --none" elif self.type == CLEARPART_TYPE_LINUX: clearstr = " --linux" elif self.type == CLEARPART_TYPE_ALL: clearstr = " --all" else: clearstr = "" if self.initAll: initstr = " --initlabel" else: initstr = "" if len(self.drives) > 0: drivestr = " --drives=" + ",".join(self.drives) else: drivestr = "" retval += "# Partition clearing information\nclearpart%s%s%s\n" % (clearstr, initstr, drivestr) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.skipx: retval += "# Do not configure the X Window System\nskipx\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.card != "": retval += " --card=%s" % self.card if self.defaultdesktop != "": retval += " --defaultdesktop=%s" % self.defaultdesktop if self.depth != 0: retval += " --depth=%d" % self.depth if self.hsync != "": retval += " --hsync=%s" % self.hsync if self.monitor != "": retval += " --monitor=%s" % self.monitor if self.noProbe: retval += " --noprobe" if self.resolution != "": retval += " --resolution=%s" % self.resolution if self.server != "": retval += " --server=%s" % self.server if self.startX: retval += " --startxonboot" if self.videoRam != "": retval += " --videoram=%s" % self.videoRam if self.vsync != "": retval += " --vsync=%s" % self.vsync if retval != "": retval = "# X Window System configuration information\nxconfig %s\n" % retval return retval
def __str__(self): retval = KickstartCommand.__str__(self) if not self.seen: return retval retval += "# Use installation media via SE/HMC\nhmc\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.lang != "": retval += "# System language\nlang %s\n" % self.lang return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.deviceprobe != "": retval += "deviceprobe %s\n" % self.deviceprobe return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.iscsiname != "": retval += "iscsiname %s\n" % self.iscsiname return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.keyboard: retval += "# System keyboard\nkeyboard %s\n" % self.keyboard return retval
def __str__(self): retval = KickstartCommand.__str__(self) if not self.seen: return retval retval += "# Use NFS installation media\nnfs --server=%s --dir=%s\n" % (self.server, self.dir) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if not self.seen: return retval retval += "# Use CDROM installation media\ncdrom\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.autopart: retval += "autopart\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.unsupported_hardware: retval += "unsupported_hardware\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.authconfig: retval += "# System authorization information\nauth %s\n" % self.authconfig return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.unsupported_hardware: retval += "unsupported_hardware\n" return retval
def __str__(self): if self.upgrade and (self.root_device is not None): retval = KickstartCommand.__str__(self) retval += "# Upgrade existing installation\nupgrade --root-device=%s\n" % self.root_device else: retval = FC3_Upgrade.__str__(self) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.location != "": retval += "# System bootloader configuration\nbootloader" retval += self._getArgsAsStr() + "\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.timezone: retval += "# System timezone\n" retval += "timezone " + self._getArgsAsStr() + "\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.agreed: retval += "# License agreement\n" retval += "eula %s\n" % self._getArgsAsStr() return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.password != "": retval += "# Root password\nrootpw%s %s\n" % (self._getArgsAsStr(), self.password) return retval
def __str__(self): retval = KickstartCommand.__str__(self) args = self._getArgsAsStr() if args: retval += "# System timezone\n" retval += "timezone" + args + "\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.location: retval += "# System bootloader configuration\nbootloader" retval += self._getArgsAsStr() + "\n" return retval
def __str__(self): if self.upgrade and (self.root_device is not None): retval = KickstartCommand.__str__(self) retval += "# Upgrade existing installation\nupgrade --root-device=%s\n" % self.root_device else: retval = FC3_Upgrade.__str__(self) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.agreed: retval += "# License agreement\n" retval += "eula %s\n" % self._getArgsAsStr() return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.osname: retval += "# OSTree setup\n" retval += "ostreesetup %s\n" % self._getArgsAsStr() return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.timezone: retval += "# System timezone\n" retval += "timezone " + self._getArgsAsStr() + "\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.secure_boot is not SECURE_BOOT_DEFAULT: retval += "# ZIPL configuration\nzipl" retval += self._getArgsAsStr() + "\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.osname: retval += "# OSTree setup\n" retval += "ostreesetup %s\n" % self._getArgsAsStr() return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.action == KS_REBOOT: retval += "# Reboot after installation\nreboot\n" elif self.action == KS_SHUTDOWN: retval += "# Shutdown after installation\nshutdown\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if len(self.ignoredisk) > 0: retval += "ignoredisk --drives=%s\n" % ",".join(self.ignoredisk) elif len(self.onlyuse) > 0: retval += "ignoredisk --only-use=%s\n" % ",".join(self.onlyuse) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.url == "floppy": retval += "updates\n" elif self.url != "": retval += "updates %s\n" % self.url return retval
def __str__(self): retval = KickstartCommand.__str__(self) if len(self.ignoredisk) > 0: retval += "ignoredisk --drives=%s\n" % ",".join(self.ignoredisk) elif len(self.onlyuse) > 0: retval += "ignoredisk --only-use=%s\n" % ",".join(self.onlyuse) return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.url == "floppy": retval += "updates\n" elif self.url: retval += "updates %s\n" % self.url return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.action == KS_REBOOT: retval += "# Reboot after installation\nreboot\n" elif self.action == KS_SHUTDOWN: retval += "# Shutdown after installation\nshutdown\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.key == KS_INSTKEY_SKIP: retval += "key --skip\n" elif self.key: retval += "key %s\n" % self.key return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.autostep: if self.autoscreenshot: retval += "autostep --autoscreenshot\n" else: retval += "autostep\n" return retval
def __str__(self): retval = KickstartCommand.__str__(self) if self.deflang: retval += "langsupport --default=%s" % self.deflang if self.supported: retval += " %s" % " ".join(self.supported) return retval + "\n"