Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 857973 Details for
Bug 1060343
UnboundLocalError: local variable 'rc' referenced before assignment
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: ks.cfg
ks.cfg (text/plain), 9.86 KB, created by
Michael Gregg
on 2014-01-31 21:05:55 UTC
(
hide
)
Description:
File: ks.cfg
Filename:
MIME Type:
Creator:
Michael Gregg
Created:
2014-01-31 21:05:55 UTC
Size:
9.86 KB
patch
obsolete
>nfs --server vtap-eng01.storage.rdu2.redhat.com --dir /vol/engarchive2/released/F-19/GOLD/Fedora/x86_64/os/ >#url --url=nfs://vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive2/released/F-19/GOLD/Fedora/x86_64/os/ > >auth --useshadow --enablemd5 ># System bootloader configuration >bootloader --location=mbr --append="console=ttyS0,19200 rescue" ># Use text mode install >text ># no specific network configuration >services --enabled=chronyd,chrony-wait > >repo --name=fedora-updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f19&arch=x86_64 > >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$2jtnzPTM$x5u9wo72jloQgL8B7UIVe0 >##Root password >rootpw --iscrypted $1$DceuUICD$GmR9du9OUHgdhluhu0NgB/ ># SELinux configuration >selinux --enforcing ># System timezone >timezone America/New_York ># Install OS instead of upgrade >install > >repo --name=beaker-Fedora-debuginfo --cost=100 --baseurl=http://download.eng.rdu.redhat.com/released/F-19/GOLD/Fedora/x86_64/debug >repo --name=beaker-Fedora-Everything --cost=100 --baseurl=http://download.eng.rdu.redhat.com/released/F-19/GOLD/Everything/x86_64/os >repo --name=beaker-Fedora --cost=100 --baseurl=http://download.eng.rdu.redhat.com/released/F-19/GOLD/Fedora/x86_64/os/ >zerombr >clearpart --all --initlabel > > >part /boot --size 200 --recommended --asprimary >part / --size 1024 --grow >part swap --recommended > ># no snippet data for Fedora ># no snippet data for system > >%packages --ignoremissing >@desktop-platform-devel >@development >@development-libs >@development-tools >@server-platform-devel >emacs >expect >gcc >libxml2-python >make >nfs-utils >ntp >procmail >psmisc >pyOpenSSL >redhat-lsb >sendmail >unifdef >vim-enhanced >wget >chrony >-ntp ># no snippet data for packages >%end > > > >%pre --log=/dev/console >set -x ># Check in with Beaker Server >wget -O - http://lab-02.rhts.eng.rdu.redhat.com:8000/install_start/1215820 > >wget -O /tmp/anamon 'http://lab-02.rhts.eng.rdu.redhat.com/beaker/anamon' >python /tmp/anamon --recipe-id 1215820 --xmlrpc-url 'http://lab-02.rhts.eng.rdu.redhat.com:8000/RPC2' ># no snippet data for Fedora_pre ># no snippet data for system_pre >%end > > >%post --log=/dev/console >set -x ># Check in with Beaker Server, let it know our hostname, and ># record our install time. >REPORTED_FQDN=$(hostname -f) >if [[ -z "$REPORTED_FQDN" || $REPORTED_FQDN == localhost || $REPORTED_FQDN == localhost.* ]] ; then > # hostname -f is the most future-proof approach, but it isn't always reliable > if [ -f /etc/hostname ] ; then > # Preferred fallback if the OS is recent enough to provide it > REPORTED_FQDN=$(cat /etc/hostname) > elif grep -q ^HOSTNAME= /etc/sysconfig/network ; then > # Last resort fallback to try to report something sensible > REPORTED_FQDN=$(grep ^HOSTNAME= /etc/sysconfig/network | cut -f2- -d=) > fi >fi >curl http://lab-02.rhts.eng.rdu.redhat.com:8000/install_done/1215820/$REPORTED_FQDN > >curl http://lab-02.rhts.eng.rdu.redhat.com:8000/nopxe/link.idm.lab.eng.rdu2.redhat.com >echo 1215820 > /root/RECIPE.TXT > ># If netboot_method= is found in /proc/cmdline record it to /root >netboot_method=$(perl -n -e'/netboot_method=([^\s]+)/ && print $1' /proc/cmdline) >if [ -n "$netboot_method" ]; then >echo $netboot_method >/root/NETBOOT_METHOD.TXT >fi > ># Enable post-install boot notification > >curl -R "http://lab-02.rhts.eng.rdu.redhat.com/beaker/anamon" -o /usr/local/sbin/anamon >curl -R "http://lab-02.rhts.eng.rdu.redhat.com/beaker/anamon.init" -o /etc/rc.d/init.d/anamon > >chmod 755 /etc/rc.d/init.d/anamon /usr/local/sbin/anamon > >if selinuxenabled &>/dev/null; then > restorecon /etc/rc.d/init.d/anamon /usr/local/sbin/anamon >fi > >chkconfig --add anamon > >cat << __EOT__ > /etc/sysconfig/anamon >XMLRPC_URL="http://lab-02.rhts.eng.rdu.redhat.com:8000/RPC2" >RECIPE_ID="1215820" >LOGFILES="/var/log/boot.log /var/log/messages /var/log/dmesg" >__EOT__ > > >if [ -e /etc/sysconfig/ntpdate ] ; then > /sbin/chkconfig ntpdate on >/dev/null 2>&1 || : >fi >if [ -e "/etc/sysconfig/ntpd" ]; then > /sbin/chkconfig ntpd on >/dev/null 2>&1 || : > GOT_G=$(/bin/cat /etc/sysconfig/ntpd | grep -E '^OPTIONS' | grep '\-g') > > if [ -z "$GOT_G" ]; then > /bin/sed -i -r 's/(^OPTIONS\s*=\s*)(['\''|"])(.+)$/\1\2\-x \3 /' /etc/sysconfig/ntpd > fi >fi >if [ -e /etc/chrony.conf ] ; then > cp /etc/chrony.conf{,.orig} > # use only DHCP-provided time servers, no default pool servers > sed -i '/^server /d' /etc/chrony.conf > cp /etc/sysconfig/network{,.orig} > # setting iburst should speed up initial sync > # https://bugzilla.redhat.com/show_bug.cgi?id=787042#c12 > echo NTPSERVERARGS=iburst >>/etc/sysconfig/network > /sbin/chkconfig ntpd off >/dev/null 2>&1 || : > /sbin/chkconfig ntpdate off >/dev/null 2>&1 || : >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/1215820 >enabled=1 >gpgcheck=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/Fedora19/ >enabled=1 >gpgcheck=0 >EOF > ># Add distro and custom Repos >cat <<"EOF" >/etc/yum.repos.d/beaker-Fedora-debuginfo.repo >[beaker-Fedora-debuginfo] >name=beaker-Fedora-debuginfo >baseurl=http://download.eng.rdu.redhat.com/released/F-19/GOLD/Fedora/x86_64/debug >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-Fedora-Everything.repo >[beaker-Fedora-Everything] >name=beaker-Fedora-Everything >baseurl=http://download.eng.rdu.redhat.com/released/F-19/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.rdu.redhat.com/released/F-19/GOLD/Fedora/x86_64/os/ >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF > > ># 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 >yum check-update > /dev/null 2>&1 || true >yum -y install beah rhts-test-env beakerlib ># This may fail if you are outside of Red Hat.. >yum -y install beakerlib-redhat > >cp /etc/beah_beaker.conf{,.default} >cat << EOF > /etc/beah_beaker.conf ># see /etc/beah_beaker.conf.default for commented configuration > >[DEFAULT] ># LAB_CONTROLLER: URI of Beaker's XML-RPC handler >LAB_CONTROLLER=http://lab-02.rhts.eng.rdu.redhat.com:8000 ># ># HOSTNAME: Pretend to be machine with given name. ># NOTE: This is mostly pointless as usually correct name is assigned by DHCP. >HOSTNAME=link.idm.lab.eng.rdu2.redhat.com >RECIPEID=1215820 > ># Turn on hard limits on upload sizes: >FILE_SIZE_LIMIT=200000000 >TASK_SIZE_LIMIT=800000000 > >EOF > >cp /etc/beah.conf{,.default} >cat << EOF > /etc/beah.conf ># see /etc/beah.conf.default for commented configuration > >[DEFAULT] ># Turn on more verbose logging and redirect to console. This is useful for ># debugging harness' problems. >LOG=Info >CONSOLE_LOG=Console ># To turn on debug logging uncomment the following line. Warning: this is ># rather verbose! This also requires LOG to be Debug. >#DEVEL=True > >[TASK] >INTERFACE= > >EOF > >chkconfig --level 345 beah-srv on >chkconfig --level 345 beah-beaker-backend on >chkconfig --level 345 beah-fwd-backend on > >#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_JOB_WHITEBOARD='Provision Fedora-19 Fedora x86_64' >export BEAKER_RECIPE_WHITEBOARD='' >EOF >cat <<"EOF" >/etc/profile.d/beaker.csh >setenv BEAKER "https://beaker.engineering.redhat.com/" >setenv BEAKER_JOB_WHITEBOARD 'Provision Fedora-19 Fedora x86_64' >setenv BEAKER_RECIPE_WHITEBOARD '' >EOF >cat << EOF > /etc/profile.d/rh-env.sh >export LAB_CONTROLLER=lab-02.rhts.eng.rdu.redhat.com >export DUMPSERVER=netdump-01.eng.rdu.redhat.com >export NFSSERVERS="rhel3-nfs.rhts.eng.rdu.redhat.com:/export/home rhel4-nfs.rhts.eng.rdu.redhat.com:/export/home rhel5-nfs.rhts.eng.rdu.redhat.com:/export/home rhel6-nfs.rhts.eng.rdu.redhat.com:/export/home" >export LOOKASIDE=http://download.eng.rdu.redhat.com/qa/rhts/lookaside/ >export BUILDURL=http://download.eng.rdu.redhat.com >EOF >cat << EOF > /etc/profile.d/rh-env.csh >setenv LAB_CONTROLLER lab-02.rhts.eng.rdu.redhat.com >setenv DUMPSERVER netdump-01.eng.rdu.redhat.com >setenv NFSSERVERS "rhel3-nfs.rhts.eng.rdu.redhat.com:/export/home rhel4-nfs.rhts.eng.rdu.redhat.com:/export/home rhel5-nfs.rhts.eng.rdu.redhat.com:/export/home rhel6-nfs.rhts.eng.rdu.redhat.com:/export/home" >setenv LOOKASIDE http://download.eng.rdu.redhat.com/qa/rhts/lookaside/ >setenv BUILDURL http://download.eng.rdu.redhat.com >EOF ># Check in with Beaker Server, record our postinstall time. >curl http://lab-02.rhts.eng.rdu.redhat.com:8000/postinstall_done/1215820 ># Disable rhts-compat for Fedora15/RHEL7 and newer. >cat >> /etc/profile.d/task-overrides-rhts.sh <<END >export RHTS_OPTION_COMPATIBLE= >export RHTS_OPTION_COMPAT_SERVICE= >END ># no snippet data for Fedora_post ># no snippet data for system_post >%end > ># Disable rhts-compat for Fedora15 and newer. >%post --log=/dev/console >cat >> /etc/profile.d/task-overrides-rhts.sh <<END >export RHTS_OPTION_COMPATIBLE= >export RHTS_OPTION_COMPAT_SERVICE= >END >%end > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1060343
:
857970
|
857971
|
857972
| 857973 |
857974
|
857975
|
857976
|
857977
|
857978
|
857979
|
857980