Code

Don't remove FAI-State when reboot, rescan or wakeup is requested. Set FAI-State...
authorlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 May 2012 12:04:44 +0000 (12:04 +0000)
committerlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 May 2012 12:04:44 +0000 (12:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@21158 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-si/gosa-si-server

index f36994356db4ad487c94a6294449ed79a29e35e2..ae3a97e0d9dce646df43c933f3f114e7270f6db1 100755 (executable)
@@ -2204,12 +2204,12 @@ sub change_fai_state {
     $session_id = 0 if not defined $session_id;
     # Set FAI state to localboot
     my %mapActions= (
-        reboot    => '',
+        reboot    => 'localboot',
         update    => 'softupdate',
         localboot => 'localboot',
         reinstall => 'install',
-        rescan    => '',
-        wake      => '',
+        rescan    => 'localboot',
+        wake      => 'localboot',
         memcheck  => 'memcheck',
         sysinfo   => 'sysinfo',
         install   => 'install',