Centos 7 Install Guide Fog 1.4.0 (applies to 1.4.3 too) with DNS Masq for network boot



  • After about 15 installs on vms and hardware this is the shortcut way to get a fog box up on centos 7, with dnsmasq to point your network boot settings to your fog box.

    From the terminal

    #do it all from su
    su - #enter password for root user
    #check your ip before your start, save some hassle later on
    ifconfig
    wget http://downloads.sourceforge.net/project/freeghost/FOG/fog_1.4.0/fog_1.4.0.tar.gz
    tar xzf fog_1.4.0.tar.gz
    cd fog_1.4.0/bin
    #no to dhcp areas and storage node, check your interface
    ./installfog.sh
    
    #SELINUX=permissive
    # in sysconfig
    gedit /etc/sysconfig/selinux 
    
    #copy ltsp config below into ltsp for network booting
    gedit /etc/dnsmasq.d/ltsp.conf
    
    #sym links give errors, so I copy the files
    cp /tftpboot/undionly.kpxe /tftpboot/undionly.0
    cp /tftpboot/ipxe.efi /tftpboot/ipxe.0
    
    #own the folder
    chown -R fog.root /images  
    
    systemctl enable dnsmasq.service
    systemctl disable firewalld
    systemctl stop firewalld
    Reboot
    
    #--------------------------ltsp.conf, make sure you change to your servers ip x.x.x.x
    port=0
    log-dhcp
    tftp-root=/tftpboot
    dhcp-boot=undionly.kpxe,,x.x.x.x
    dhcp-no-override
    pxe-prompt="Booting FOG Client", 1
    pxe-service=X86PC, "Boot to FOG", undionly,x.x.x.x
    pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe,x.x.x.x
    pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe,x.x.x.x
    dhcp-range=x.x.x.x,proxy
    #---------------------------------

Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.