<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Hi All,<BR>
<BR>
I expected that on my system, I cannot shutdown my latest PVE via <BR>
Administration->Server->Services->Shutdown Server.<BR>
<BR>
As I tracked down the code, I found that, an 'action' tag is missing from the code (see below).<BR>
I added the missing tag and now the system shutdown is working well as expected.<BR>
(/var/www/pve/server/reboot.htm)<BR>
<BR>
I checked it in the .deb package (after apt-get update) and I found this problem exists in the <BR>
deb package, so, it seems it is affected others too.<BR>
<BR>
After I checked the /var/www/pve/system/reboot.htm and I found that, it is a little bit different than the other under the 'server' f<BR>
<BR>
<BR>
--- reboot.htm 2008-11-05 12:19:00.000000000 +0100<BR>
+++ reboot.htm.working 2008-11-08 00:40:06.000000000 +0100<BR>
@@ -30,7 +30,7 @@<BR>
<BR>
if ($fdat{state} eq 'confirm') {<BR>
if ($fdat{poweroff}) {<BR>
- my $ref .= "reboot.htm?m3=0&poweroff=1";<BR>
+ my $ref .= "reboot.htm?m3=0&action=reboot&poweroff=1";<BR>
my $msg = __("Do you really want to shutdown the Server?");<BR>
$out .= PVE::HTMLUtils::create_confirmframe ($msg, __("Shutdown"), $ref, 'index.htm');<BR>
} else {<BR>
<BR>
<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
<A HREF="http://www.startit.hu">http://www.startit.hu</A>
<A HREF="http://www.osbusiness.hu">http://www.osbusiness.hu</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>