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 703162 Details for
Bug 915811
/etc/selinux/targeted/logins/ is not there if selinux is disabled
[?]
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.
Peer1 standard anakonda-ks.cfg
anaconda-ks.cfg (text/plain), 7.61 KB, created by
Maxim Egorushkin
on 2013-02-26 22:18:10 UTC
(
hide
)
Description:
Peer1 standard anakonda-ks.cfg
Filename:
MIME Type:
Creator:
Maxim Egorushkin
Created:
2013-02-26 22:18:10 UTC
Size:
7.61 KB
patch
obsolete
># Kickstart file automatically generated by anaconda. > >#version=DEVEL >install >url --url=http://kickstart/installs/redhat/6Server/en/os/x86_64/iso >lang en_US.UTF-8 >keyboard us >network --onboot yes --device eth0 --bootproto dhcp >network --onboot no --device eth1 --noipv4 --noipv6 ># Reboot after installation >reboot >firewall --service=ssh >authconfig --enableshadow --enablemd5 >selinux --disabled >timezone --utc America/New_York >bootloader --location=mbr --driveorder=sda --append="crashkernel=auto biosdevname=0 rhgb quiet" ># The following is the partition information you requested ># Note that any partitions you deleted are not expressed ># here so unless you clear all partitions first, this is ># not guaranteed to work >#clearpart --all --drives=sda --initlabel >#volgroup VolGroup --pesize=32768 pv.008002 >#logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --grow --size=4096 >#logvol swap --name=lv_swap --vgname=VolGroup --size=2048 > >#part /boot --fstype=ext4 --asprimary --size=250 >#part pv.008002 --grow --size=1024 >repo --name="Red Hat Enterprise Linux" --baseurl=http://kickstart/installs/redhat/6Server/en/os/x86_64/iso --cost=100 >repo --name="extras" --baseurl=http://kickstart/installs/redhat/6Server/en/os/x86_64/p1 --cost=1000 > >%packages >@Base >@Core >@base >@console-internet >@core >@ftp-server >@mail-server >@mysql >@web-server >arptables_jf >autoconf >automake >bind >boost >busybox >caching-nameserver >chkraid >compat-gcc-34 >compat-gcc-34-c++ >compat-libstdc++-296 >compat-libstdc++-33 >dhclient >dialog >elinks >emacs-nox >expat >expect >fetchmail >gcc >gcc-c++ >gnutls >initboot >iptables-p1 >kernel >libtool >libtool-ltdl >lockdev >ltrace >lynx >mutt >ntp >ntp-fwrule >openssl098e >p1mhqa >perl-Crypt-SSLeay >perl-Date-Calc >perl-DateManip >perl-LDAP >perl-XML-Dumper >perl-XML-LibXML >perl-libxml-perl >php >php-gd >php-mysql >php-odbc >php-pear >php-soap >php-xml >redhat-rpm-config >rpm-build >ruby >screen >strace >sysstat >system-config-securitylevel-tui >telnet >texinfo >tftp >vim-enhanced >x86info >xinetd >yum-p1mh-autoupdates >yum-p1mh-repo >yum-utils >-NetworkManager >-OpenIPMI >-OpenIPMI-libs >-amtu >-audit >-autofs >-bluez-utils >-ccid >-conman >-coolkey >-cpuspeed >-desktop-file-utils >-finger >-htmlview >-irda-utils >-nfs-utils >-numactl >-pam_smb >-pcmciautils >-pcsc-lite >-pinfo >-policycoreutils >-ppp >-redhat-lsb >-redhat-menus >-rhel-instnum >-rhn-check >-rhn-setup >-rp-pppoe >-rsh >-selinux-policy-targeted >-setools >-system-config-network-tui >-yp-tools >-ypbind >-yum-updatesd > >%end > >%pre >#!/bin/sh ># Switch virtual terminals in case there are errors >exec < /dev/tty6 > /dev/tty6 2>/dev/tty6 >chvt 6 || echo "chvt didnt work" > /dev/tty6 > ># Default minimum swap space >recommended=2048; > ># Get the amount of physical ram for swap recommendation >physram=$( \ > dmidecode --type 17 | \ > awk '/Size: [0-9].* MB/ { n += $2 / 1024 } END { printf "%d\n", n }' \ >); > ># Automatically adjust the minimum swap per Chapter 3 Section 14.5.1 of ># the Red Hat Enterprise Linux 6 Installation Guide. >for ((i=1; $i<6; i++)); do > maxsize=$((4 ** $i)); > if [[ $physram -le $maxsize ]]; then > recommended=$((2 ** $i * 1024)); > break; > fi; >done > ># Determine the MAC address for the primary interface so we may ask ># for the partition recipe for this machine. >primary=$(ip route list | grep "^default" | awk '{print $5}'); >macaddr=$(ip link show label ${primary}|grep link|awk '{print $2}'); > ># Request a partition recipe from the Kickstart server. If a recipe is ># returned, this will be used instead of the default recipe. >wget -O /tmp/part-include \ > "http://kickstart/cgi-bin/partition_master.cgi?macaddr=${macaddr}&type=anaconda"; > ># If there were no errors and a partition scheme was saved, exit ># the pre script, otherwise write the default partition recipe. >if [[ $? -eq 0 && -s /tmp/part-include ]]; then > echo "Using a custom partition recipe from the Kickstart server"; > chvt 1; > exit 0; >fi; > ># No partition recipe was retrieved, write the default recipe. >echo "Writing the default partition recipe"; > ># Write the partition table to a temporary file. This will be included with ># the Anaconda kickstart configuration using an "%include" directive. >cat << PART > /tmp/part-include >clearpart --all --drives=sda --initlabel >partition /boot --ondisk=sda --fstype=ext4 --size=250 --asprimary >partition pv.01 --ondisk=sda --size=1024 --grow >volgroup VolGroup --pesize=32768 pv.01 >logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --size=4096 --grow >logvol swap --fstype=swap --name=lv_swap --vgname=VolGroup --size=$recommended >PART > >chvt 1 >%end > >%post >#!/bin/sh > >export PATH=/sbin:/bin:/usr/sbin:/usr/bin >export KSIPADDR="kickstart" >export KSDOMAIN="kslan.por.peer1.com" > >exec < /dev/tty6 > /dev/tty6 2>/dev/tty6 >chvt 6 || echo "chvt didnt work" > /dev/tty6 > ># Run through and do a few chkconfigs to ensure everything starts up (or not) >#/sbin/chkconfig anacron off >/sbin/chkconfig atd off >/sbin/chkconfig dovecot on >#/sbin/chkconfig gpm off >/sbin/chkconfig httpd on >/sbin/chkconfig initboot on >/sbin/chkconfig ip6tables off >/sbin/chkconfig iptables on >#/sbin/chkconfig kudzu off >/sbin/chkconfig mysqld on >/sbin/chkconfig named on >/sbin/chkconfig netfs off >/sbin/chkconfig ntpd on >/sbin/chkconfig saslauthd on >/sbin/chkconfig smartd off >/sbin/chkconfig sshd on >/sbin/chkconfig vsftpd on > >cat >/etc/sysconfig/initboot <<_FILE_ ># Should initboot execute on system startup? >RUN_INITBOOT=YES > ># For P1MH or STOCK configuration? ># false = STOCK, true = P1MH >IS_P1MH=false > ># Default domain name >DEFAULT_DOMAIN="pubip.peer1.net" > ># Default admin user >DEFAULT_ADMIN_USER="admin" > ># Default network interface speed/duplex (100Mbit full) >DEFAULT_NIC_SETTING=4 > ># Default MTA (sendmail) >DEFAULT_MTA=1 > ># MySQL information file >FILE_MYSQL_INFO="mysql-setupinfo.txt" > ># Have OpenSSH use protocol 2 only? >HAVE_OPENSSH_PROTOCOL_2_ONLY=true > ># Have OpenSSH not permit root login? >HAVE_OPENSSH_NO_PERMIT_ROOT=false > ># Have vsftpd not allow anonymous ftp? >HAVE_VSFTPD_NO_ANONYMOUS_FTP=true > ># Have chroot local users for vsftpd? >HAVE_VSFTPD_CHROOT_USERS=false > ># Have banner change for vsftpd? >HAVE_VSFTPD_BANNER=true > ># Have P1MH NTP servers added for ntp? >HAVE_NTP_P1MH_TIME_SERVERS=true > ># Have SquirrelMail attributions hidden? >HAVE_SQUIRRELMAIL_HIDE_ATTRIBS=true > ># Have colorized prompt in Bash run-command file? >HAVE_BASH_COLORIZED_PROMPT=false > ># Have Bash time-stamped history? >HAVE_BASH_TIMED_HISTORY=true > ># Have Bash history contain whoami stamp on logout? >HAVE_BASH_LOGOUT_WHOAMI=true > ># Have terminal power-save disabled? >HAVE_RC_NO_TERM_POWER_SAVE=true > ># Have terminal blanking disabled? >HAVE_RC_NO_TERM_BLANKING=true > ># Kickstart IP >KICKSTART_IP="kickstart" > ># *** Specify script options *** ># Debug level (0..2, 0 = off) >OPT_d=0 >_FILE_ > ># Go to /tmp >cd /tmp > ># Get the Plesk installer script >wget 2>/dev/null -O plesk-install.pl http://current.dedicatedhosting.com/build/extras/plesk/plesk-install.pl > >if [ -f plesk-install.pl ]; then > chmod 700 plesk-install.pl > > # Update file modification time so tmpwatch doesn't eat it > touch plesk-install.pl >fi > ># vim:ts=3 > >for i in `ifconfig -a | awk '/^eth[0-9]/ { print $1 }'`; do > ifconfig $i | grep 'inet addr' >/dev/null 2>&1 > if [ $? -eq 0 ]; then > echo $i > int=$i > break > fi >done > ># Print out the macaddr of the interface found above. tr to lowercase it. >MACADDR=$(ifconfig $int | awk '/^eth[0-9]/ { print $5 }' | tr [A-Z] [a-z]) >if [ -z "$MACADDR" ] || [ -z "$int" ]; then > echo "ERROR: Cannot find either the int or mac." > echo "int: $int" > echo "mac: $mac" > read FOO >fi > >echo ${MACADDR} >curl --output /tmp/postconf -d "macaddr=${MACADDR}" http://${KSIPADDR}/cgi-bin/postconf.cgi > >. /tmp/postconf > >STATUS="kickstarted" >curl -d "macaddr=${MACADDR}&ipaddr=${IPADDR}&status=${STATUS}" http://${KSIPADDR}/cgi-bin/register.cgi >%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 915811
: 703162