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 1475434 Details for
Bug 1615168
crash in blivet -- no UUID
[?]
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.
First script called in leto.ks
get-machine-specific-kickstart.sh (text/plain), 1.67 KB, created by
Frederick Roeber
on 2018-08-12 22:19:06 UTC
(
hide
)
Description:
First script called in leto.ks
Filename:
MIME Type:
Creator:
Frederick Roeber
Created:
2018-08-12 22:19:06 UTC
Size:
1.67 KB
patch
obsolete
>#!/bin/bash ># roeber 2012-09-15, 2013-10-11, 2015-08-07 > >: ${LIVE:="/run/install/repo"} ${CMDLINE:="/proc/cmdline"} >KSDIR="${LIVE}/ks" > >function die() { > echo $1 > exit 1 >} > >name="" > ># Check for "name=<machine>" on the boot line > >if [[ "x${name}" == "x" ]]; then > for p in $(<${CMDLINE}); do > if [[ "${p}" == name=?* ]]; then > name="${p##name=}" > fi > done >fi > ># See if an ethernet id is mentioned in a kickstart file > >if [[ "x${name}" == "x" ]]; then > ethers=$(ifconfig | awk '/ether/{print $2}' | xargs | sed -e 's/^/(/' -e 's/ /|/g' -e 's/$/)/') > if [[ "x${ethers}" != "x" ]]; then > readarray -t files < <(grep -H '^#.*ETHER:' ${KSDIR}/*.ks | grep -E "${ethers}" | cut -d: -f1 | sort -u) > if [[ ${#files[*]} -eq 1 ]]; then > fullname=${files[0]##${KSDIR}/} > name=${fullname%%.ks} > elif [[ ${#files[*]} -gt 1 ]]; then > echo "Multiple files match ethers ${ethers}: ${files[*]##${KSDIR}/}" > echo "Pick one. Enter 0 to quit." > select f in ${files[*]##${KSDIR}/}; do > name=${f%%.ks} > break; > done > fi > fi >fi > >shopt -s nullglob >if [[ "x${name}" == "x" ]]; then > files=(${KSDIR}/*.ks) > if [[ ${#files[*]} -eq 0 ]]; then > echo "Hey-- there are no kickstart files in ${KSDIR}!" > exit 1 > fi > echo "Pick a kickstart file. Enter 0 to quit." > select f in ${files[*]##${KSDIR}/}; do > name=${f%%.ks} > break; > done >fi > >if [[ "x${name}" == "x" ]]; then > echo "No kickstart file." > exit 1 >fi > >echo "Using ${name}.ks" >cp ${KSDIR}/${name}.ks /tmp/machine.ks > >if [[ -x "${LIVE}/bin/fbvs" && -r "${LIVE}/config/${name}/background.img" ]]; then > "${LIVE}/bin/fbvs" -a -d /dev/fb0 < "${LIVE}/config/${name}/background.img" >fi > >exit 0
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 1615168
:
1475432
|
1475433
| 1475434 |
1475435
|
1475436
|
1475437