Changeset 2243 for branches/fc17-dev


Ignore:
Timestamp:
Jun 27, 2012, 10:24:02 PM (10 years ago)
Author:
ezyang
Message:
Check selinux, and move resolv.conf earlier.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc17-dev/server/doc/install-howto.sh

    r2241 r2243  
    7777#   XXX We should make Kickstart work for test servers too
    7878
     79# Make sure selinux is disabled
     80    selinuxenabled || echo "selinux not enabled"
     81
    7982# Take updates, reboot if there's a kernel update.
    8083    yum update -y
     
    99102
    100103# [TEST] You'll need to fix some config now.  See bottom of document.
     104
     105# Stop /etc/resolv.conf from getting repeatedly overwritten by
     106# purging DNS servers from ifcfg-eth0 and ifcfg-eth1
     107    vim /etc/sysconfig/network-scripts/ifcfg-eth0
     108    vim /etc/sysconfig/network-scripts/ifcfg-eth1
    101109
    102110# Make sure network is working.  Kickstart should have
     
    377385# Check for unwanted setuid/setgid binaries
    378386    find / -xdev -not -perm -o=x -prune -o -type f -perm /ug=s -print | grep -Fxvf /etc/scripts/allowed-setugid.list
    379 
    380 # Stop /etc/resolv.conf from getting repeatedly overwritten by
    381 # purging DNS servers from ifcfg-eth0 and ifcfg-eth1
    382     vim /etc/sysconfig/network-scripts/ifcfg-eth0
    383     vim /etc/sysconfig/network-scripts/ifcfg-eth1
    384387
    385388# Fix etc by making sure none of our config files got overwritten
Note: See TracChangeset for help on using the changeset viewer.