Last active
June 6, 2020 11:57
-
-
Save sierra-tango-echo/fc3da4863717a081ae77a563c76005c0 to your computer and use it in GitHub Desktop.
Revisions
-
sierra-tango-echo revised this gist
Jun 6, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ cat << EOF > /etc/profile.d/flightcenter.sh #Custom PS1 with client name [ -f /etc/flightcentersupported ] && c=32 || c=31 if [ "\$PS1" ]; then PS1="[\u@\h\[\e[1;\${c}m\][${CLUSTERNAME}]\[\e[0m\] \W]\\$ " fi EOF touch /etc/flightcentersupported -
sierra-tango-echo revised this gist
Jun 6, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ firewall-offline-cmd --add-interface eth0 --zone public cat << EOF > /etc/profile.d/flightcenter.sh #Custom PS1 with client name [ -f /etc/flightcentersupported ] && c=32 || c=31 if [ "\$PS1" ]; then PS1="[\u@\h\[\e[1;${c}m\][${CLUSTERNAME}]\[\e[0m\] \W]\\$ " fi EOF -
sierra-tango-echo revised this gist
Jun 6, 2020 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,10 +12,11 @@ EOF yum -y install firewalld firewall-offline-cmd --add-interface eth0 --zone public cat << EOF > /etc/profile.d/flightcenter.sh #Custom PS1 with client name [ -f /etc/flightcentersupported ] && c=32 || c=31 if [ "$PS1" ]; then PS1="[\u@\h\[\e[1;${c}m\][${CLUSTERNAME}]\[\e[0m\] \W]\\$ " fi EOF touch /etc/flightcentersupported -
sierra-tango-echo revised this gist
Jun 6, 2020 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,4 +17,5 @@ cat << EOF [ -f /etc/flightcentersupported ] && c=32 || c=31 if [ "$PS1" ]; then PS1="[\u@\h\[\e[1;${c}m\][${CLUSTERNAME}]\[\e[0m\] \W]\\$ " fi EOF -
sierra-tango-echo revised this gist
Jun 6, 2020 . 1 changed file with 15 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,20 @@ if [ -z "${CLUSTERNAME}" ]; then echo "No clustername set" >&2 exit 1 fi hostnamectl set-hostname cgw1.cloud.pri.${CLUSTERNAME}.alces.network cat << EOF >> /etc/hosts 10.110.1.254 cgw1.cloud.pri.${CLUSTERNAME}.alces.network ${CLUSTERNAME} EOF yum -y install firewalld firewall-offline-cmd --add-interface eth0 --zone public cat << EOF #Custom PS1 with client name [ -f /etc/flightcentersupported ] && c=32 || c=31 if [ "$PS1" ]; then PS1="[\u@\h\[\e[1;${c}m\][${CLUSTERNAME}]\[\e[0m\] \W]\\$ " fi -
sierra-tango-echo revised this gist
May 9, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,4 @@ cat << EOF >> /etc/hosts EOF yum -y install firewalld firewall-offline-cmd --add-interface eth0 --zone public -
sierra-tango-echo revised this gist
May 9, 2020 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,7 @@ hostnamectl set-hostname crscfd1gw.cloud.rscfd1.alces.network cat << EOF >> /etc/hosts 10.110.1.254 crscfd1gw.cloud.rscfd1.alces.network crscfd1gw EOF yum -y install firewalld firewall-offline-cmd --add-interface eth0 --zone public --permanent -
sierra-tango-echo created this gist
May 9, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ hostnamectl set-hostname crscfd1gw.cloud.rscfd1.alces.network cat << EOF >> /etc/hosts 10.110.1.254 crscfd1gw.cloud.rscfd1.alces.network crscfd1gw EOF