• 0 Votes
    6 Posts
    2k Views
    george1421G

    @ppustisr I’m glad you got it worked out.

  • 7731 - SQL Error

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    M

    Just upgraded and everything is working normally.

    Thanks guys.

  • TFTP PXE-T01: File Not Found

    Solved
    18
    0 Votes
    18 Posts
    6k Views
    M

    @george1421

    It is just a random VM machine running off a Dell server - not sure which kind. I just checked up on the machine this morning and it is still just at “bzImage …” with like a million dots by now…

  • Post Registration Questions and Functions

    5
    0 Votes
    5 Posts
    2k Views
    Tom ElliottT

    I may think of a mechanism to do a “post-registrationscripts” setup that works similarly to post-download script. However, part of the registration system does not require storage information which is really what’s needed to do this properly.

    Your mechanism of updating an init for yourself would work, but it does make keeping up with changes in the init’s a little more difficult, though I don’t imagine much of the changes affecting the way your init would work.

    I have a script that allows me to customize init’s on the fly in the case my build system is just taking too long.

    #!/bin/bash # Check for webroot if [ -n "$1" -a -e "$1" ]; then webroot="$1"; elif [ -e "/srv/http/fog" ]; then webroot="/srv/http/fog"; elif [ -e "/var/www/html/fog" ]; then webroot="/var/www/html/fog"; elif [ -e "/var/www/fog" ]; then webroot="/var/www/fog"; fi if [ ! -e "$webroot/service" ]; then echo "No service directory to work from" exit 1 fi if [ ! -e "$webroot/service/ipxe" ]; then echo "No ipxe directory to work from" exit 1 fi ipxeroot="$webroot/service/ipxe" currDirectory=`pwd` init64='' init32='' if [ ! -f "$ipxeroot/init.xz" -a ! -f "$ipxeroot/init" ]; then echo "No 64 bit init to process" init64='no' fi if [ ! -f "$ipxeroot/init_32.xz" -a ! -f "$ipxeroot/init_32" ]; then echo "No 32 bit init to process" init32='no' fi if [ -n "$init64" -a -n "$init32" ]; then echo "No init files to process" exit 1 fi if [ ! -e "$ipxeroot/tmp" ]; then mkdir $ipxeroot/tmp >/dev/null 2>&1 fi copyTrunkFiles() { svn up /root/trunk/ >/dev/null 2>&1 cp -r /root/trunk/src/buildroot/package/fog/scripts/bin/* $ipxeroot/tmp/bin/ >/dev/null 2>&1 cp -r /root/trunk/src/buildroot/package/fog/scripts/usr/* $ipxeroot/tmp/usr/ >/dev/null 2>&1 cp -r /root/trunk/src/buildroot/package/fog/scripts/etc/* $ipxeroot/tmp/etc/ >/dev/null 2>&1 cp -r /root/trunk/src/buildroot/system/skeleton/etc/* $ipxeroot/tmp/etc/ >/dev/null 2>&1 errorStat $? } mountTmpFolder() { mount -o loop $ipxeroot/$1 $ipxeroot/tmp >/dev/null 2>&1 if [ -z "$2" ]; then errorStat $? elif [ "$?" != "0" -a -f "$ipxeroot/$1" ]; then unmountTmpFolder "true" mountTmpFolder "$1" fi } unmountTmpFolder() { umount $ipxeroot/tmp >/dev/null 2>&1 if [ -z "$1" ]; then errorStat $? fi } initFSCheck() { fsck.ext2 -a $ipxeroot/$1 >/dev/null 2>&1 errorStat $? } recompressInit() { xz -9 -C crc32 >/dev/null 2>&1 < $ipxeroot/$1 > $ipxeroot/${1}.xz errorStat $? } decompressInit() { xz -d >/dev/null 2>&1 < $ipxeroot/${1}.xz > $ipxeroot/$1 errorStat $? } errorStat() { if [ "$1" != "0" ]; then echo "Failed" exit 1 fi echo "OK" } if [ -z "$init64" ]; then if [ -f "$ipxeroot/init.xz" -a ! -f "$ipxeroot/init" ]; then echo -n " * Decompressing 64 bit init..." decompressInit "init" else echo " * 64 bit init already extracted" fi echo -n " * Mounting 64 bit init..." mountTmpFolder "init" "yes" echo -n " * Copying trunk files..." copyTrunkFiles echo -n " * Unmounting init..." unmountTmpFolder echo -n " * Checking ext2 filesystem..." initFSCheck "init" echo -n " * Recompressing 64 bit Init..." recompressInit "init" fi if [ -z "$init_32" ]; then if [ -f "$ipxeroot/init_32.xz" -a ! -f "$ipxeroot/init_32" ]; then echo -n " * Decompressing 32 bit init..." decompressInit "init_32" else echo " * 32 bit init already extracted" fi echo -n " * Mounting 32 bit init..." mountTmpFolder "init_32" "yes" echo -n " * Copying trunk files..." copyTrunkFiles echo -n " * Unmounting init..." unmountTmpFolder echo -n " * Checking ext2 filesystem..." initFSCheck "init_32" echo -n " * Recompressing 32 bit Init..." recompressInit "init_32" fi

    I realize this is probably not customized for your needs, but it should do what you need in a pinch. Of course you’re more than welcome to editing it.

  • This topic is deleted!

    6
    0 Votes
    6 Posts
    24 Views
  • Install fails - SVN revision 5520 on Centos 7 minimal 1511

    8
    0 Votes
    8 Posts
    2k Views
    S

    @coco65 No problem at all. Didn’t take me more than a minute to remember and find the old post. Hope this one will make the question more visible in the forums to help others who are running into the same thing.

  • Can't update GIT or FOG to newer versions.

    12
    0 Votes
    12 Posts
    5k Views
    ManofValorM

    @Tom-Elliott said in Can't update GIT or FOG to newer versions.:

    rpm --nodeps -e git; yum -y install git

    OK, that went through successfully and I am updated with git and FOG. Thanks again Tom.

  • Is it possible to collect hosts while installing fog client on them?

    Solved
    2
    0 Votes
    2 Posts
    605 Views
    Tom ElliottT

    The hostnameregister function of the FOG Client (new) does this for you, but it creates the hosts under a “pending” status.

    You go to the GUI, Hosts, Pending Hosts to see them and approve them for adding into your environment.

  • Ubuntu 14.04 - From 1.2.0 to trunk. Webaccess does not work.

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    M

    @Tom-Elliott

    Updating to version 7785 seemed to do the trick. Webacces is now full functional. Moving on to the next problem.

    Thank you all SO SO much for your help 🙂

  • schéma d'installation / Updater

    Solved
    4
    0 Votes
    4 Posts
    4k Views
    Tom ElliottT

    Remoted in and was able to find a way to properly operate around the issues.

  • Snapin don't working

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    J

    @Tom Elliott

    Hi,
    Thanks for your quick answer.
    you are completely right, as always
    I have updated the server to 7779 version

    Have a good day

  • PXE Boot freezing at the BG.png?

    19
    0 Votes
    19 Posts
    8k Views
    george1421G

    @Sebastian-Roth I stand corrected after a long day of typing.

    I really do know the difference between iPXE kernels and linux kernels even though my fingers lie once and a while.

  • Returning from PXE Advanced Menu runs into Chainload failure

    1
    0 Votes
    1 Posts
    805 Views
    No one has replied
  • he glued tasks are not displayed correctly from the task manager

    2
    0 Votes
    2 Posts
    533 Views
    Tom ElliottT

    Update fog.

  • Re-sizing the Partition/Adding More Storage

    7
    0 Votes
    7 Posts
    2k Views
    S

    @george1421 Yea I tried to do the fdisk thing and also thought it was scary so stopped before I could do any damage. I might try again because I have a snapshot of the server so If I do anything I can just revert to the snapshot. I just wanted to be pointed in the right direction before I put time into it. I’m reading the first article you posted and if that doesn’t work I will try using fdisk. Thank you for replying, I’ll let you know what happens 🙂

  • After Imaging Windows Setup error on Fog Build 7709

    5
    0 Votes
    5 Posts
    2k Views
    george1421G

    @chetansays

    If you want to disable globally
    FOG Configurations->FOG Settings->FOG Client - XXXXXXX
    For now just disable all FOG Client sections individually

    Or you can do on a host by host basis (probably what you want for this test)
    Host Management -> List all Hosts -> {Select your host}
    Then from the left menu select Service Settings and then uncheck all under service configuraiton.

  • multicast using wrong ethernet

    21
    0 Votes
    21 Posts
    8k Views
    Tom ElliottT

    @tmerrick I’m making an implicit check for the interface based on the ip stored for the node.

    Can you just run update.

  • build 7705: Downloading inits, kernels, and the fog client ... stuck

    5
    0 Votes
    5 Posts
    2k Views
    sudburrS

    It can yes. I was using the easy method of eliminating one possibility before I dug deeper.

  • Help configuring fog server with two nic cards.

    Solved
    20
    0 Votes
    20 Posts
    7k Views
    phil_guyP

    @george1421 UPDATE: I followed your instructions and I got my system to work exactly how I wanted it too. I really appreciate the help. Thanks again.

    Unfortunately I ran into a small hiccup during the deployment process. You’ll see the post soon once I get the photo uploaded haha.

  • php7 not recognized

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    Wayne WorkmanW

    @Tumulus You’re fine, FOG runs on Ubuntu 16 just fine. You simply run the installer as tom said, and everything is just-fine.

69

Online

12.7k

Users

17.6k

Topics

156.8k

Posts