• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. cadyfish
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 43
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by cadyfish

    • RE: Modified PHP configurations

      Tom I wouldn’t expect you to look through to find differences that would be a pain. These are the changes based off what is in 1.2.0

      [U][B]FOGMountBootImage.sh[/B][/U]
      l15: replace .gq with .xz and changed location
      cp /var/www/fog/service/ipxe/init.xz /tmp/init.xz >/dev/null 2>&1;

      l20: use xz instead of gunzip
      xz --decompress init.xz;

      l45: use xz to compress
      xz -C crc32 -z -c init > init.xz;

      l49: copy to updated location
      cp -f init.xz /var/www/fog/service/ipxe/init.xz;

      [U][B]BootMenu.class[/B][/U]
      L144: changed default boot device after timeout
      $this->defaultChoice = “choose --default fog.reginput --timeout $timeout target && goto ${target}\n”;

      L667: added shutdown command after register
      print “$this->kernel loglevel=4 shutdown=1 $type\n”;

      [U][B]GroupManagementPage.class.php[/B][/U]
      L51-51:changed the order of the icons, renamed Download to Unicast, removed the edit button
      sprintf(‘<a href=“?node=group&sub=deploy&type=1&%s=${id}”><span class=“icon icon-download” title=“Unicast”></span></a><a href=“?node=group&sub=edit&%s=${id}#group-tasks”><span class=“icon icon-deploy” title=“Deploy”></span></a><a href=“?node=group&sub=deploy&type=8&%s=${id}”><span class=“icon icon-multicast” title=“Mutli-cast”></span></a> ‘, $this->id, $this->id, $this->id, $this->id, $this->id, $this->id),
      sprintf(’<a href=“?node=group&sub=delete&%s=${id}”><span class=“icon icon-delete” title=“Delete”></span></a>’, $this->id, $this->id, $this->id, $this->id, $this->id, $this->id),

      [U][B]HostManagementPage.class.php[/B][/U]
      L41: changed header to just delete I didn’t feel like the edit button was necessary I removed it from below changed it to be
      _(‘Delete’),

      L51-53: modified the order icons didn’t like Upload and Download were right next to each other, removed edit, and changed some of the titles
      ‘<a href=“?node=host&sub=deploy&sub=deploy&type=1&id=${host_id}”><span class=“icon icon-download” title=“Unicast”><a href=“?node=host&sub=deploy&type=8&id=${host_id}”><span class=“icon icon-deploy” title=“Deploy”></span></a></span></a> <a href=“?node=host&sub=deploy&sub=deploy&type=2&id=${host_id}”><span class=“icon icon-upload” title=“Upload”></span></a>’,
      ‘<a href=“?node=host&sub=delete&id=${host_id}”><span class=“icon icon-delete” title=“Delete”></span></a>’,
      ‘${image_name}’,

      L61-65: changed icon position layout
      array(‘width’ => 50, ‘class’ => ‘c’),
      array(‘width’ => 90, ‘class’ => ‘c’),
      array(‘width’ => 80, ‘class’ => ‘c’),
      array(‘width’ => 50, ‘class’ => ‘r’),
      array(‘width’ => 20, ‘class’ => ‘r’),

      [U][B]ImageManagementPage.class.php[/B][/U]
      L35-L39 - edited the header row to include ID, removed Storage group, and renamed Upload to Upload Date
      _(‘Id’),
      (‘Image Name’),
      //
      (‘Storage Group’), not used
      _(‘O/S’),
      _(‘Image Size: ON CLIENT’),
      _(‘Image Size: ON SERVER’),
      _(‘Uploaded Date’),
      _(‘Delete’),

      L43-55 - Modified the row templates to show ID, changed href, and array attribute
      ‘${id}’,
      ‘<a href="?node=’.$this->node.‘&sub=edit&’.$this->id.‘=${id}" title="’.(‘Notes’).‘: ${description}">${name}</a>’,
      //
      (‘Edit’).‘: ${name} Last uploaded: ${deployed}">${name}</a>’,
      //‘${storageGroup}’, not used
      ‘${os}’,
      ‘${size}’,
      ‘${serv_size}’,
      ‘${deployed}’,
      ‘<a href="?node=’.$this->node.‘&sub=delete&’.$this->id.‘=${id}" title="’._(‘Delete’).‘"><span class=“icon icon-delete”></span></a>’,
      );
      // Row attributes
      $this->attributes = array(
      array(),
      array(‘width’ => 50, ‘class’ => ‘c’),
      array(),
      array(‘width’ => 50, ‘class’ => ‘c’),
      array(‘width’ => 50, ‘class’ => ‘c’),
      array(‘width’ => 50, ‘class’ => ‘c’),
      array(‘class’ => ‘c’, ‘width’ => ‘50’),

      [U][B]TaskManagementPage.class.php[/B][/U]
      L336: changed Deploy header to Unicast
      _(‘Unicast’),

      L358: changed title Download to Unicast
      $deployLink = ‘<a href="?node=tasks&sub=groupdeploy&type=1&id=’.$Group->get(‘id’).‘"><span class=“icon icon-download” title=“Unicast”></span></a>’;

      Thank you for your time

      posted in General
      C
      cadyfish
    • RE: UEFI PXE Booting

      I was able to upload and image by using a .efi tftpboot service to two different machines using UEFI
      [LIST=1]
      []Download from code [url]http://sourceforge.net/p/freeghost/code/HEAD/tree/trunk/packages/tftp/[/url]
      [
      ]Copy them to /tftpboot and point your dhcp towards one of the .efi services
      [*]run the following command: restart tftpd-hpa
      [/LIST]
      One thing to note for me at least .efi service doesn’t work with non UEFI hardware… Maybe it could be scripted to chain boot through the different tftpboot services?

      posted in General
      C
      cadyfish
    • Modified PHP configurations

      Afternoon first of all I love fog it is a great free-source imaging solution. I have a couple of minor configuration changes I would like to share. If you want to try them copy them to your install location and re-run installer:
      [LIST]
      []Replace HostManagementPage.class.php, ImageManagementPage.class.php, GroupManagementPage.class.php, TaskManagementPage.class.php in the download dir /fog/packages/web/lib/pages
      [LIST]
      []Mainly title changes, removed some things that didn’t use, and added image id to ImageManagementPage
      [/LIST]
      [
      ]Replace BootMenu.class in the download dir /fog*/packages/web/lib/fog
      []Replace FogMountBootImage.sh in /fog/utils/Boot Image Editor
      [LIST]
      [*]This was probably was really the only issue I ran into due to the old boot editor was built for .32 which used different compression.
      [/LIST]
      [/LIST]

      [url=“/_imported_xf_attachments/1/1289_BootMenu.class.php?:”]BootMenu.class.php[/url][url=“/_imported_xf_attachments/1/1290_GroupManagementPage.class.php?:”]GroupManagementPage.class.php[/url][url=“/_imported_xf_attachments/1/1291_HostManagementPage.class.php?:”]HostManagementPage.class.php[/url][url=“/_imported_xf_attachments/1/1292_ImageManagementPage.class.php?:”]ImageManagementPage.class.php[/url][url=“/_imported_xf_attachments/1/1293_TaskManagementPage.class.php?:”]TaskManagementPage.class.php[/url]

      posted in General
      C
      cadyfish
    • 1 / 1