Try using this script as a guide to suite your needs... Look at attachment... Feel free to ask if something goes wrong...
Attachment:
rfs_create.sh
Description: application/shellscript
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list