mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 11:12:04 +00:00
Update docker build containers to CentOS8 (3)
This commit is contained in:
parent
5d34077402
commit
4a6ccf0ca5
@ -70,7 +70,6 @@ touch /etc/xcat/genesis-scripts-updated
|
||||
|
||||
%Files
|
||||
%defattr(-,root,root)
|
||||
#%dir %attr(-,root,root) %{rpminstallroot}
|
||||
%{rpminstallroot}/usr/bin/allowcred.awk
|
||||
%{rpminstallroot}/usr/bin/bmcsetup
|
||||
%{rpminstallroot}/usr/bin/raidcmd
|
||||
|
@ -11,7 +11,7 @@ Vendor: IBM Corp.
|
||||
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
||||
Prefix: /opt/xcat
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
|
||||
PreReq: xCAT-client = 4:%{version}-%{release}
|
||||
Requires: xCAT-client = 4:%{version}-%{release}
|
||||
|
||||
%ifos linux
|
||||
BuildArch: noarch
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Setup hostname
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Setup hostname
|
||||
#
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
#!/bin/bash
|
||||
# Get hostname
|
||||
export HOSTNAME=$(host $IP 2>/dev/null | awk '{print $5}' | awk -F. '{print $1}')
|
||||
hostname $HOSTNAME
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
#!/bin/bash
|
||||
# Get hostname
|
||||
export HOSTNAME=$(host $IP 2>/dev/null | awk '{print $5}' | awk -F. '{print $1}')
|
||||
hostname $HOSTNAME
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#the nic name might change between the installation and 1st boot
|
||||
#active all the nics with network link during system boot
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
# The nic name might change between the installation and 1st boot
|
||||
# Active all the nics with network link during system boot
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Run xCAT post install
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Run xCAT post install
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
export XCATDEBUGMODE="#TABLEBLANKOKAY:site:key=xcatdebugmode:value#"
|
||||
if [ "$XCATDEBUGMODE" = "1" ] || [ "$XCATDEBUGMODE" = "2" ]; then
|
||||
set -x
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
#!/usr/bin/perl
|
||||
#-------------------------------------------------------
|
||||
|
||||
=head1
|
||||
|
@ -1,4 +1,4 @@
|
||||
#/bin/sh
|
||||
#!/bin/sh
|
||||
#modify the grub.cfg to prevent nic consistent network renameing
|
||||
grep -E -q "net.ifnames=0" /etc/sysconfig/grub || sed -i '/^GRUB_CMDLINE_LINUX=.*/{s/"$/ net.ifnames=0"/}' /etc/sysconfig/grub
|
||||
grep -E -q "net.ifnames=0" /etc/default/grub || sed -i '/^GRUB_CMDLINE_LINUX=.*/{s/"$/ net.ifnames=0"/}' /etc/default/grub
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!/bin/bash
|
||||
echo "Setting Boot Manager for the next boot."
|
||||
efibootmgr -c -l \\EFI\\redhat\\grub.efi -L Linux
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#step 1, determine the realm and such
|
||||
DNSDOMAIN=`dnsdomainname`
|
||||
UPDNSDOMAIN=`echo $DNSDOMAIN|tr a-z A-Z`
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
||||
if [ -n "$LOGLABEL" ]; then
|
||||
log_label=$LOGLABEL
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
function hashencode(){
|
||||
local str_map="$1"
|
||||
echo `echo $str_map | sed 's/\./xDOTx/g' | sed 's/:/xCOLONx/g' | sed 's/,/:xCOMMAx/g' | sed 's/-/xHYPHENx/g'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user