Solved Red Hat - installer bug
-
This afternoon the bug did not appear, again. This particular install I didn’t update the OS first. So updates didn’t play a roll in the bug.
I’m unsure what was causing it. Have any more changes been made to the installer about this?
-
@Wayne-Workman Not a single one. Not to this particular bug at least.
-
@Tom-Elliott I just thought of something…
Try copy/pasting ALL of this and see if it happens… I am probably really dumb…
yum install git -y cd ~ mkdir git cd git git clone --depth 1 https://github.com/FOGProject/fogproject.git cd fogproject/bin ./installfog.sh echo Now you should have fog installed.
-
@Wayne-Workman lol.
-
I don’t get it… What’s wrong with those commands?
-
@Sebastian-Roth I don’t think anything is wrong with the commands but I think he copied and pasted from wiki maybe? I’ve seen a few times where what we originally suspected the issue was (tab /space ) is there and that would be a problem then.
-
I’m thinking the last “echo” command was piping stuff into the OS selection, causing the input to be invalid.
Just a theory at this point.
The only thing I’ve done different with the last two nodes is following exactly what Sebastian posted, which means I wasn’t copy/pasting from the Wiki, which leads me to believe something with what’s in the wiki is causing this minor issue.
-
@Wayne-Workman said:
I’m thinking the last “echo” command was piping stuff into the OS selection, causing the input to be invalid.
This shouldn’t be the case as the bash is normally waiting for commands and scripts to finish if they are not called like
cmd &
…Probably some magic invisible (meta) character copied from the wiki?
-
Notice the selected text? There’s a lot of extra white space. This is particularly from: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7
This is what I get if I try to run just simple copy paste from those lines:
+------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 8169 Installer/Updater * Found FOG Settings from previous install at: /opt/fog/.fogsettings * Performing upgrade using these settings Starting Redhat based Installation ###################################################################### # FOG now has everything it needs for this setup, but please # # understand that this script will overwrite any setting you may # # have setup for services like DHCP, apache, pxe, tftp, and NFS. # ###################################################################### # It is not recommended that you install this on a production system # # as this script modifies many of your system settings. # ###################################################################### # This script should be run by the root user. # # It will prepend the running with sudo if root is not set # ###################################################################### # ** Notice ** FOG is difficult to setup securely # # SELinux and IPTables are usually asked to be disabled # # There have been strides in adding capabilities # # The recommendations would now be more appropriate # # to set SELinux to permissive and to disable firewall for now. # # You can find some methods to enable SELinux and maintain firewall # # settings and ports. If you feel comfortable doing so please do # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Redhat * Detected Linux Distribution: Fedora * Server IP Address: 10.0.7.1 * Server Subnet Mask: 255.0.0.0 * Interface: eno16777728 * Installation Type: Normal Server * Donate: 0 * Internationalization: * Image Storage Location: /images * Using FOG DHCP: No * DHCP will NOT be setup but you must setup your | current DHCP server to use FOG for PXE services. * On a Linux DHCP server you must set: next-server and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. 10.0.7.1) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) y * Sorry, answer not recognized [root@fogstorage bin]#
-
@Tom-Elliott I will fix that.
-
I just looked in the wiki, there are not spaces. those must have came from me copy/pasting on my phone.
Right now, this is verbatim what’s in the wiki, notice I put quotes around the message.
yum install git -y cd ~ mkdir git cd git git clone --depth 1 https://github.com/FOGProject/fogproject.git cd fogproject/bin ./installfog.sh echo "Now you should have fog installed."