Red Hat SATELLITE 5.3.0 RELEASE NOTES Información técnica Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 199
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
@editors
@graphical-internet
@graphics
@java
@kvm
@legacy-software-support
@text-internet
@base-x
kexec-tools
iscsi-initiator-utils
bridge-utils
fipscheck
device-mapper-multipath
sgpio
emacs
libsane-hpaio
xorg-x11-utils
xorg-x11-server-Xnest
sg3_utils
ntp
pexpect
%pre
#Save some information about the cdrom device
ls -l /tmp/cdrom > /tmp/cdrom.ls
%post --nochroot
(
#If the device is no longer there by the time post starts, create it
if [ ! -b /tmp/cdrom ]
then
#get the major number
major=$(cat /tmp/cdrom.ls | cut -d" " -f5)
#strip of the trailing comma
major=${major%,}
#get the minor number
minor=$(cat /tmp/cdrom.ls | cut -d" " -f6)
#make sure we have what we need; create device node if so
[ -n "$major" -a -n "$minor" ] && mknod /tmp/cdrom b $major $minor
fi
#make sure mount directory exists
if [ ! -d /mnt/sysimage/root/distro ]
then
mkdir -p /mnt/sysimage/root/distro
fi
#should be ready to mount the optical media
mount -t iso9660 -o ro /tmp/cdrom /mnt/sysimage/root/distro
# mount -t iso9660 -o ro /tmp/cdrom /mnt/source
35 www.redhat.com
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 198 199

Comentarios a estos manuales

Sin comentarios