hudson.plugins.pxe
Class ChainBootConfiguration
java.lang.Object
hudson.model.AbstractModelObject
hudson.plugins.pxe.BootConfiguration
hudson.plugins.pxe.ChainBootConfiguration
- All Implemented Interfaces:
- hudson.model.Describable<BootConfiguration>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
public class ChainBootConfiguration
- extends BootConfiguration
Chain boot from another TFTP server.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class hudson.model.AbstractModelObject |
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hostName
public final java.lang.String hostName
bootFile
public final java.lang.String bootFile
ChainBootConfiguration
@DataBoundConstructor
public ChainBootConfiguration(java.lang.String hostName,
java.lang.String bootFile)
getIdSeed
protected java.lang.String getIdSeed()
- Description copied from class:
BootConfiguration
- Returns the string that becomes the seed of the
BootConfiguration.getId(). The ID
is in turn used for HTTP URLs and TFTP file names, so this method should
return something stable and not entirely illegible. But avoid unsafe characters like spaces, '/', etc.
A good example would be "OpenSolaris2008.11" or "Ubuntu8.10".
Several BootConfigurations can return the same ID seed, and BootConfiguration.getId() handles
those situations correctly.
- Specified by:
getIdSeed in class BootConfiguration
getPxeLinuxConfigFragment
public java.lang.String getPxeLinuxConfigFragment()
throws java.io.IOException
- Description copied from class:
BootConfiguration
- Returns the fragment to be merged into pxelinux.cfg/default.
- Specified by:
getPxeLinuxConfigFragment in class BootConfiguration
- Throws:
java.io.IOException
getDisplayName
public java.lang.String getDisplayName()
Copyright © 2010. All Rights Reserved.