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 949793 Details for
Bug 1155979
anaconda get's stuck with cmdline argument, after some exception
[?]
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.
KS used for installation
runtime-layout.ks (text/plain), 5.40 KB, created by
Fabian Deutsch
on 2014-10-23 10:31:49 UTC
(
hide
)
Description:
KS used for installation
Filename:
MIME Type:
Creator:
Fabian Deutsch
Created:
2014-10-23 10:31:49 UTC
Size:
5.40 KB
patch
obsolete
> >poweroff > > >## >## Including ../partial/header.ks >## > ># ># Header ># >lang en_US.UTF-8 >keyboard us >timezone --utc Etc/UTC >auth --enableshadow --passalgo=sha512 >selinux --permissive >network --bootproto=dhcp >rootpw THISISJUSTADUMMY > ># Left to the template: >#reboot >#poweroff > > > >## >## Including ../partial/storage.ks >## >clearpart --all --initlabel >bootloader --append="console=ttyS0 quiet" --timeout=1 > >part biosboot --size=1 >part /boot --size=512 --fstype ext4 --label=Boot --asprimary > >part pv.01 --size 5000 >volgroup HostVG pv.01 >logvol /config --vgname=HostVG --size=64 --name=Config --fstype=ext4 >logvol none --vgname=HostVG --size=4000 --name=ImagePool --thinpool --chunksize=128 --metadatasize=4 >logvol / --vgname=HostVG --size=3000 --name=Image-0.0 --thin --poolname=ImagePool --fstype=ext4 --fsoptions=discard > ># We assume that no overprovisioning is happening >#logvol swap --vgname=HostVG --fstype=swap --size=1024 > >%post >echo "Enabling auto-login of root on all getty instances" >sed -i "/ExecStart/ s/$/ --autologin root/" /lib/systemd/system/*getty*.service >%end > > >## >## Including ../partial/repositories.ks >## > ># ># Repositories ># >url --proxy=10.0.2.2:3128 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch >#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch >repo --proxy=10.0.2.2:3128 --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch >#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch > >## >## Including ../partial/packages.ks >## > ># ># Packages ># >%packages --excludedocs >@core > ># In F21 --nocore is available, then we use this list ># to provide the minimal set of packages >#kernel >#systemd >#bash >#NetworkManager >#yum > ># Only available in Fedora 20+ >#anaconda-core >#anaconda-tui >#cockpit >lvm2 > >vim-minimal >grub2-efi >shim >augeas > >screen >#docker-io >#openvswitch > ># Some things from @core we can do without inside the container >-biosdevname > >%end > > >## >## Including ../partial/post.ks >## > ># ># Add custom post scripts after the base post. ># >%post --erroronfail > >echo "Unlocking root account" >passwd --unlock --delete root > ># setup systemd to boot to the right runlevel >echo "Setting default runlevel to multiuser text mode" >rm -f /etc/systemd/system/default.target >ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target >echo . > >#echo "Enable readonly-root" >#sed -i \ ># -e "s/^\(READONLY\)=.*/\1=yes/" \ ># -e "s/^\(TEMPORARY_STATE\)=.*/\1=yes/" \ ># /etc/sysconfig/readonly-root > >#echo "Make rootfs ro" ># https://bugzilla.redhat.com/show_bug.cgi?id=1082085 >#sed -i "s/subvol=Origin/subvol=Origin,ro/" /etc/fstab > >#echo "Enable docker" >#systemctl enable docker.service || : > >#echo "Enable openvswitch" >#systemctl enable openvswitch.service || : > >#echo "Enable cockpit" >#systemctl enable cockpit.service || : > >echo "Install image-minimizer" >curl -O https://git.fedorahosted.org/cgit/lorax.git/plain/src/bin/image-minimizer >install -m775 image-minimizer /usr/bin > >echo "Enable FDO Bootloader Spec" >echo "echo '# Import BLS entries'" > /etc/grub.d/42_bls >echo "echo bls_import" >> /etc/grub.d/42_bls >chmod a+x /etc/grub.d/42_bls > >echo "Enable Syslinux configuration" >echo "echo '# Import syslinux entries'" > /etc/grub.d/42_syslinux >echo "echo syslinux_configfile syslinux.cfg" >> /etc/grub.d/42_syslinux >chmod a+x /etc/grub.d/42_syslinux > > ># Update grub2 cfg >grub2-mkconfig -o /boot/grub2/grub.cfg >#grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg > >echo "Getty fixes" ># although we want console output going to the serial console, we don't ># actually have the opportunity to login there. FIX. ># we don't really need to auto-spawn _any_ gettys. >sed -i '/^#NAutoVTs=.*/ a\ >NAutoVTs=0' /etc/systemd/logind.conf > >echo "Fix missing console device" >/bin/mknod /dev/console c 5 1 > >echo "Cleaning old yum repodata." >yum clean all > >echo "Fixing SELinux contexts." >touch /var/log/cron >touch /var/log/boot.log >mkdir -p /var/cache/yum > ># have to install policycoreutils to run this... commenting for now >/usr/sbin/fixfiles -R -a restore > >%end > >## >## Including ../partial/testing.ks >## > ># ># Configure teh system to test the latest imgbased ># > ># Build most recent imagbased for testing >%post --erroronfail >echo "Build imgbased" >yum install -y python-nose python-sh make git autoconf automake asciidoc yum-plugin-remove-with-leaves >yum remove -y imgbased || : > >cd /root >git clone https://github.com/fabiand/imgbased.git >cd imgbased >./autogen.sh >./configure >make install >%end > >## >## Including ../partial/minimization.ks >## > ># ># Remove some stuff using image-minimizer ># >%post --nochroot --interpreter image-minimizer > ># kernel modules minimization >drop /lib/modules/*/kernel/sound >drop /lib/modules/*/kernel/drivers/media >drop /lib/modules/*/kernel/net/wireless > >drop /usr/share/zoneinfo >keep /usr/share/zoneinfo/UTC > >drop /usr/share/awk >drop /usr/share/vim >drop /usr/src > ># glibc-common locales >drop /usr/lib/locale >keep /usr/lib/locale/locale-archive >keep /usr/lib/locale/usr/share/locale/en_US > ># docs >drop /usr/share/doc >drop /usr/share/locale/ >keep /usr/share/locale/en_US >keep /usr/share/locale/zh_CN >drop /usr/share/man > ># yum >drop /var/log/yum.log >drop /var/lib/yum/* >drop /var/cache/yum/* >drop /root/install.* >drop /root/anaconda.* >drop /var/log/anaconda* >%end > ># ># Just run depmod because we messed with kernel modules ># >%post >depmod -a >%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 1155979
: 949793