• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Asthea
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 17
    • Best 1
    • Controversial 0
    • Groups 0

    Asthea

    @Asthea

    1
    Reputation
    558
    Profile views
    17
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Asthea Unfollow Follow

    Best posts made by Asthea

    • RE: PXE Netboot Ubuntu 14.04 LTS Help

      Don’t forget to exportfs -a, I know I’m being captain obvious here, but I just want to make sure jbonilla doesn’t skip any steps.

      Just for comparison, this is how I boot:

      :ubuntu 
      kernel http://${fog-ip}/fog/iso/ubuntu64/desktop/casper/vmlinuz.efi
      initrd http://${fog-ip}/fog/iso/ubuntu64/desktop/casper/initrd.lz
      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/iso/ubuntu64/desktop/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
      boot || goto MENU
      

      with chmod set to 755 on the folders. Btw, your vmlinuz and initrd should usually be located in the casper folder.

      posted in FOG Problems
      A
      Asthea

    Latest posts made by Asthea

    • RE: The future of FOG

      @Tom-Elliott Will we be able to alpha/beta test FOG 2.0? I’d really be interested. 😄

      posted in General
      A
      Asthea
    • RE: Does FOG have a timetick event?

      @Jbob Yes, spawning a new thread was what I was going to try out next. Thanks for the help. 😄

      posted in General
      A
      Asthea
    • Does FOG have a timetick event?

      I’m trying to make a plugin that scans a folder periodically to detect any addition/removal of files. The problem is, when I try to implement this functionality with a simple while(true)-loop and sleep(), FOG completely stops working. Does FOG have some sort of TimeTick-Event that I can use for this mechanism?

      Thanks. 🙂

      posted in General
      A
      Asthea
    • RE: Dashboard Widgets

      @ch3i Yes, I meant having widgets on the dashboard.

      @Jbob I see, thanks for the answer. 🙂

      posted in Feature Request
      A
      Asthea
    • RE: PXE Netboot Ubuntu 14.04 LTS Help

      Don’t forget to exportfs -a, I know I’m being captain obvious here, but I just want to make sure jbonilla doesn’t skip any steps.

      Just for comparison, this is how I boot:

      :ubuntu 
      kernel http://${fog-ip}/fog/iso/ubuntu64/desktop/casper/vmlinuz.efi
      initrd http://${fog-ip}/fog/iso/ubuntu64/desktop/casper/initrd.lz
      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/iso/ubuntu64/desktop/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
      boot || goto MENU
      

      with chmod set to 755 on the folders. Btw, your vmlinuz and initrd should usually be located in the casper folder.

      posted in FOG Problems
      A
      Asthea
    • RE: Dashboard Widgets

      Ups, sry, wasn’t specific enough I guess, I meant GUI widgets. 🙂

      posted in Feature Request
      A
      Asthea
    • RE: How to show inventory of devices on the dashboard page using hooks?

      @Tom-Elliott Ok I figured it out. The problem were the comments in the AddHostSerial.hook.php:

      	/** @var $name the name of the hook */
      	public $name = 'AddHostSerial';
      	/** @var $description the description of what the hook does */
      	public $description = 'Adds host serial to the host lists';
      	/** @var $author the author of the hook */
      	public $author = 'Junkhacker with edits from Tom Elliott';
      	/** @var $active whether or not the hook is to be running */
      	public $active = true;
      

      Those @var $name Symbols are not very PHP friendly it seems. 🙂

      Thanks for the help, Tom. 😄

      posted in General
      A
      Asthea
    • Dashboard Widgets

      I’d be awesome if FOG had similar drag and drop’able widgets like e.g. Wordpress has. I’m thinking about coding this myself but seeing as I’m a complete newbie to PHP I figure it’d probably be faster to request this feature. 😄

      Any chance this will be implemented in the future?

      posted in Feature Request
      A
      Asthea
    • RE: How to show inventory of devices on the dashboard page using hooks?

      @Tom-Elliott I modified the VNC hook now to represent a minimal (working) example:

      class HostVNCLink extends Hook {
      	var $name = 'HostVNCLink';
      	var $description = 'Adds a "VNC" link to the Host Lists';
      	var $author = 'Blackout';
      	var $active = true;
      
      	function DashboardData($arguments) {
      		if ($_REQUEST['node'] == 'home') {
      			echo 'test';
      		}
      	}
      }
      $HookManager->register('DashboardData', array(new HostVNCLink(), 'DashboardData'));
      

      If I use the exact same code in e.g. AddHostSerial.hook.php (with the classnames changed ofc), the hook doesn’t work. This is what I don’t understand. Do I have to register AddHostSerial somewhere for it to work?

      posted in General
      A
      Asthea
    • RE: How to show inventory of devices on the dashboard page using hooks?

      @Tom-Elliott I’ve tried to copy and paste the VNC hook into e.g. AddHostSerial hook, they both use HOST_DATA so they should be interchangeable. Copying VNC code to AddHostSerial didn’t work but for some reason, copying AddHostSerial code to VNC did work. I don’t understand why though.

      posted in General
      A
      Asthea