Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 197

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 196
Chapter 10. Installing Linux with kickstart 177
part pv.uB82Dq-ajP3-QEln-dcsJ-XHds-tCxx-BRjx0c --grow --size=200
part swap --grow --size=200
part swap --grow --size=200
volgroup system_vg --pesize=4096 pv.Al9FUC-feWq-uHGF-Jaui-RxZQ-Kq9t-pi5zlC
pv.uB82Dq-ajP3-QEln-dcsJ-XHds-tCxx-BRjx0c
logvol /opt --fstype=ext4 --name=opt_lv --vgname=system_vg --size=384
logvol /tmp --fstype=ext4 --name=tmp_lv --vgname=system_vg --size=384
logvol /usr --fstype=ext4 --name=usr_lv --vgname=system_vg --size=1536
logvol /var --fstype=ext4 --name=var_lv --vgname=system_vg --size=384
repo --name="Red Hat Enterprise Linux" --baseurl=file:///mnt/source/
--cost=100
%packages
@base
...
%end
Here are clarifications to some of the values:
The line reboot is added to set the server to automatically shut down after kickstart.
The line starting with nfs --server=
sets the IP address of the installation server and
path to the installation tree.
The line starting with firewall disables the firewall. Do
not make this change if the
server is on an external network.
The line starting with bootloader removes references to additional drives only
available to the cloner.
The line starting with clearpart --all removes all existing partitions.
The line starting with part / defines the root partition to be 512 MB of type ext4.
The line starting with part swap defines a swap partition of size 512 MB.
The two lines starting with part pv specify making physical volumes.
The next two lines starting with part swap define partitions. Because they have the
--grow parameter, all of the VDISK will be used for swap, regardless of the size
specified. Anaconda creates the swap devices based on the order in the kickstart file,
so the first 512 MB swap space will be created on the first minidisk while the last two
will be created on VDISKs 300 and 301.
The line starting with volgroup creates a volume group.
The next four lines starting with logvol defines logical volumes based on the
information given in Table 2-1 on page 11.
The line @base specifies a default set of packages for the installation. These can be
customized later by adding or removing specific packages from the %packages section.
6. Add the path to the kickstart folder to /etc/exports:
# vi /etc/exports
/nfs/rhel6/ *(ro,sync)
/nfs/virt-cookbook-RH6 *(ro,sync)
/nfs/ks *(ro,sync)
7. Restart the NFS service on the cloner. The showmount -e command should show the
exported file systems:
# service nfs reload
# showmount -e
Export list for gpok223.endicott.ibm.com:
Vedere la pagina 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 295 296

Commenti su questo manuale

Nessun commento