On Tuesday 02 October 2007 15:17:55 CyberOrg wrote:
> On 10/2/07, Matthew Stringer <[EMAIL PROTECTED]> wrote:
> > I want to be able to boot a diskless server via PXE into linux with DHCP
> > that will then run a simple bash script that uses SSH (tagged onto the
> > startup scripts), once run I want the machine to shut down, don't want it
> > to attempt to install anything onto the machine or do anything fancy. As
> > this will be repeated with various servers I want the boot kernel to be
> > as generic as possible so to maintain compatibility.
>
> See http://en.opensuse.org/LTSP
>
> Install kiwi-ltsp packages, remove ldm, and ltsp-client from the
> config.xml, put your scripts in
> /usr/share/kiwi/image/ltsp/suse-10.3/root/etc/init.d, insserv your
> script through config.sh.
>
> After configuring /etc/sysconfig/kiwi-ltsp according to your server
> config, run kiwi-ltsp-setup -s.
>
> Boot up your client.
>
> Cheers
>
> -J

Promising cheers, however:

kasumi:~ # kiwi-ltsp-setup -s
KIWI-LTSP: 2007-10-02 16:49:36: ====== Starting ======
KIWI-LTSP: 2007-10-02 16:49:36: Setting up the destination path
KIWI-LTSP: 2007-10-02 16:49:36: /srv/kiwi-ltsp exists. Moving 
to "/srv/kiwi-ltsp.0710021649"
KIWI-LTSP: 2007-10-02 16:49:36: Setting up the hosts file and lts.conf
KIWI-LTSP: 2007-10-02 16:49:36: Running the KIWI LTSP creation.
KIWI-LTSP: 2007-10-02 16:49:36: /srv/kiwi-ltsp-nfs exists. Moving 
to "/srv/kiwi-ltsp-nfs.0710021649"
Warning: XML::LibXML compiled against libxml2 20630, but runtime libxml2 is 
older 20629
Oct-02 16:49 <1> : Setting log file to: terminal
Oct-02 16:49 <1> : Reading image description...   done
Oct-02 16:49 <2> : local URL path not found: /media/sr1   skipped
Oct-02 16:49 <1> : Setting up package manager: smart   done
Oct-02 16:49 <1> : Setting RPM signature check to: False   done
Oct-02 16:49 <1> : Adding local smart channel: kiwi1-12479   done
Oct-02 16:49 <1> : Initializing image system on: /srv/kiwi-ltsp-nfs...Loading 
cache...
Updating cache...                                      
############################################################################ 
[100%]



Updating cache...                                      
############################################################################ 
[100%]

Channels have no new packages.
Saving cache...

Loading cache...
Updating cache...                                      
############################################################################ 
[100%]

error: 'devs' matches no packages

   done
Oct-02 16:49 <1> : Removing smart channel(s): kiwi1-12479   done
Oct-02 16:49 <1> : Reset RPM signature check to: False   done
Oct-02 16:49 <1> : Mounting required file systems   done
Oct-02 16:49 <1> : Mounting local channel: kiwi1-12479   skipped
Oct-02 16:49 <2> : Couldn't mount read-only, using bind mount   done
Oct-02 16:49 <1> : Setting RPM signature check to: Falsechroot: cannot run 
command `bash': No such file or directory
   failed
Oct-02 16:49 <3> :
Oct-02 16:49 <3> : Image installation failed   failed
Oct-02 16:49 <1> : Umounting 
path: 
/srv/kiwi-ltsp-nfs//base-system/usr/share/kiwi/image/ltsp/suse-10.3/extra-packages
Oct-02 16:49 <1> : Umounting path: /srv/kiwi-ltsp-nfs/dev/pts
Oct-02 16:49 <1> : Umounting path: /srv/kiwi-ltsp-nfs/sys
Oct-02 16:49 <1> : Umounting path: /srv/kiwi-ltsp-nfs/proc
Oct-02 16:49 <3> : KIWI exited with error(s)   done
KIWI-LTSP: 2007-10-02 16:49:47: Setting up the SSH keys
Setting up ssh_known_hosts in:
  /srv/kiwi-ltsp-nfs.0710021649
WARNING: /srv/kiwi-ltsp-nfs.0710021649/etc/ssh not found. skipping...
  /srv/www
WARNING: /srv/www/etc/ssh not found. skipping...
  /srv/tftpboot
WARNING: /srv/tftpboot/etc/ssh not found. skipping...
  /srv/git
WARNING: /srv/git/etc/ssh not found. skipping...
  /srv/kiwi-ltsp-nfs
WARNING: /srv/kiwi-ltsp-nfs/etc/ssh not found. skipping...
  /srv/kiwi-ltsp.0710021649
WARNING: /srv/kiwi-ltsp.0710021649/etc/ssh not found. skipping...
  /srv/ftp
WARNING: /srv/ftp/etc/ssh not found. skipping...
Warning: XML::LibXML compiled against libxml2 20630, but runtime libxml2 is 
older 20629
Oct-02 16:49 <1> : Setting log file to: terminal
Oct-02 16:49 <1> : Reading image description...   failed
Oct-02 16:49 <3> : Cannot open control 
file: /srv/kiwi-ltsp-nfs/image/config.xml   failed
Oct-02 16:49 <3> : KIWI exited with error(s)   done
KIWI-LTSP: 2007-10-02 16:49:48: Could not create KIWI LTSP Image. Aborting!
kasumi:~ #


I'll try it again on a 10.2 machine.

Matthew


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to