• 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
    3k 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
    5k 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
    5k 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
    3k 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
    4k 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
    14k 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
    1k 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
    3k 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.

  • 0 Votes
    3 Posts
    2k Views
    S

    If I want to make changes to my init files I use this script a lot:
    [CODE]#!/bin/sh

    INIT=“init”

    if [ ! -f ${INIT}.bak ]
    then
    echo “Backing up ${INIT}.xz”
    mv ${INIT}.xz ${INIT}.bak
    cp ${INIT}.bak ${INIT}.xz
    fi

    if [ -f mnt/bin/fog ]
    then
    umount mnt
    rmdir mnt
    echo “Compressing ${INIT}.xz, please wait…”
    xz -C crc32 -9 ${INIT}
    else
    xz -d ${INIT}.xz
    mkdir -p mnt
    mount -o loop ${INIT} mnt
    echo “Mounted ${INIT}, have fun…”
    fi[/CODE]

  • FOG node-service

    4
    0 Votes
    4 Posts
    2k Views
    J

    Exactly like that

  • Conditional boot menu (aka different boot menu for Windows and Mac)

    10
    0 Votes
    10 Posts
    5k Views
    V

    a very edge case… you will likely need to DIY it.

    The developers can not program every single configuration, only the one that fits most use cases.

  • [SCRIPT] Auto rename debian machine

    4
    0 Votes
    4 Posts
    3k Views
    ch3iC

    Hi,

    I updated the script :

    no limitation of number of ethernet card update /etc/network/interfaces

    [CODE]#!/bin/bash
    #########################################################

    Rename services with FoG, need mysql-client installed

    #########################################################

    ch3i - 02/05/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 Description: Rename host using FoG END INIT INFO

    #########################################################

    Configuration

    #########################################################
    FOG_SERVER=“xxx.xxx.xxx.xxx
    FOG_DATABASE_NAME=“fog”
    FOG_USER=“user_with_select_right”
    FOG_PASSWORD=“password”

    #########################################################

    Get interfaces

    #########################################################
    NETWORK_CARDS=($(ls /sys/class/net/))

    #########################################################

    Get host name and domain from FoG database

    #########################################################
    for ETH in ${NETWORK_CARDS[*]}
    do
    if [ “$ETH” != “lo” ]
    then
    MAC=$(cat /sys/class/net/$ETH/address)
    TEMP_HOST_NAME=$(mysql --host=$FOG_SERVER --user=$FOG_USER --password=$FOG_PASSWORD $FOG_DATABASE_NAME -se “SELECT hosts.hostname FROM hosts INNER JOIN hostMAC ON ( hosts.hostID = hostMAC.hmHostID ) WHERE hostMAC.hmMAC = ‘$MAC’”);
    if [ “$TEMP_HOST_NAME” != “” ]
    then
    HOST_NAME=$TEMP_HOST_NAME
    HOST_DOMAIN_NAME=$(mysql --host=$FOG_SERVER --user=$FOG_USER --password=$FOG_PASSWORD $FOG_DATABASE_NAME -se “SELECT hosts.hostADDomain FROM hosts INNER JOIN hostMAC ON ( hosts.hostID = hostMAC.hmHostID ) WHERE hostMAC.hmMAC = ‘$MAC’”);
    fi
    fi
    done

    #########################################################

    Check host configuration

    #########################################################
    ACTUAL_FQDN=$(hostname --fqdn)
    if [ “$HOST_NAME.$HOST_DOMAIN_NAME” != “$ACTUAL_FQDN” ] && [ “$HOST_NAME” != “” ] && [ “$HOST_DOMAIN_NAME” != “” ]
    then
    #########################################################
    # Update hostname file
    #########################################################
    echo $HOST_NAME >/etc/hostname

    ######################################################### # Update hosts file ######################################################### 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

    ######################################################### # Update interfaces file ######################################################### 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

    ######################################################### # Clear persistent network cards ######################################################### if [ -f /etc/udev/rules.d/70-persistent-net.rules ] then rm /etc/udev/rules.d/70-persistent-net.rules fi ######################################################### # Logs and Reboot machine ######################################################### echo "$(date) ::: Update successful with Hostname : $HOST_NAME and Domain : $HOST_DOMAIN_NAME" >> /var/log/rename_host_fog.log /sbin/init 6

    fi
    if [ “$HOST_NAME” == “” ] && [ “$HOST_DOMAIN_NAME” == “” ]
    then
    echo “$(date) ::: Update failed : Failed to connect to Mysql Server” >> /var/log/rename_host_fog.log
    fi
    if [ “$HOST_NAME” != “” ] && [ “$HOST_DOMAIN_NAME” == “” ]
    then
    echo “$(date) ::: Update failed : Domain name is missing” >> /var/log/rename_host_fog.log
    fi
    [/CODE]

    Regards,
    Ch3i.

  • MySQL Error

    8
    0 Votes
    8 Posts
    3k Views
    ?

    ok thanks

  • How stable is latest svn?

    3
    0 Votes
    3 Posts
    2k Views
    J

    The legacy client should still work as before. Don’t count on the current in-development client to work though (it can only be obtained through the fogservice-rewrite branch on github)

186

Online

12.3k

Users

17.4k

Topics

155.8k

Posts