Re: Kickstart Post Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mr. Paul M. Whitney wrote:
> I am at my wits end here.  I am trying to create a custom RHEL 5.6 build.
> At the end of the install in my ks.cfg file I have a section for the post
> installation.  I am trying to copy a file from the DVD to Root's home
> directory.  Here is the snippit I have:
>
> %post --nochroot
>
> ISO9660_DEV=`dmesg | grep -i iso9660 | head -1 | cut -d\  -f4`
> DEV_NAME=${ISO9660_DEV%,}

A little complicated there... First, having just put a DVD into my drive,
I observed that there is *no* iso9660 line in dmesg until it's mounted.
And then, it's from selinux that I get SELinux: initialized (dev hda, type
iso9660), uses genfs_contexts

Not sure what the cut -d\  -f4 is: is that a space, a tab, or what, after
the \?

You might want to put df in the ks file, and see what  it sees.
<snip>
         mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux