Andrea Righi wrote:
Andrea Righi wrote:
Walter Tautz wrote:
# si_updateclient --server ubuntu-i386.cscf --autoinstall
======================= WARNING =================================
 This command will configure this host to be auto re-installed by
 SystemImager at the next reboot!!!
======================= WARNING =================================

Are you sure to continue? (y / N)? y

Here is a list of available flavors:

  gl.2008.spring
  standard

Which flavor would you like to use? [standard]: gl.2008.spring
Retrieving SystemImager kernel...
Retrieving SystemImager initial ramdisk...
Using System Configurator to set boot configuration...ROOTDEV /dev/ram under [BOOT] does not exist, please check your systemconfigurator config systemconfigurator command to configure autoinstall boot failed! at /usr/sbin/si_updateclient line 436

walter
It seems you need your /etc/systemconfig/systemconfig.conf in your image
(/var/lib/systemimager/images/<your_image>/). Did you create this image
using a version of systemager < 4.x?

No. It was using the version 4.0.2

This seems a bug, when si_updateclient is used with --autoinstall it
creates the systemconfig.conf in the client on-the-fly as following:

[BOOT]
BOOTDEV = $bootdev
ROOTDEV = /dev/ram
TIMEOUT = 50
DEFAULTBOOT = SystemImager

[KERNEL0]
LABEL = SystemImager
PATH = ${relative_bootdir}kernel.systemimager
INITRD = ${relative_bootdir}initrd.img.systemimager
APPEND = $append

But if /dev/ram doesn't exist in the running system systemconfigurator
will fail.

I'll post a fix ASAP.

OK, it seems this issue must be resolved in systemconfigurator, see:
http://svn.systemimager.org/listing.php?repname=systemconfigurator&path=%2F&rev=714&sc=1

Could you check if it works? A build of the latest systemconfigurator
trunk is available here:
http://download.systemimager.org/~arighi/systemconfigurator/

Just install the new systemconfigurator in your client and try to re-run
si_updateclient --autoinstall ...


Thanks Andrea, I will endeavour to test it.

When I run si_prepareclient --server xxxxx
I get in /etc/systemconfig/systemconfig.conf:

# more /etc/systemconfig/systemconfig.conf
[BOOT]
ROOTDEV = /dev/sda2
BOOTDEV = /dev/sda
DEFAULTBOOT = systemimager

[KERNEL0]
LABEL = systemimager
PATH = /boot/vmlinuz-2.6.24-16-generic
INITRD = /boot/initrd.img-2.6.24-16-generic
APPEND =  ro single

where

ii systemimager-client 4.1.6 Utilities for creating an image and upgradin ii systemimager-common 4.1.6 Utilities and libraries common to both the s ii systemimager-initrd-template-i386 4.1.6 SystemImager initrd template for i386 client [EMAIL PROTECTED]:~# dpkg -l |grep systemonfigurator 2.2.12.svn716arighi Unified Configuration API for Linux Installa


The image server has same version of systemconfigurator.

Running on Ubuntu/i386/hardy

walter

ps. Thanks for looking into this! You're efforts are greatly appreciated.



-Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to