Red Hat SATELLITE 5.1.0 RELEASE NOTES Instrukcja Instalacji Strona 167

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 268
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 166
Chapter 10. Installing Linux with kickstart 149
@base-x
device-mapper-multipath
-sysreport
%post 13
echo /dev/dasdq1 swap swap defaults 0 0 >> /etc/fstab 14
echo /dev/dasdr1 swap swap defaults 0 0 >> /etc/fstab
The numbers in bold font on the command lines refer to the descriptions that follow.
1 The IP address of the installation server and the path to install the tree.
2 The IP address of the new Linux server.
3 The host name of the new Linux server.
4 Disable the firewall. This is only advisable if the server is not on an external network.
5 Remove references to additional drives only available to the controller.
6 Add this line so that the server automatically shuts down after kickstart.
7 Skip entering an installation number. If you have one, enter it here instead of using
--skip.
8 Add this line to perform a non-interactive direct access storage device (DASD) format.
9 Removes all existing partitions. Uncomment this line and add --initlabel.
10 Defines the root partition. The --size 1 and --grow options specify all of the 100 disk.
11 Previously defined Logical Volume Manager (LVM) used for install tree. Delete these
lines.
12 Specifies the packages to install. The @core entry is required for a minimal install.
13 Add a section for the post-installation script.
14 Add entries for virtual disk (VDISK) swap spaces in /etc/fstab.
3. Finally, add the path to the kickstart folder to /etc/exports
# vi /etc/exports
/nfs/rhel5.2/ *(ro,sync)
/nfs/virt-cookbook-RH5.2 *(ro,sync)
/nfs/ks *(ro,sync)
4. Restart the NFS service on the controller. The showmount -e command should show the
exported file systems:
# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Note: The zerombr and clearpart options are chosen because the DASD is not yet
formatted for Linux use. For future kickstarts to the same DASD volumes, they will
already be formatted. Thus, you can save a substantial amount of time by only
recreating the file systems and not reformatting the DASD. In this case you would use
the following kickstart options:
zerombr no
clearpart --all
Przeglądanie stron 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 267 268

Komentarze do niniejszej Instrukcji

Brak uwag