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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 195
176 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
10.1 Configuring the cloner for kickstart
The installer generates a kickstart file at the end of every installation. It is based on the
answers provided during the interactive installation. This kickstart file is named
anaconda-ks.cfg and is located in the /root/ directory. This file on RH6CLONE will be used
as a template for LINUX02.
Perform the following steps:
1. Start an SSH session on the cloner (RH6CLONE) as root.
2. Start the golden image (RH6GOLD). You could log on to a 3270 session, but you can also
start it from the cloner with the CP XAUTOLOG command:
# vmcp xautolog rh6gold
Command accepted
3. Create the /nfs/ks/ directory for the kickstart file:
# cd /nfs
# mkdir ks
# cd ks
4. Copy the sample kickstart file from the golden image:
# scp 9.60.18.222:/root/anaconda-ks.cfg linux02-ks.cfg
anaconda-ks.cfg 100% 1813 1.8KB/s 00:00
# chmod +r linux02-ks.cfg
5. Edit the kickstart configuration file as follows. After the first four changes, which are in
bold, remove the comments from the part, volgroup, and logvol lines. Edit the lines in bold
to customize this kickstart for LINUX02:
# vi linux02-ks.cfg
# Kickstart file automatically generated by anaconda.
#version=RHEL6
install
reboot
nfs --server=9.60.18.223 --dir=/nfs/rhel6
lang en_US.UTF-8
rootpw --iscrypted
$6$jiFGqyU1FwxWWQ6t$7qnsOSsUsNOyGnjtIpR63z204RDjL1q6M//lxfA.E5SbQ.M2gNKCJpahQ.m
07JCm.56yH3vKbxc5bVtvRERwd0
firewall --disabled
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=dasdb,dasdc,dasdd,dasde
--append="crashkernel=auto"
# 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 --initlabel --drives=dasdb,dasdc,dasdd,dasde
part / --fstype=ext4 --size=512
part swap --size=512
part pv.Al9FUC-feWq-uHGF-Jaui-RxZQ-Kq9t-pi5zlC --grow --size=200
Vedere la pagina 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 295 296

Commenti su questo manuale

Nessun commento