nfs --server ntap-bos-c01-eng01-nfs01a.storage.bos.redhat.com --dir /devops_engarchive2_nfs/redhat/released/fedora/F-36/GOLD/Server/x86_64/os/ #url --url=nfs://ntap-bos-c01-eng01-nfs01a.storage.bos.redhat.com:/devops_engarchive2_nfs/redhat/released/fedora/F-36/GOLD/Server/x86_64/os/ text # System bootloader configuration bootloader --location=mbr network --bootproto=dhcp --hostname=hpe-bl460cgen10-01.hpe2.lab.eng.bos.redhat.com repo --name=fedora-updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f36&arch=x86_64 repo --name=beaker-Fedora-Everything --cost=100 --baseurl=http://download.eng.bos.redhat.com/released/fedora/F-36/GOLD/Everything/x86_64/os repo --name=beaker-Fedora --cost=100 --baseurl=http://download.eng.bos.redhat.com/released/fedora/F-36/GOLD/Server/x86_64/os/ firewall --disabled # Run the Setup Agent on first boot firstboot --disable # System keyboard keyboard us # System language lang en_US.UTF-8 reboot #Root password rootpw --iscrypted $1$BPo0merk$OjaJfbYEiCAQtoJz0kcV.0 # SELinux configuration selinux --enforcing timezone America/New_York zerombr clearpart --all --initlabel autopart # no snippet data for Fedora36 # no snippet data for Fedora # no snippet data for system %packages --ignoremissing # Task requirements will be installed by the harness # no snippet data for packages chrony %end %pre --log=/dev/console set -x # Some distros have curl in their minimal install set, others have wget. # We define a wrapper function around the best available implementation # so that the rest of the script can use that for making HTTP requests. if command -v curl >/dev/null ; then # Older curl versions lack --retry if curl --help 2>&1 | grep -q .*--retry ; then function fetch() { curl -L --retry 20 --remote-time -o "$1" "$2" } else function fetch() { curl -L --remote-time -o "$1" "$2" } fi elif command -v wget >/dev/null ; then # In Anaconda images wget is actually busybox if wget --help 2>&1 | grep -q BusyBox ; then function fetch() { wget -O "$1" "$2" } else function fetch() { wget --tries 20 -O "$1" "$2" } fi else echo "No HTTP client command available!" function fetch() { false } fi # Check in with Beaker Server fetch - http://lab-02.rhts.eng.bos.redhat.com:8000/install_start/12380183 if command -v python3 >/dev/null ; then fetch /tmp/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon3 python_command="python3" elif [ -f /usr/libexec/platform-python ] && \ /usr/libexec/platform-python --version 2>&1 | grep -q "Python 3" ; then fetch /tmp/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon3 python_command="/usr/libexec/platform-python" else fetch /tmp/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon python_command="python" fi $python_command /tmp/anamon --recipe-id 12380183 --xmlrpc-url 'http://lab-02.rhts.eng.bos.redhat.com:8000/RPC2' # no snippet data for Fedora36_pre # no snippet data for Fedora_pre %end %post --log=/dev/console # Disable yum repos supplied by fedora-release in favour of Beaker-supplied repos # (this will match the repos used during installation). sed -i -e '/\[fedora\]/,/^\[/s/enabled=1/enabled=0/' /etc/yum.repos.d/fedora.repo set -x # Some distros have curl in their minimal install set, others have wget. # We define a wrapper function around the best available implementation # so that the rest of the script can use that for making HTTP requests. if command -v curl >/dev/null ; then # Older curl versions lack --retry if curl --help 2>&1 | grep -q .*--retry ; then function fetch() { curl -L --retry 20 --remote-time -o "$1" "$2" } else function fetch() { curl -L --remote-time -o "$1" "$2" } fi elif command -v wget >/dev/null ; then # In Anaconda images wget is actually busybox if wget --help 2>&1 | grep -q BusyBox ; then function fetch() { wget -O "$1" "$2" } else function fetch() { wget --tries 20 -O "$1" "$2" } fi else echo "No HTTP client command available!" function fetch() { false } fi # Check in with Beaker Server, let it know our hostname, and # record our install time. # We will try a number of different places to figure out the system's FQDN. # In all cases we will only accept a real FQDN (no "localhost", and must have # a domain portion). DNS is our preferred source, otherwise the installer # should have stored a hostname in /etc based on the kickstart or DHCP info. # As a last resort we will use the system's first IP address. function find_fqdn() { local fqdn= # hostname -f is the most future-proof approach, but it isn't always reliable fqdn=$(hostname -f) if [[ "$fqdn" == *.* && "$fqdn" != localhost.* ]] ; then echo "$fqdn" ; return ; fi # Preferred fallback if the OS is recent enough to provide it fqdn=$(cat /etc/hostname) if [[ "$fqdn" == *.* && "$fqdn" != localhost.* ]] ; then echo "$fqdn" ; return ; fi # Red Hat-based systems prior to systemd will have this fqdn=$(grep ^HOSTNAME= /etc/sysconfig/network | cut -f2- -d=) if [[ "$fqdn" == *.* && "$fqdn" != localhost.* ]] ; then echo "$fqdn" ; return ; fi # Getting desperate... pick the first local IP address ipaddr=$(hostname -i) if [[ "$ipaddr" != "127.0.0.1" ]] ; then echo "$ipaddr" ; return ; fi # Getting even more desperate (RHEL5 and earlier) ip addr show | grep -v ' lo' | grep -Po '(?<=inet )[0-9.]+' } REPORTED_FQDN=$(find_fqdn) fetch - "http://lab-02.rhts.eng.bos.redhat.com:8000/install_done/12380183/$REPORTED_FQDN" fetch - http://lab-02.rhts.eng.bos.redhat.com:8000/nopxe/hpe-bl460cgen10-01.hpe2.lab.eng.bos.redhat.com echo 12380183 > /root/RECIPE.TXT # If netboot_method= is found in /proc/cmdline record it to /root netboot_method=$(grep -oP "(?<=netboot_method=)[^\s]+(?=)" /proc/cmdline) if [ -n "$netboot_method" ]; then echo $netboot_method >/root/NETBOOT_METHOD.TXT fi # Enable post-install boot notification if command -v python3 >/dev/null ; then fetch /usr/local/sbin/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon3 elif [ -f /usr/libexec/platform-python ] && \ /usr/libexec/platform-python --version 2>&1 | grep -q "Python 3" ; then fetch /usr/local/sbin/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon3 sed -i 's/#!\/usr\/bin\/python3/#!\/usr\/libexec\/platform-python/' /usr/local/sbin/anamon else fetch /usr/local/sbin/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon fi chmod 755 /usr/local/sbin/anamon # OS without `initscripts` need to use systemd if [ -e /etc/init.d/functions ]; then fetch /etc/rc.d/init.d/anamon http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon.init chmod 755 /etc/rc.d/init.d/anamon if selinuxenabled &>/dev/null ; then restorecon /etc/rc.d/init.d/anamon /usr/local/sbin/anamon fi chkconfig --add anamon else fetch /etc/systemd/system/anamon.service http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon.service systemctl enable anamon fi cat << __EOT__ > /etc/sysconfig/anamon XMLRPC_URL="http://lab-02.rhts.eng.bos.redhat.com:8000/RPC2" RECIPE_ID="12380183" LOGFILES="/var/log/boot.log /var/log/messages /var/log/dmesg" __EOT__ if [ -f /etc/sysconfig/readahead ] ; then : cat >>/etc/sysconfig/readahead <>/etc/sysconfig/network systemctl disable ntpd.service systemctl disable ntpdate.service systemctl enable chronyd.service systemctl enable chrony-wait.service fi # set --port for GRUB (0.9) for file in /boot/grub/grub.conf /boot/efi/EFI/redhat/grub.conf /boot/grub/menu.lst ; do if [ -f "$file" ] && [ ! -L "$file" ] ; then sed --in-place=.orig -e 's/^\(serial.*\)--unit=\S\+\(.*\)$/\1--port=0x03f8\2/' "$file" fi done # set --port for GRUB2 if [ -e "/etc/default/grub" ] ; then sed --in-place=.orig -e '/^GRUB_SERIAL_COMMAND="serial/ {s/--unit=[0-9]\+//; s/"$/ --port=0x03f8"/}' /etc/default/grub for file in /boot/grub2/grub.cfg /boot/efi/EFI/redhat/grub.cfg ; do if [ -f "$file" ] && [ ! -L "$file" ] ; then grub2-mkconfig -o "$file" fi done fi if efibootmgr &>/dev/null ; then # The installer should have added a new boot entry for the OS # at the top of the boot order. We move it to the end of the order # and set it as BootNext instead. boot_order=$(efibootmgr | awk '/BootOrder/ { print $2 }') os_boot_entry=$(cut -d, -f1 <<<"$boot_order") new_boot_order=$(cut -d, -f2- <<<"$boot_order"),"$os_boot_entry" efibootmgr -o "$new_boot_order" efibootmgr -n "$os_boot_entry" # save the boot entry for later, so that rhts-reboot can set BootNext as well echo "$os_boot_entry" >/root/EFI_BOOT_ENTRY.TXT fi #Add Task Repo cat <<"EOF" >/etc/yum.repos.d/beaker-tasks.repo [beaker-tasks] name=beaker-tasks baseurl=http://beaker.engineering.redhat.com/repos/12380183 enabled=1 gpgcheck=0 skip_if_unavailable=0 EOF # Add Harness Repo cat <<"EOF" >/etc/yum.repos.d/beaker-harness.repo [beaker-harness] name=beaker-harness baseurl=http://beaker.engineering.redhat.com/harness/Fedora36/ enabled=1 gpgcheck=0 EOF # Add distro and custom Repos cat <<"EOF" >/etc/yum.repos.d/beaker-Fedora-Everything.repo [beaker-Fedora-Everything] name=beaker-Fedora-Everything baseurl=http://download.eng.bos.redhat.com/released/fedora/F-36/GOLD/Everything/x86_64/os enabled=1 gpgcheck=0 skip_if_unavailable=1 EOF cat <<"EOF" >/etc/yum.repos.d/beaker-Fedora.repo [beaker-Fedora] name=beaker-Fedora baseurl=http://download.eng.bos.redhat.com/released/fedora/F-36/GOLD/Server/x86_64/os/ enabled=1 gpgcheck=0 skip_if_unavailable=1 EOF if command -v dnf >/dev/null ; then package_command="dnf" else package_command="yum" fi # fill the yum cache and redirect output to /dev/null # This speeds up yum because of a bug where it will update stdout too often. # http://lists.baseurl.org/pipermail/yum-devel/2011-December/008857.html $package_command check-update -y > /dev/null 2>&1 || true cat <<"EOF" >/etc/profile.d/beaker-harness-env.sh export BEAKER_LAB_CONTROLLER_URL="http://lab-02.rhts.eng.bos.redhat.com:8000/" export BEAKER_LAB_CONTROLLER=lab-02.rhts.eng.bos.redhat.com export BEAKER_RECIPE_ID=12380183 export BEAKER_HUB_URL="https://beaker.engineering.redhat.com/" EOF cat <<"EOF" >/etc/profile.d/beaker-harness-env.csh setenv BEAKER_LAB_CONTROLLER_URL "http://lab-02.rhts.eng.bos.redhat.com:8000/" setenv BEAKER_LAB_CONTROLLER lab-02.rhts.eng.bos.redhat.com setenv BEAKER_RECIPE_ID 12380183 setenv BEAKER_HUB_URL "https://beaker.engineering.redhat.com/" EOF if command -v dnf >/dev/null ; then package_command="dnf" else package_command="yum" fi $package_command -y install restraint-rhts #Add test user account useradd --password '$6$oIW3o2Mr$XbWZKaM7nA.cQqudfDJScupXOia5h1u517t6Htx/Q/MgXm82Pc/OcytatTeI4ULNWOMJzvpCigWiL4xKP9PX4.' test cat <<"EOF" >/etc/profile.d/beaker.sh export BEAKER="https://beaker.engineering.redhat.com/" export BEAKER_RESERVATION_POLICY_URL="https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems" export BEAKER_JOB_WHITEBOARD='Reserve Workflow provision of distro Fedora-36 on a specific system for 86400 seconds' export BEAKER_RECIPE_WHITEBOARD='' EOF cat <<"EOF" >/etc/profile.d/beaker.csh setenv BEAKER "https://beaker.engineering.redhat.com/" setenv BEAKER_RESERVATION_POLICY_URL "https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems" setenv BEAKER_JOB_WHITEBOARD 'Reserve Workflow provision of distro Fedora-36 on a specific system for 86400 seconds' setenv BEAKER_RECIPE_WHITEBOARD '' EOF cat << EOF > /etc/profile.d/rh-env.sh export LAB_CONTROLLER=lab-02.rhts.eng.bos.redhat.com export DUMPSERVER=netdump-01.eng.bos.redhat.com # RT383569 - commented out sol10-nfs.lab.bos.redhat.com temporarily # RT438254 - changed netapp-nfs.lab.bos.redhat.com to netapp-v41.lab.bos.redhat.com # PNT0844470 - Added fs-netapp-kernel1.fs.lab.eng.bos.redhat.com:/export/home export NFSSERVERS="rhel6-nfs.rhts.eng.bos.redhat.com:/export/home rhel7-nfs.rhts.eng.bos.redhat.com:/export/home rhel8-nfs.rhts.eng.bos.redhat.com:/export/home rhel9-nfs.rhts.eng.bos.redhat.com:/export/home fs-netapp-kernel1.fs.lab.eng.bos.redhat.com:/export/home" export LOOKASIDE=http://download.eng.bos.redhat.com/qa/rhts/lookaside/ export BUILDURL=http://download.eng.bos.redhat.com EOF cat << EOF > /etc/profile.d/rh-env.csh setenv LAB_CONTROLLER lab-02.rhts.eng.bos.redhat.com setenv DUMPSERVER netdump-01.eng.bos.redhat.com # RT383569 - commented out sol10-nfs.lab.bos.redhat.com temporarily # RT438254 - changed netapp-nfs.lab.bos.redhat.com to netapp-v41.lab.bos.redhat.com # PNT0844470 - Added fs-netapp-kernel1.fs.lab.eng.bos.redhat.com:/export/home setenv NFSSERVERS "rhel6-nfs.rhts.eng.bos.redhat.com:/export/home rhel7-nfs.rhts.eng.bos.redhat.com:/export/home rhel8-nfs.rhts.eng.bos.redhat.com:/export/home rhel9-nfs.rhts.eng.bos.redhat.com:/export/home fs-netapp-kernel1.fs.lab.eng.bos.redhat.com:/export/home" setenv LOOKASIDE http://download.eng.bos.redhat.com/qa/rhts/lookaside/ setenv BUILDURL http://download.eng.bos.redhat.com EOF mkdir -p /root/.ssh cat >>/root/.ssh/authorized_keys <<"__EOF__" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrszUwqjVzrY63uACIPSZZaFVwhtdENKH4RV/VqZ2+gX6rEYHHdpI4bN4QhDDWJQMGscda2U3sKfznaCyMjicC8hEdsJJgECLJ9nirb1xMt1hR9ib1bC6QVLK+8ya5z0g2W/Kc/WkRsOS9N3WMEvajG7DQe2LqudBlV7jcmAoDN5DJfugbKFh63OabaMmgU1H41m7eidghuH2yEyCuWh/eDFnoKFAlvzOgk2g8z4ZQF94r6HIwDRcWvfYsbSovESOvxqZbB0AWhaLQIvP/z2EQUmyxRM2hpqKolN09C0BMbBck4v8WUayCzzUPpWeWgGBwuRwlHi7widzHJN6tU7+l root@dhcp-128-28.nay.redhat.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPt5PFhuDW6t9o+P9s+K1SnsNiSVQI/XZTwcicT8MvwBywOApYnZRUcFDLwrKoaQKw9XM8f37FLrv4ATPoOxloZKBJc5tDmHvdqDsk/+PrbHjIe084qZm9MB3vYCeLipp1vzOAsTfcDB9LQNOVdjHpdJPtWZtPiOXll6Wptb+l05nsbyoQdEgcT+2qsY5eOq9AezEF5eQtmpRr1kKCtPOiwctJor385Fj9sQP+Gu9JxnHAyaejIfPkBWSAuf2qZye/bFiOOxG1V227HfZYGPB+nP8GT011z7g7eCWwi9gwlxymZZMbTqaPHNtzLQXENNZxsv3O2pDOuAW4zMYEPh8D lnie@localhost.localdomain ssh-rsa AAAAB3NzaC1yc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yLT9QLJQhTNvJ6qVRLAGwScodjRsc3SOSOl7xmCeL2smoUe9vIyMfjvEjNdMN1ZEkUJL4KPDhbKT5M7t7rjeS/rLJ2agDNdFc05xfzFqYj5Pbk5kbhHDwOA6POYJbYYsvJXpxn5LnbZbM6nGaH7oISXYqiiNARzQKn3sYSPWP78KWe7wkQKj9Q6dyF5kyI0asvs1XhTAGON11GqEYTcdYRSEe8edCIAGf3FrF5Rj8CfvEwz5fqVejlIay2cwwXfDjxUZoZYvJb6Vtdi0QcLprOXYrEFNH4zk= lnie@ovpn-13-111.pek2.redhat.com __EOF__ restorecon -R /root/.ssh chmod go-w /root /root/.ssh /root/.ssh/authorized_keys sed -i '/^#PermitRootLogin /s/^#//' /etc/ssh/sshd_config sed -i 's|PermitRootLogin .*|PermitRootLogin yes|' /etc/ssh/sshd_config systemctl restart sshd # Disable rhts-compat for Fedora15/RHEL7 and newer. cat >> /etc/profile.d/task-overrides-rhts.sh </dev/null ; then # Older curl versions lack --retry if curl --help 2>&1 | grep -q .*--retry ; then function fetch() { curl -L --retry 20 --remote-time -o "$1" "$2" } else function fetch() { curl -L --remote-time -o "$1" "$2" } fi elif command -v wget >/dev/null ; then # In Anaconda images wget is actually busybox if wget --help 2>&1 | grep -q BusyBox ; then function fetch() { wget -O "$1" "$2" } else function fetch() { wget --tries 20 -O "$1" "$2" } fi else echo "No HTTP client command available!" function fetch() { false } fi fetch - http://lab-02.rhts.eng.bos.redhat.com:8000/install_fail/12380183 sleep 10 %end %post set -x # Some distros have curl in their minimal install set, others have wget. # We define a wrapper function around the best available implementation # so that the rest of the script can use that for making HTTP requests. if command -v curl >/dev/null ; then # Older curl versions lack --retry if curl --help 2>&1 | grep -q .*--retry ; then function fetch() { curl -L --retry 20 --remote-time -o "$1" "$2" } else function fetch() { curl -L --remote-time -o "$1" "$2" } fi elif command -v wget >/dev/null ; then # In Anaconda images wget is actually busybox if wget --help 2>&1 | grep -q BusyBox ; then function fetch() { wget -O "$1" "$2" } else function fetch() { wget --tries 20 -O "$1" "$2" } fi else echo "No HTTP client command available!" function fetch() { false } fi # Check in with Beaker Server, record our postinstall time. fetch - http://lab-02.rhts.eng.bos.redhat.com:8000/postinstall_done/12380183 # Give anamon a chance to finish collecting logs. sleep 10 %end