• NVMe Information for Inventory

    5
    0 Votes
    5 Posts
    2k Views
    J

    New script using smartctl. Grabs firmware now as well.

    #!/bin/bash hd=$(lsblk -dpno KNAME -I 3,8,9,179,202,253,259 | uniq | sort -V | head -1) #FOG expects the string in the following format ##Model=ST31500341AS, FwRev=CC1H, SerialNo=9VS34TD2 disk_info=$(smartctl -i $hd) model=$(echo "${disk_info}" | sed -n 's/.*\(Model Number\|Device Model\):[ \t]*\(.*\)/\2/p') sn=$(echo "${disk_info}" | sed -n 's/.*Serial Number:[ \t]*\(.*\)/\1/p') firmware=$(echo "${disk_info}" | sed -n 's/.*Firmware Version:[ \t]*\(.*\)/\1/p') hdinfo="Model=${model}, iFwRev=${firmware}, SerialNo=${sn}" echo $hdinfo

    This works for NVMe and SATA. Note that SATA drives use a ‘Device Model’ where as NVMe drives use ‘Model Number’. This could lead to issues if other drives report it differently.

  • get imaged disk information for post download scripts

    12
    0 Votes
    12 Posts
    5k Views
    george1421G

    @mrayzies Good to hear. If you look at my very first post you can see a ref link to the current versions of the post install scripts. You might get some ideas on how to update yours.

  • FOG API?

    Locked
    10
    0 Votes
    10 Posts
    7k Views
    Tom ElliottT

    Just wanted to reply here to let people know that we do have an api now. I know this thread is extremely old, but figured all might like to know this.

  • Location Plugin - enhancement of behavior

    Unsolved
    14
    0 Votes
    14 Posts
    5k Views
    Wayne WorkmanW

    @george1421 said in Location Plugin - enhancement of behavior:

    Issues that will need to be addressed is location cidr addresses eclipsing other addresses.

    Exactly, I thought about this too. And when there is overlap, as Joe said, we just pick the best match. If there’s a tie, just pick the first one in the tie.

  • 0 Votes
    5 Posts
    2k Views
    Wayne WorkmanW

    Bumping this, it’s a good idea still.

  • Add information to images

    5
    0 Votes
    5 Posts
    2k Views
    P

    @wayne-workman Thank you. Yes, I will get to this sometime today or tomorrow

  • Export/import ssl directory

    Solved
    2
    2 Votes
    2 Posts
    1k Views
    J

    @Wayne-Workman unfortunately we will not add this. The ssl directory where your private keys are stored, and should never be accessible via the web GUI. That presents a massive security risk as a single bug in the web GUI could provide anyone with access to your private certs; arguably the most sensitive data on the server.

    As the saying goes, security and convience are usually at opposite ends of the spectrum; and this is one thing we will not compromise on.

    Exporting your keys as root using ssh is the preferred, and only way, we will support.

  • Feature Request Fog Client - Printers

    4
    0 Votes
    4 Posts
    2k Views
    Wayne WorkmanW

    @ripau It is an interesting idea but I do think it would be a lot of effort to impliment. I think this sort of thing would be great as a plugin in FOG. Plugins can create & use extra tables and hook into all of the FOG Server’s existing functionalities but using the new code that comes with the plugins.

    You could probably change the assigned printers dynamically based on who the FOG Client says is signed in. The plugin would have to take who’s signed in and make an LDAP query to the AD server to see what groups that user is in, then figure out somehow what printers that user gets.

    One problem though - the fog client is not so hot at removing printers. I and many other people have had a lot of problems with it. In a best-case scenario, a computer gets imaged and when it boots up, the fog client installs printers that never need uninstalled. Eventually, the next imaging in the future wipes all that out and then installs the correct printers, rinse, repeat.

  • Migrate custom client banner image in filesystem when updating

    Solved
    12
    0 Votes
    12 Posts
    5k Views
    S

    @x23piracy Installer switch --oldcopy and/or .fogsettings parameter copybackold=…

  • Would it be possible to get another field on the host page.

    6
    0 Votes
    6 Posts
    2k Views
    falkoF

    @sebastian-roth true we could do that and have gained a field back for other use like asset tags that @Wayne-Workman mentioned but mostly because it stops information from being stored wrongly. (I know… how hard could it be to put site/room into one field.) I’ll have another think about merging them.

  • Group in Group

    8
    0 Votes
    8 Posts
    3k Views
    Wayne WorkmanW

    FOG Groups are much more advanced than Active Directory groups IMO. They allow for more flexibility - but that extra flexibility they allow requires the Admin to be organized and intensely aware of the details involved when using groups. (really, just an understanding of relational databases)

  • Please Add an Option to Change the Default Page After Logon

    6
    0 Votes
    6 Posts
    3k Views
    Tom ElliottT

    @Jim-Graczyk All pages rely on “index.php”. The Default if node is not in the query string, or if node=home will direct to the dashboard. This is intentional as most people this shouldn’t impact too much. That said, this shouldn’t be a hard request to incorporate, but if you’re blocking the dashboard as being view-able, where should we redirect if a choice hasn’t been made?

  • How to easily import/Export images between systems

    12
    0 Votes
    12 Posts
    7k Views
    george1421G

    @jjcjr Ok just for clarity you are following the instructions from my first post? If so yes you need LOCAL in there or in your my.cnf file you need to set the … <something> path to empty.

  • Init - Support for classless static route

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    K

    I wasn’t aware of postinit scripts :(. Looking at postinit now, it seems that it would need network mount to work through default router (the firewall) and we tried to minimize what we are enabling through the firewall. XenServer PXE boot (testing host) doesn’t support classless static routes either so we had to let TFTP through to make this work.

    Maybe we could reconfigure our “single fog server - multiple subnets/vlans” setup? We have tried to create multiple network adapters on the same FOG server and to have clients from each network to communicate with the server through IP address in the same subnet but we were not able to set up this to work and I’m not sure if FOG supports this as I have seen that FOG requires network interface to be specified in some places.

  • Per-group timezone settings via FOG client

    3
    0 Votes
    3 Posts
    2k Views
    x23piracyX

    @moses said in Per-group timezone settings via FOG client:

    It would be nice if we could set the client’s time zone on a per-group or even per-client basis.

    You don’t have a server on your network that’s working as ntp source on each of your sites?

  • Audit Logging for Hostname/AD Changes

    4
    0 Votes
    4 Posts
    2k Views
    Tom ElliottT

    In working branch, I’ve now included a History Report. It’s likely not perfect, but at least the information is presented to the GUI now. It allows for CSV and PDF exporting as well.

  • Update Installation Files Within An Image

    12
    0 Votes
    12 Posts
    5k Views
    george1421G

    @dpotesta50 Look back at Sebastian’s post. It contains links to information on how to do this.

  • Current FOG version to Forum Signature plugin

    2
    0 Votes
    2 Posts
    1k Views
    Wayne WorkmanW

    @x23piracy I don’t think it’s worth the trouble or dev cycles.

  • 0 Votes
    25 Posts
    17k Views
    Wayne WorkmanW

    @jj-fullmer said in USB ethernet adapter mac(s) for imaging multiple hosts. (Universal Imaging Nics) (Wired Nic for All Wireless Devices):

    current host or get a host by a given uuid, mac, or hostname.

    You should fork the fog-community-scripts repository and add this stuff to it. Just label it the powershell cli or something, give it some snazzy name.

    For the Python project, I’m calling it fog-cli.

  • Add Windows Product key to Image

    Solved
    11
    1 Votes
    11 Posts
    7k Views
    x23piracyX

    I had to ask a question about the plugin and i also crosspost the link here because it was the original thread related to plugin question:

    https://forums.fogproject.org/topic/10877/windows-keys-plugin-and-hosts-product-key-field-coexistence-who-wins

27

Online

12.8k

Users

17.7k

Topics

157.5k

Posts