Skip to content

Commit

Permalink
Stable Release - 1.5.10.1629
Browse files Browse the repository at this point in the history
Stable Release PR For 1.5.10.1629 - 2024-11-15
  • Loading branch information
fog-workflows[bot] authored Nov 15, 2024
2 parents 2bf0e8c + 32a0477 commit 831a95f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/common/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ configureFTP() {
configureDefaultiPXEfile() {
dots 'Configuring default iPXE file'
[[ -z $webroot ]] && webroot='/'
echo -e "#!ipxe\nset arch \${buildarch}\nparams\nparam mac0 \${net0/mac}\nparam arch \${arch}\nparam platform \${platform}\nparam product \${product}\nparam manufacturer \${product}\nparam ipxever \${version}\nparam filename \${filename}\nparam sysuuid \${uuid}\nisset \${net1/mac} && param mac1 \${net1/mac} || goto bootme\nisset \${net2/mac} && param mac2 \${net2/mac} || goto bootme\n:bootme\nchain ${httpproto}://$ipaddress${webroot}service/ipxe/boot.php##params" > "$tftpdirdst/default.ipxe"
echo -e "#!ipxe\nset arch \${buildarch}\niseq \${arch} i386 && cpuid --ext 29 && set arch x86_64 ||\nparams\nparam mac0 \${net0/mac}\nparam arch \${arch}\nparam platform \${platform}\nparam product \${product}\nparam manufacturer \${product}\nparam ipxever \${version}\nparam filename \${filename}\nparam sysuuid \${uuid}\nisset \${net1/mac} && param mac1 \${net1/mac} || goto bootme\nisset \${net2/mac} && param mac2 \${net2/mac} || goto bootme\n:bootme\nchain ${httpproto}://$ipaddress${webroot}service/ipxe/boot.php##params" > "$tftpdirdst/default.ipxe"
errorStat $?
}
configureTFTPandPXE() {
Expand Down
8 changes: 8 additions & 0 deletions packages/web/lib/fog/bootmenu.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ private function _chainBoot($debug = false, $shortCircuit = false)
if (!(isset($this->_hiddenmenu) && $this->_hiddenmenu) || $shortCircuit) {
$Send['chainnohide'] = array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'params',
'param mac0 ${net0/mac}',
'param arch ${arch}',
Expand All @@ -582,6 +583,7 @@ private function _chainBoot($debug = false, $shortCircuit = false)
);
$Send['chainhide'] = array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
"iseq \${platform} efi && set key 0x1b || set key $KSKey",
"iseq \${platform} efi && set keyName ESC || "
. "set keyName $KSName",
Expand Down Expand Up @@ -739,6 +741,7 @@ public function delConf()
{
$Send['delconfirm'] = array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'params',
'prompt --key y Would you like to delete this host? (y/N): && goto deleteyes || goto deleteno',
':deleteyes',
Expand Down Expand Up @@ -766,6 +769,7 @@ public function aprvConf()
{
$Send['aprvconfirm'] = array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'params',
'prompt --key y Would you like to approve this host? (y/N): && goto answeryes || goto answerno',
':answeryes',
Expand Down Expand Up @@ -793,6 +797,7 @@ public function keyreg()
{
$Send['keyreg'] = array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'echo -n Please enter the product key : ',
'read key',
'params',
Expand Down Expand Up @@ -847,6 +852,7 @@ public function sesscheck()
'clear sessname',
'sleep 3',
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'params',
'param mac0 ${net0/mac}',
'param arch ${arch}',
Expand All @@ -872,6 +878,7 @@ public function sessjoin()
{
$Send['joinsession'] = array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'echo -n Please enter the session name to join > ',
'read sessname',
'params',
Expand Down Expand Up @@ -1971,6 +1978,7 @@ public function printDefault()
$Send['head'] = self::fastmerge(
array(
'set arch ${buildarch}',
'iseq ${arch} i386 && cpuid --ext 29 && set arch x86_64 ||',
'goto get_console',
':console_set',
),
Expand Down
2 changes: 1 addition & 1 deletion packages/web/lib/fog/system.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private static function _versionCompare()
public function __construct()
{
self::_versionCompare();
define('FOG_VERSION', '1.5.10.1622');
define('FOG_VERSION', '1.5.10.1629');
define('FOG_SCHEMA', 273);
define('FOG_BCACHE_VER', 141);
define('FOG_CLIENT_VERSION', '0.13.0');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ public function onEvent($event, $data)
$args = array(
'channel' => $Token->get('name'),
'text' => sprintf(
'The snapin has completed installation on %s with status code: %s',
$data['Host']->get('name'),
$data['SnapinTask']->get('return')
'The %s snapin has completed installation on %s with status code: %s',
$data['Snapin']->get('name'),
$data['Host']->get('name'),
$data['SnapinTask']->get('return')
)
);
$Token->call('chat.postMessage', $args);
Expand Down

0 comments on commit 831a95f

Please sign in to comment.