Project

General

Profile

Actions

Refactor #12025

closed

Use genisoimage instead xorriso in remaster script

Added by Sachin Ghai over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I was using discovery_remaster script to make a copy of the ISO image with additional kernel command line options. However when I used that script realized, I need to install xorriso. And when I installed that I got another dependency issue.. that It needs /usr/bin/wish. And for /usr/bin/wish I installed 'tk'

discovery_remaster is a very handy script to amke copy of ISO image. But only issue is with extra package dependency. So if genisoimage can solve our purpose then let's use that instead.

  1. sh discovery-remaster fdi-bootable-3.0.1.iso "fdi.pxip=192.168.100.65/24 fdi.pxgw=192.168.100.1 fdi.pxdns=192.168.100.1 proxy.url=https://192.168.100.1:443 proxy.type=foreman fdi.pxfactname1=myfact fdi.pxfactvalue1=somevalue fdi.pxmac=52:54:00:be:8e:8c fdi.pxauto=1"
    which: no xorriso in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
    Command(s) missing, install required tools
    1+0 records in
    1+0 records out
    512 bytes (512 B) copied, 9.6515e-05 s, 5.3 MB/s
    mount: /dev/loop0 is write-protected, mounting read-only
    discovery-remaster: line 66: xorriso: command not found

Related issues 1 (0 open1 closed)

Related to Discovery - Tracker #10294: PXEless discovery featureClosedLukas Zapletal04/28/2015

Actions
Actions #1

Updated by Sachin Ghai over 8 years ago

Actions #2

Updated by Lukas Zapletal over 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman-discovery-image/pull/28 added
  • Pull request deleted ()
Actions #3

Updated by Lukas Zapletal over 8 years ago

  • Tracker changed from Bug to Refactor
Actions #4

Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF