• Enabling IMAGE_PNG support in iPXE

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    Tom ElliottT

    When I used to try to build with IMAGE_PNG it would seemingly fail quite miserably. It should work now for you.

    I’ve readded the option and the efi binaries are now all updated as of SVN Version 4031, GIT Commit: 56601f2, and FOG Version: 4704.

    Hopefully this is what you all were looking for.

  • [SCRIPTS] Customization of Ubuntu - "Fog Service" for Ubuntu

    20
    2 Votes
    20 Posts
    16k Views
    ch3iC

    Below the version without using mysql :

    #!/bin/bash ######################################################### # Rename services with FoG, need mysql-client installed ######################################################### # ch3i - 09/11/2015 ######################################################### ### BEGIN INIT INFO # Provides: rename_host_fog # Required-Start: $all # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Rename host at boot-shutdown # Description: Rename host using FoG ### END INIT INFO ######################################################### # Functions ######################################################### FUNC_DOTS() { max=65 if [ -n "$1" ]; then n=`expr $max - ${#1}` echo -n " * ${1:0:max}" if [ "$n" -gt 0 ]; then for i in $(seq $n); do printf %s . done fi fi } ######################################################### # Configuration ######################################################### FOG_SERVER="ip_of_server" FOG_WEBROOT="fog" ######################################################### # Check FOG Server Status ######################################################### FUNC_DOTS "Check FOG web service Status" wget "http://$FOG_SERVER/$FOG_WEBROOT/index.php" -t 1 2>/dev/null if [ $? -eq 0 ] then echo "Done" ######################################################### # Get interfaces ######################################################### NETWORK_CARDS=($(ls /sys/class/net | grep eth)) ######################################################### # Get host name and domain from FoG database ######################################################### FUNC_DOTS "Checking hostname/domain configurations" for ETH in ${NETWORK_CARDS[*]} do # read mac address MAC=$(cat /sys/class/net/$ETH/address) # get mac address information from fog web server wget http://$FOG_SERVER/$FOG_WEBROOT/service/hostname.php?mac=$MAC -O /tmp/hostname_check 2>/dev/null HOST_NAME="$(grep 'ok=' /tmp/hostname_check | cut -d "=" -f2)" HOST_DOMAIN_NAME="$(grep 'ADDom' /tmp/hostname_check | cut -d "=" -f2)" if [ "$HOST_NAME" != "" ] then echo "Done ($HOST_NAME.$HOST_DOMAIN_NAME)" sleep 3 # A hostname is found - quit the loop break else echo "Error" FUNC_DOTS "Host not found in FOG database" echo "exiting" sleep 3 exit fi done ######################################################### # Check host configuration ######################################################### ACTUAL_FQDN=$(hostname --fqdn) if [ "$HOST_NAME.$HOST_DOMAIN_NAME" != "$ACTUAL_FQDN" -a "$HOST_NAME" != "" -a "$HOST_DOMAIN_NAME" != "" ] then ######################################################### # Update hostname file ######################################################### FUNC_DOTS "Updating /etc/hostname" echo $HOST_NAME >/etc/hostname echo "Done" ######################################################### # Update hosts file ######################################################### FUNC_DOTS "Updating /etc/hosts" echo "127.0.0.1 localhost" > /etc/hosts echo "127.0.1.1 $HOST_NAME.$HOST_DOMAIN_NAME $HOST_NAME " >> /etc/hosts echo "# The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts" >> /etc/hosts echo "Done" ######################################################### # Update interfaces file ######################################################### FUNC_DOTS "Updating /etc/network/interfaces" echo "# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback" > /etc/network/interfaces for ETH in ${NETWORK_CARDS[*]} do if [ "$ETH" != "lo" ] then echo "# $ETH Interface allow-hotplug $ETH iface $ETH inet dhcp" >> /etc/network/interfaces fi done echo "Done" ######################################################### # Clear persistent network cards ######################################################### FUNC_DOTS "Clearing persistent networks cards" if [ -f /etc/udev/rules.d/70-persistent-net.rules ] then rm /etc/udev/rules.d/70-persistent-net.rules fi echo "Done" ######################################################### # Logs and Reboot machine ######################################################### FUNC_DOTS "Building rename logs" echo "$(date) ::: Update successful with Hostname : $HOST_NAME and Domain : $HOST_DOMAIN_NAME" >> /var/log/rename_host_fog.log echo "Done" grub-reboot 0 /sbin/init 6 exit fi if [ "$HOST_NAME" == "" -a "$HOST_DOMAIN_NAME" == "" ] then echo "$(date) ::: Update failed : Failed to connect to Mysql Server" >> /var/log/rename_host_fog.log fi if [ "$HOST_NAME" != "" -a "$HOST_DOMAIN_NAME" == "" ] then echo "$(date) ::: Update failed : Domain name is missing" >> /var/log/rename_host_fog.log fi else echo "Error" FUNC_DOTS "Failed to connect to server" echo "Exiting" sleep 3 exit fi exit

    More slow because 10 seconds timeout in hostname.php request.

  • r4499 Task Management - Two thumbs up

    1
    2 Votes
    1 Posts
    827 Views
    No one has replied
  • Directory Cleaner

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    Wayne WorkmanW

    @Matthew-Hood

    Yes.

    You may put the high traffic groups in a group, and then through the group, enable the directory cleaner feature.

    The directory cleaner feature is enabled and disabled on a per-host basis.

    Here is a screen shot for the service settings on just ONE host at my house. If I wanted to disable just the directory cleaner, I could. If I wanted to enable it, I could. If I wanted to enable it on a group, I could. Please also take into account that this is for the 1.3.0 Beta (Fog Trunk). So it might look differently in 1.2.0. Anything older than 1.2.0 and you’re on your own totally and I’d recommend you update.

    upload-e610f63d-9a77-494d-89ed-6ab5e8728288

  • SVN 3772 & New Client hostname change issue

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    T

    The update to the client fixed the issue.

    Thanks!

  • Automatic hardware detection & driver installs in FOG

    Solved
    37
    0 Votes
    37 Posts
    38k Views
    G

    @Tom-Elliott as it is in the fog.postdownload script, i think it is the system receiving the image

  • Developers request any testing ?

    5
    0 Votes
    5 Posts
    2k Views
    J

    Yes they can. I made sure v0.9.0 could still auto upgrade itself. Simply upgrade your server and all deployed clients will be auto upgrade to v0.9.0

  • Latest Development FOG

    652
    0 Votes
    652 Posts
    2m Views
    J

    Just a heads up, calling recreate CA will cause all beta clients deployed to stop trusting your FOG server and will require a re-installation of the client / re-imaging.

  • Where do you set the $web var used in /bin/fog.checkin

    10
    0 Votes
    10 Posts
    4k Views
    Tom ElliottT

    While I agree when a system is in it’s typical environment, that a client should resolve the hostnames, during the imaging process the client knows nothing about it until it boots in. Because of this, the server is ultimately handling the resolving anyway. I was just making an attempt to direct specifically to the IP as there’s no extra steps needed to resolve where the hostname actually lies.

    Hosting in a virtual environment is common, and it’s how my development systems are setup. I have NO issues even with a multiple Virtual Host http environment on top of multiple VM systems redirecting all the way across.

    I suppose it does no good to gripe/complain, as I already did as you requested anyway.

  • Error mounting XX.XX.XX.XX:/fog/ on /fog

    Solved
    12
    0 Votes
    12 Posts
    6k Views
    Tom ElliottT

    I see the error too. I’m glad you were able to find it and I went ahead and solved this thread.

    Thank you for reporting back as to what you found and the potential fix for this particular issue.

  • Adding hosts to a group

    12
    0 Votes
    12 Posts
    6k Views
    Tom ElliottT

    @Tom-Elliott said:

    @pmonstad,

    Can you please try upgrading your svn and try again? This was/is known about and has been fixed. So to keep saying this or that about it on a revision that was known to have this issue, seems rather pointless to me.

    I just confirmed the bug was still present on the LIST view. I have now corrected it.

    SVN 3428 should fix this issue for you.

    Word of caution if you do update to this and you’re using the New Client, it may break hostname.php if you don’t have FOG_AES_ENCRYPT enabled. If you do have new client AND FOG_AES_ENCRYPT enabled, it may basically break everything. Legacy clients should work without issue.

  • Wiki login

    9
    0 Votes
    9 Posts
    4k Views
    Bill RiceB

    Im using the developers version currently SVN 3410. domain join had some issues we found when the default field for the OU to join was left blank. so i populated the field with the direct ldap path and it worked flawlessly. it had something to do with our AD enviroment and our 2012 servers. we have 5 AD/DC’s and 2 DHCP Servers redundantly configured. these are all on site in the same room connected with a 10gig backbone. upgrading to the new client was easy, getting the system to join the domain took some time to figure out. At this time it works like a champ.

  • How does one become a Fog Developer

    11
    0 Votes
    11 Posts
    5k Views
    Bill RiceB

    [quote=“Junkhacker, post: 44895, member: 21583”]how to become a fog developer: be helpful on the forums, test and debug code, share your ideas and code with the community (especially code. everyone has ideas, few can implement them)
    if you make yourself stand out (in a good way 😉 ) and we want you on the team, you’ll be asked to join[/quote]

    Can I be on the Team? 🙂

  • SVN 3377 - Quick reg/quick image doesn't auto-image

    4
    0 Votes
    4 Posts
    2k Views
    Wayne WorkmanW

    Oh, if it says that, then don’t bother. Do what the WiKi says, add a Quick Image option to the iPXE Menu.

  • SVN 3192 hangs

    38
    0 Votes
    38 Posts
    21k Views
    ch3iC

    [quote=“Tom Elliott, post: 45098, member: 7271”]@ch3i,

    Are you still having this issue?[/quote]

    Tom, I update from 3200 to 3222 without problem, It’s fixed for me.

    Thank you 😉

    Regards,
    Ch3i.

  • Update svn to svn 3215 failed

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    davido38D

    it works again with 3216. thanks a lot

  • Question about SVN

    3
  • Did the hostname changer change how it works?

    9
    0 Votes
    9 Posts
    4k Views
    J

    The notification GUI your are referring to was not ready for the initial public beta. See [url]http://portal.fogproject.org/work_packages/24[/url] for the workpackage.

  • Snapin Tools

    8
    0 Votes
    8 Posts
    4k Views
    ch3iC

    [quote=“Wayne Workman, post: 44000, member: 28155”][url]http://emcosoftware.com/msi-package-builder[/url]

    that’ll do it, but it’s not free. They have 3 different versions. The pro version will record all changes except for services and drivers. The enterprise version does everything.

    IMO, it’s not worth two cents unless you get the enterprise version. Their “Pro” version of the software used to deploy Java with custom settings has caused me nothing but nightmares.[/quote]

    Hi,

    Buy it and very usefull !

    Regards,
    Ch3i.

  • Fog Server running with PBIS

    3
    0 Votes
    3 Posts
    2k Views
    C

    Ok, Will make a Test server and test it before i put it into development.

    If it works I will post some instructions on how i got it to work.

72

Online

12.8k

Users

17.7k

Topics

157.3k

Posts