diff options
author | Simon Rettberg | 2014-06-27 21:20:25 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-27 21:20:25 +0200 |
commit | 53b07570a18a3592d8b3e53c5c9b0cd4f372fba9 (patch) | |
tree | 81715928b2fd47a5e325209a0e107de6ab66c04f /src | |
parent | Change pom.xml to create jar with dependencies (diff) | |
download | tmlite-bwlp-53b07570a18a3592d8b3e53c5c9b0cd4f372fba9.tar.gz tmlite-bwlp-53b07570a18a3592d8b3e53c5c9b0cd4f372fba9.tar.xz tmlite-bwlp-53b07570a18a3592d8b3e53c5c9b0cd4f372fba9.zip |
Remove IP address from PXE menu
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/openslx/taskmanager/tasks/CompileIPxe.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/CompileIPxe.java b/src/main/java/org/openslx/taskmanager/tasks/CompileIPxe.java index c0534c7..741c71e 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/CompileIPxe.java +++ b/src/main/java/org/openslx/taskmanager/tasks/CompileIPxe.java @@ -13,8 +13,6 @@ public class CompileIPxe extends AbstractTask { @Expose - private String ip = null; - @Expose private String defaultentry = null; @Expose private int timeout = 0; @@ -27,10 +25,6 @@ public class CompileIPxe extends AbstractTask protected boolean initTask() { this.setStatusObject( this.status ); - if ( this.ip == null ) { - status.error = "No IP address set."; - return false; - } if ( this.defaultentry == null ) this.defaultentry = "net"; if ( this.custom == null ) @@ -50,7 +44,6 @@ public class CompileIPxe extends AbstractTask return false; } // Substitutions - template = template.replaceAll( "%ip%", this.ip ); template = template.replaceAll( "%timeout%", Integer.toString( this.timeout * 10 ) ); template = template.replaceAll( "%totaltimeout%", Integer.toString( this.timeout * 40 ) ); template = template.replaceAll( "%default%", this.defaultentry ); |