Evgeniy Podkopaev wrote:
> Hi!
> It seems that many things don't work in this version.
> At first, when you add new image from client, it gets all files, then 
> asks you,
> Would you like to update the autoinstall script for this image? ([y]/n): y
> [ skip ]
> Which method do you prefer? [1]: 2
> You have chosen method 2 for assigning IP addresses.
> 
> Are you satisfied? ([y]/n):
> Would you like to run the "si_addclients" utility now? (y/[n]): y
> Unknown option: script
> 
> sic!

Fixed in trunk. It'll be included in the next stable release 3.8.2. In the while
you can apply the following patch, or simply run si_addclients manually.

Index: sbin/si_getimage
===================================================================
--- sbin/si_getimage    (revision 4075)
+++ sbin/si_getimage    (revision 4076)
@@ -616,14 +616,7 @@
     print "Would you like to run the \"si_addclients\" utility now? (y/[n]): ";
     $continue = SystemImager::Common->get_response('n');
     ($continue ne "n") or exit 0;
-    my ($base_host_name, $domain_name) = split(/\./, $golden_client, 2);
-    $base_host_name =~ s/\d+$//g;
-    my $cmd;
-    if ($domain_name) {
-        $cmd = "si_addclients -script $image -host $base_host_name -domainname 
$domain_name";
-    } else {
-        $cmd = "si_addclients -script $image -host $base_host_name";
-    }
+    my $cmd = "si_addclients --script $image";
     exec($cmd);
 }
 
> 
> ok, I can run si_addclients by hands.
> Next, if my client workstation has a partition table like this:
> 
> # sfdisk -d /dev/sdb
> # partition table of /dev/sdb
> unit: sectors
> 
> /dev/sdb1 : start=        1, size=  8193149, Id=83
> /dev/sdb2 : start=  8193150, size=  2040255, Id=82
> /dev/sdb3 : start=        0, size=        0, Id= 0
> /dev/sdb4 : start= 10233405, size=133130655, Id=83
> 
> with empty 3rd slice, systemimager script cannot recreate partition table.
> In the master script I've found:
> 

hummm... the partitioning schema seems quite strange, I mean, it's possible to
use it, but it's a bit rare to see... why don't you use the primary partition
#3, or create an extended+logical partition using /dev/sda5 for example? It
shouldn't be a big problem, just edit your autoinstallscript.conf and re-run
si_mkautoinstallscript.

Regards,
-Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to