[PC-BSD Testing] path to post-install.sh in automated installation 9Release

Kris Moore kris at pcbsd.org
Mon Jan 16 08:40:22 PST 2012


On 01/16/2012 10:38, GO. wrote:
> this link within pc-autoinstall is working correct with 
> pc_config: /boot/pcinstall.cfg.de
> ...
> # shutdown_cmd: sh /post-install.sh (was not working)
I'll take a look into this :)
> # runScript=/root/post-install.sh (was not working)
I don't think runScript works in pc-autoinstall.conf

> when pcinstall.cfg.de doing the partitioning and copying this line goes into darkness
> runScript=/root/post-install.sh
> ... No such file ...

You need to change this to runExtScript=, since runScript looks for
/root/post-install.sh in the chroot environment of the install.

> Testing post-install script consumes much time because waiting for automated install, need a faster way to check correct path. Time is lost at this moment on console after correct copying and detecting X Server for another GUI setup after full install.
>
> Now another 20min with tipps in new pcinstall....
> Good Work on Release 9 and good Morning!
>
> Marc
>
> Am 16.01.2012 um 15:38 schrieb Kris Moore:
>
>> On 01/15/2012 18:57, GO. wrote:
>>> Tried automated install with post-install.sh file located in cd<root> and also in /boot:
>>> No such file or directory
>>>
>>>
>>> where it should be found when booting from cd?
>>> (The call starts from /boot/pc-autoinstall.conf)
>>> _______________________________________________
>>> Testing mailing list
>>> Testing at lists.pcbsd.org
>>> http://lists.pcbsd.org/mailman/listinfo/testing
>> "post-install.sh" isn't automatically called. What does your
>> /boot/pc-autoinstall.conf look like? Does it provide a path to your
>> pc-sysinstall configuration properly? In that config you create a line
>> like this:
>>
>> runExtCommand=sh <path to>/post-install.sh
>>
>> You can also use ${FSMNT} as the location of the mounted disk.
>>
>> -- 
>> Kris Moore
>> PC-BSD Software
>> iXsystems
>>
>> _______________________________________________
>> Testing mailing list
>> Testing at lists.pcbsd.org
>> http://lists.pcbsd.org/mailman/listinfo/testing
>>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list