diff options
Diffstat (limited to 'src/main/java/org/openslx/taskmanager/tasks/CompileIPxe.java')
-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 ); |