On 09/14/2016 03:04 PM, Akash Kaveti wrote:
> Hello Again,
> 
> It is working now, I have check the syslog, the device I am trying to
> install is not there it seems,
> so I gave /dev/sdb, it is working now.

Glad I could help. :-)


> It is working for the current host, but what about the other hosts, Why
> cant I use "/d-i partman/early_command string debconf-set
> partman-auto/disk "$(list-devices disk | head -n1)/"

It's always hard to guess what device is getting used.
If you have a usb-stick plugged-in with the e.g. a formean-boot-iso,
that might be /dev/sda and your "real" hard-disk might be /dev/sdb/.

In that case "head -n2" will do the trick.
When using raid-devices this might be different too.

Also check out this thread:

https://groups.google.com/forum/#!topic/foreman-users/uKuY4YJuy7E

Hauke

-- 
bytemine GmbH, Im Technologiepark 4, 26129 Oldenburg
Support: 0441-309197-42 --- Vertrieb: 0441-309197-69
GF: Felix Kronlage -- AG in Oldenburg -- HRB 203 940
https://www.bytemine.net --- VAT-Number: DE267286778

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to