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 898214 Details for
Bug 1100137
kickstart partition --noformat --encrypted --passphrase doesn't make decrypted physical volume available
[?]
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.
Kickstart file
kickstart (text/plain), 6.99 KB, created by
Stephen P. Schaefer
on 2014-05-22 05:57:44 UTC
(
hide
)
Description:
Kickstart file
Filename:
MIME Type:
Creator:
Stephen P. Schaefer
Created:
2014-05-22 05:57:44 UTC
Size:
6.99 KB
patch
obsolete
>#platform=x86, AMD64, or Intel EM64T ># System authorization information >auth --useshadow --enablemd5 ># System bootloader configuration >bootloader --location=mbr ># Partition clearing information >clearpart --all --initlabel ># Use text mode install ># text ># Firewall configuration >firewall --enabled ># Run the Setup Agent on first boot >firstboot --disable ># System keyboard >keyboard us ># System language >lang en_US ># Use network installation >url --url=http://gold.schaefer-home.org/cblr/links/Fedora20-x86_64 ># If any cobbler repo definitions were referenced in the kickstart profile, include them here. >repo --name=Updates --baseurl=http://gold.schaefer-home.org/cobbler/repo_mirror/Updates >repo --name=Puppet --baseurl=http://gold.schaefer-home.org/cobbler/repo_mirror/Puppet >repo --name=source-1 --baseurl=http://gold.schaefer-home.org/cobbler/ks_mirror/Fedora20-x86_64 > ># Network information ># Using "new" style networking config, by matching networking information to the physical interface's ># MAC-address >%include /tmp/pre_install_network_config > ># Reboot after installation >reboot > >#Root password >rootpw --iscrypted $1$Ap9ADZFB$not/the/actual/charact ># SELinux configuration >selinux --enforcing ># System timezone >timezone America/New_York ># Install OS instead of upgrade >install ># Don't clear any partitions >clearpart --none --drives=sda > >part pv.253002 --onpart=sda2 --noformat --encrypted --passphrase=No_Funny_Characters >volgroup vg_thyrsuslaptop --pesize=32768 --noformat >logvol swap --vgname=vg_thyrsuslaptop --name=lv_swap --useexisting >logvol / --vgname=vg_thyrsuslaptop --name=lv_root --fstype=ext4 --useexisting >logvol /home --vgname=vg_thyrsuslaptop --name=lv_home --fstype=ext4 --noformat >part /boot --fstype=ext4 --onpart=sda1 > >%pre >set -x -v >exec 1>/tmp/ks-pre.log 2>&1 > ># Once root's homedir is there, copy over the log. >while : ; do > sleep 10 > if [ -d /mnt/sysimage/root ]; then > cp /tmp/ks-pre.log /mnt/sysimage/root/ > logger "Copied %pre section log to system" > break > fi >done & > > > > > > >wget "http://gold.schaefer-home.org/cblr/svc/op/trig/mode/pre/system/thyrsus-laptop2" -O /dev/null ># Start pre_install_network_config generated code > ># Start of code to match cobbler system interfaces to physical interfaces by their mac addresses ># Start eth0 ># Configuring eth0 (52:54:00:eb:f0:f0) >if ifconfig -a | grep -i 52:54:00:eb:f0:f0 >then > IFNAME=$(ifconfig -a | grep -i '52:54:00:eb:f0:f0' | cut -d " " -f 1) > echo "network --device=$IFNAME --bootproto=dhcp --hostname=thyrsus-laptop2" >> /tmp/pre_install_network_config >fi ># End pre_install_network_config generated code > > ># cryptsetup luksOpen /dev/sda2 pv.253002 > >%end > >%packages >@ Administration Tools >@ Anaconda Tools >@ Base >@ Core >@ Editors >@ Filesystems >@ Fonts >@ GNOME Desktop Environment >@ Graphical Internet >@ Office/Productivity >@ System Tools >@ X Window System >ntp >puppet > > >%end > >%post >set -x -v >exec 1>/root/ks-post.log 2>&1 > ># Begin yum configuration >wget "http://gold.schaefer-home.org/cblr/svc/op/yum/system/thyrsus-laptop2" --output-document=/etc/yum.repos.d/cobbler-config.repo > ># End yum configuration > > > ># Start post_install_network_config generated code > ># create a working directory for interface scripts >mkdir /etc/sysconfig/network-scripts/cobbler >cp /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/cobbler/ > ># set the gateway in the network configuration file >grep -v GATEWAY /etc/sysconfig/network > /etc/sysconfig/network.cobbler >echo "GATEWAY=172.16.0.1" >> /etc/sysconfig/network.cobbler >rm -f /etc/sysconfig/network >mv /etc/sysconfig/network.cobbler /etc/sysconfig/network > ># set the hostname in the network configuration file >grep -v HOSTNAME /etc/sysconfig/network > /etc/sysconfig/network.cobbler >echo "HOSTNAME=thyrsus-laptop2" >> /etc/sysconfig/network.cobbler >rm -f /etc/sysconfig/network >mv /etc/sysconfig/network.cobbler /etc/sysconfig/network > ># Also set the hostname now, some applications require it ># (e.g.: if we're connecting to Puppet before a reboot). >/bin/hostname thyrsus-laptop2 > ># Start configuration for eth0 >echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 >echo "ONBOOT=yes" >> /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 >echo "HWADDR=52:54:00:EB:F0:F0" >> /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 >IFNAME=$(ifconfig -a | grep -i '52:54:00:EB:F0:F0' | cut -d ' ' -f 1) >if [ -f "/etc/modprobe.conf" ] && [ $IFNAME ]; then > grep $IFNAME /etc/modprobe.conf | sed "s/$IFNAME/eth0/" >> /etc/modprobe.conf.cobbler > grep -v $IFNAME /etc/modprobe.conf >> /etc/modprobe.conf.new > rm -f /etc/modprobe.conf > mv /etc/modprobe.conf.new /etc/modprobe.conf >fi >echo "TYPE=Ethernet" >> /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 >echo "BOOTPROTO=dhcp" >> /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 >echo "MTU=1500" >> /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 >echo "DNS1=172.16.0.1" >> /etc/sysconfig/network-scripts/cobbler/ifcfg-eth0 ># End configuration for eth0 > >sed -i -e "/^search /d" /etc/resolv.conf >echo -n "search " >>/etc/resolv.conf >echo -n "schaefer-home.org " >>/etc/resolv.conf >echo -n "internal.rfmd.com " >>/etc/resolv.conf >echo "" >>/etc/resolv.conf > >sed -i -e "/^nameserver /d" /etc/resolv.conf >echo "nameserver 172.16.0.1" >>/etc/resolv.conf > >sed -i 's/ONBOOT=yes/ONBOOT=no/g' /etc/sysconfig/network-scripts/ifcfg-eth* > >rm -f /etc/sysconfig/network-scripts/ifcfg-* >mv /etc/sysconfig/network-scripts/cobbler/* /etc/sysconfig/network-scripts/ >rm -r /etc/sysconfig/network-scripts/cobbler >if [ -f "/etc/modprobe.conf" ]; then >cat /etc/modprobe.conf.cobbler >> /etc/modprobe.conf >rm -f /etc/modprobe.conf.cobbler >fi ># End post_install_network_config generated code > ># Start download cobbler managed config files (if applicable) ># End download cobbler managed config files (if applicable) > ># Start koan environment setup >echo "export COBBLER_SERVER=gold.schaefer-home.org" > /etc/profile.d/cobbler.sh >echo "setenv COBBLER_SERVER gold.schaefer-home.org" > /etc/profile.d/cobbler.csh ># End koan environment setup > ># begin Red Hat management server registration ># not configured to register to any Red Hat management server (ok) ># end Red Hat management server registration > ># Begin cobbler registration ># skipping for system-based installation ># End cobbler registration > ># generate puppet certificates and trigger a signing request, but ># don't wait for signing to complete ># time must be reasonable for the cert request to work >/usr/sbin/ntpdate 0.fedora.pool.ntp.org >/bin/cat >> /etc/puppet/puppet.conf_cobbler <<EOSTART >[main] > # Schaefer home server > server = gold.schaefer-home.org > >EOSTART >/bin/sed -e '0,/\[main\]/d' < /etc/puppet/puppet.conf >> /etc/puppet/puppet.conf_cobbler >/bin/mv /etc/puppet/puppet.conf_cobbler /etc/puppet/puppet.conf > >/usr/sbin/puppetd --test --waitforcert 0 > ># turn puppet service on for reboot >/sbin/chkconfig puppet on > > ># Begin final steps > > > > > > > >wget "http://gold.schaefer-home.org/cblr/svc/op/ks/system/thyrsus-laptop2" -O /root/cobbler.ks >wget "http://gold.schaefer-home.org/cblr/svc/op/trig/mode/post/system/thyrsus-laptop2" -O /dev/null ># End final steps >%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 1100137
: 898214 |
898215
|
898216