summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-26 11:47:25 +0100
committerSimon Rettberg2019-03-26 11:47:25 +0100
commit7f68a72adab3bbc6181b27f2499f0cf261fe95d3 (patch)
treefd036fa396ba763f0841bea71a14511fff7ff90b
parent[CompileIPxeLegacy] (Re-)add log output (diff)
downloadtmlite-bwlp-7f68a72adab3bbc6181b27f2499f0cf261fe95d3.tar.gz
tmlite-bwlp-7f68a72adab3bbc6181b27f2499f0cf261fe95d3.tar.xz
tmlite-bwlp-7f68a72adab3bbc6181b27f2499f0cf261fe95d3.zip
[CompileIPxeNew] Use kkkpxe for ipxelinux.0 symlink
-rw-r--r--src/main/java/org/openslx/taskmanager/tasks/CompileIPxeNew.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/CompileIPxeNew.java b/src/main/java/org/openslx/taskmanager/tasks/CompileIPxeNew.java
index c4c0f3c..f937b80 100644
--- a/src/main/java/org/openslx/taskmanager/tasks/CompileIPxeNew.java
+++ b/src/main/java/org/openslx/taskmanager/tasks/CompileIPxeNew.java
@@ -142,8 +142,8 @@ public class CompileIPxeNew extends AbstractTask
// Change ipxelinux.0 so old DHCP entries keep working
Path link = Paths.get( "/srv/openslx/tftp/ipxelinux.0" );
FileUtils.deleteQuietly( link.toFile() );
- try {
- Files.createSymbolicLink( link, Paths.get( "undionly.kpxe.0" ) );
+ try { // Use kkkpxe since it inits faster and didn't cause any trouble (yet)
+ Files.createSymbolicLink( link, Paths.get( "undionly.kkkpxe.0" ) );
} catch ( Exception e1 ) {
status.addError( "Could not create ipxelinux.0 symlink" );
}