On Thu, Jun 9, 2011 at 10:44 AM, Frank Schöttler <f.schoett...@olpe.de> wrote:
> Hi,
>
> yesterday I tried to install a TS with OpenSuSE 11.4 (32-bit all
> onlineupdates ) and Kiwi-KTSP
> (Prebuild
> http://download.opensuse.org/repositories/server:/ltsp/openSUSE_11.4/).
>
> "kiwi-ltsp-setup -c"  => One or more KIWI LTSP networking variables are
> empty. Aboarting

See the log you have attached, /etc/sysconfig/kiwi-ltsp is missing
DHCP_IFACES and SERVER_IP variables.

> Easy-LTSP => no "KIWI" tab to select prebuild image (advanced configuration
> even dont appears ....)
>
KIWI part in Easy-LTSP has been dropped as it has not been adapted to
new development and variables available in /etc/sysconfig/kiwi-ltsp,
so you will have to edit it using vi or your favorite text editor.

Cheers

-J

>
> -------------------------my kiwi-ltsp from /etc/sysconfig --- only
> SERVER_IPS="10.0.4.1" changed ----------------------
> ## Path: System/Kiwi-ltsp
> ## Description: kiwi-ltsp configuration - Part of KIWI-LTSP as created by
> CyberOrg
> # Copyright (c) 2007 Cyberorg
> # This program is free software; you can redistribute it and/or modify it
> under
> # the terms of the GNU General Public License as published by the Free
> Software
> # Foundation; either version 2 of the License, or (at your option) any later
> # version.
> #
> # This program is distributed in the hope that it will be useful, but
> WITHOUT
> # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> FITNESS
> # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
> # details.
> #
> # You should have received a copy of the GNU General Public License along
> with
> # this program; if not, write to the Free Software Foundation, Inc., 59
> Temple
> # Place, Suite 330, Boston, MA 02111-1307 USA
> #
> # Authors: Cyberorg Cyberorg <cyber...@cyberorg.info>
> #          Magnus Boman <captain.mag...@gmail.com>
> #          Shrenik Bhura <shrenik.bh...@intelliant.net>
> #          Alex Savin <alexqw...@opensuse.org>
> #
> # Version Date  Changes
> # 0.1.1  2007-08-25 Initial release
> # 0.1.2  2007-08-27 Added {SUSE,LTSP}_INSTALL_SOURCE
> # 0.1.2  2007-09-05 Image type and nfs chroot paths
> # 0.1.3  2007-09-09 Added DHCP_IFACE
> # 0.1.4  2007-09-11 Move it to /etc/sysconfig
> # 0.1.5  2007-09-24 Added LTSSQUASHPATH="/srv/kiwi-ltsp"
> # 0.1.6  2007-11-04 Auto detect server IP address based on specified DHCP
> interface
> # 0.2.0  2009-04-01 Added parameters for auto-configuration of AOE, Nomad
> and client
> #      connected scanners
> # 0.2.1  2010-08-28 Drop AOE_IMG_* and added instead it LTSP_IMG_* and
> LTSP_MAC_FOR_* options,
> #      added CONFIG_BLACKLIST, LTSP_IMG_NAME, NBD_PORT_FOR_*,
> SHOW_IMGS_IN_MENU
> # 0.2.2  2010-09-15 Added NBD_PORT_START, MAKE_MULTIPLE_BACKUPS
> # 0.2.3  2010-09-18 Added MKCLICFS_COMPRESSION, removed obsoletes
> LTSSQUASHPATH, DESTPATH and LTSP_IMG_NAME
> # 0.2.3  2010-09-20 Dropped NBD_PORT_FOR_*
> # 0.2.4  2010-09-20 Added $DISTRO_NAME, $DISTRO_VERSION,
> ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE and
> #      ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE_TYPE
> # 0.2.5  2010-11-17 Now IMAGETYPE support more then one image types
> #      Added KIWI_KERNEL_ARGS
> # 0.2.6  2010-12-22 Dropped DHCP_SUBNET, DHCP_NETMASK, DHCP_RANGE,
> TFTP_SERVER, GATEWAY, DHCP_IFACE
> #      Added TFTP_SERVERS, GATEWAYS, DHCP_IFACES, SERVER_IPS
>
> ## Type: integer(0:1)
> ## Default: 0
> #Set LTSP_DEBUG "0" logs to file and "1" to log KIWI activity to screen
> instead of log file
> LTSP_DEBUG="0"
>
> ## Type:        integer(0:1)
> ## Default:     0
> #Set CLUSTER "1" to use load balancing cluster, DO NOT CHANGE IF USING
> CLUSTER_NODES
> #see https://wiki.stgraber.org/LTSP-Cluster for more information
> CLUSTER="0"
>
> ## Type: string
> ## Default:
> #Set CLUSTER_NODES to the comma separated IP addresses of all servers,
> #see http://en.opensuse.org/LTSP/Cluster/Setup for more information
> CLUSTER_NODES=""
>
> ## Type: string
> ## Default: NBD
> # Space separated list of the image types, AOE, NFS and NBD supported.
> # The first type is default, to use other types you should manually
> configure image settings.
> # Example:  IMAGETYPE="NBD AOE NFS"
> IMAGETYPE="NBD"
>
> ## Type:        string
> ## Default:
> #Set the imageing product version
> KIWI_PRODUCT_VERSION="0.0.1"
>
> ## Type:        list(i686,x86_64)
> ## Default:     i686
> #Set the imageing product architecture, must be same as the installation
> source used
> ARCH="i686"
>
> ## Type: list(11.2,11.3,11.4)
> ## Default: 11.4
> #Set the openSUSE version to use for creating image
> SUSE_VERSION="11.4"
>
> ## Type:       string
> ## Default:    /mnt/$SUSE_VERSION
> # Set the installation source path or URL
> # This is obsolete variable, use
> ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE
> # as it mention below
> SUSE_INSTALL_SOURCE="/mnt/$SUSE_VERSION"
>
> ## Type:       list(yast2,rpm-dir,rpm-md)
> ## Default:    yast2
> # Set the installation source type
> # This is obsolete variable, use
> ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE_TYPE
> # as it mention below
> SUSE_INSTALL_SOURCE_TYPE="yast2"
>
> ## Type:        string
> ## Default:
> # DHCP Interfaces connected to ltsp networks
> # DHCP_IFACES="<space separated list of interface>"
> # By default it tried to use all local interfaces
> # You can use DHCP_IFACES or SERVER_IPS to sets up ltsp networks,
> # please don't use it both to avoid order mismatch
> DHCP_IFACES=""
>
> ## Type: string
> ## Default:
> # Set the IP addresses of this servers that would be accessed by ltsp
> clients
> # SERVER_IP="<space separated list of ip-addresses>"
> # By default it tried to use all local interfaces
> # You can use DHCP_IFACES or SERVER_IPS to sets up ltsp networks,
> # please don't use it both to avoid order mismatch
> # If this settings conflict with $DHCP_IFACES - DHCP_IFACES is preferred
> SERVER_IPS="10.0.4.1"
>
> ## Type: string
> ## Default:
> # Please do not change this, unless you know what you are doing.
> # Set the IP address of this server that would be accessed by ltsp clients
> # by default used first address from SERVER_IPS
> SERVER_IP=
>
> ## Type: string
> ## Default:  digitalairlines.com
> # Your domainname for DHCP setup
> DOMAIN=
>
> ## Type: string
> ## Default:  8.8.8.8
> # DNS servers to be used for DHCP setup
> # NAME_SERVERS="comma separated list of ip-address"
> # Example: NAME_SERVERS="8.8.8.8, 8.8.4.4"
> #          This is a google's DNS servers - you can use it
> NAME_SERVERS="8.8.8.8, 8.8.4.4"
>
> ## Type: string
> ## Default:
> # Gateway IP(s) to be used for DHCP setup
> # Please do not change this, unless you know what you are doing,
> # leave it empty, this will detected automatic
> GATEWAY=
>
> ## Type: string
> ## Default:
> # TFTP server IP(s) for PXE boot, this is the server where the netboot
> images is stored
> # Please do not change this, unless you know what you are doing,
> # leave it empty, this will detected automatic
> TFTP_SERVER=
>
> ## Type:        integer(0:1)
> ## Default:     1
> # It is useless to do the mapping each time the service is restarted.
> # Whenever the above mapping of LTSP_MAC_FOR_name is updated this must be
> # changed to "1" and to create/update the new config files for the clients:
> # rckla restarted        - if used AOE
> # kiwi-ltsp-setup -nbd   - if used NBD
> LTSP_IMG_MAC_MAP="1"
>
> ## Type:        string
> ## Default:     i386
> # Space separated list of image's profiles.
> # Note: for profile IMG_NAME will be generated files: linux-IMG_NAME,
> initrd-IMG_NAME and IMG_NAME.img
> # (and some config files)
> # First name in list will be used as default
> # This is like KIWI_GROUP (in kiwi), but without comma as separator
> LTSP_PROFILES="i386"
>
> ## Type:        string
> ## Default:
> ## Requires:    LTSP_IMG_MAC_MAP="1"
> # Enlist the MAC address of the kiwi-ltsp clients against the image
> # name for auto-generation of the config.ma:ca:dd:re:ss:es
> # files. This is extremely helpful in case of large installations
> # with disparate client hardware
> # LTSP_MAC_FOR_name="<space separated list of ma:ca:dd:re:ss:es>"
> # where name - image profile name defined in LTPS_PROFILES (note: case
> sensitivity)
> #
> # For example, for a setup with 3 images nvidiaG02.img, nvidiaG01.img,
> # netfat.img define LTPS_PROFILES="nvidiaG02 nvidiaG01 netfat"
> # and set
> # LTSP_MAC_FOR_nvidiaG02="00:0c:76:42:4f:d0"
> # LTSP_MAC_FOR_nvidiaG01=
> # LTSP_MAC_FOR_netfat="00:0c:76:82:43:df
> #             00:0c:76:82:6c:01"
> # This shall map the client(s) with MAC address(es) 00:0c:76:42:4f:d0 to
> nvidiaG02.img and
> # 00:0c:76:82:43:df and 00:0c:76:82:6c:01 to netfat.img
> # This is like ${name}_KIWI_MAC_LIST (in kiwi), but without comma as
> separator
> LTSP_MAC_FOR_i386=
>
> ## Type:        string
> ## Default:     2000
> # If you use NBD image type, you should set port number for every image
> which you want use.
> # NBD_PORT_FOR_name="<space separated list of ports>"
> # where name - image profile name defined in LTPS_PROFILES  (note: case
> sensitivity)
> #Note: check what this port is not used by other system services.
> NBD_PORT_FOR_i386="2000"
>
> ## Type:    string
> ## Default: /srv/kiwi-profiles
> # Please do not change this, unless you know what you are doing
> # This dir contain custom profiles for build images
> # If $KIWI_PROFILES_DIR/$LTSP_IMG_NAME/{image,netboot,kiwi-ltsp} exist use
> it
> # instead default kiwi configs.
> #    image     - directory with kiwi configs for build image,
> #    netboot   - directory with kiwi configs for build initrd image
> #    kiwi-ltsp - file for overwrite some configs of this file, note: be VERY
> carefully!, if you use it
> KIWI_PROFILES_DIR="/srv/kiwi-profiles"
>
> ## Type: string
> ## Default: /usr/share/kiwi/image/ltsp/suse-$SUSE_VERSION
> #Please do not change this, unless you know what you are doing
> KIWIPATH="/usr/share/kiwi/image/ltsp/suse-$SUSE_VERSION"
>
> ## Type:        string
> ## Default:     /srv/kiwi-ltsp
> # Directory containing the kiwi-ltsp images - prebuilt and/or custom
> # Store the kiwi-ltsp images in this directory
> LTSP_IMG_DIR="/srv/kiwi-ltsp"
>
> ## Type: string
> ## Default: /srv/tftpboot
> #Please do not change this, unless you know what you are doing
> TFTPBOOTPATH="/srv/tftpboot"
>
> ## Type: string
> ## Default: /tmp/kiwi-netboot
> #Please do not change this, unless you know what you are doing
> TMPPATH="/tmp/kiwi-netboot"
>
> ## Type: string
> ## Default: $LTSP_IMG_DIR-nfs
> #Please do not change this, unless you know what you are doing
> #In script: this value will be replaced to "$LTSNFSPATH-$LTSP_IMG_NAME"
> LTSNFSPATH="$LTSP_IMG_DIR-nfs"
>
> ## Type: string
> ## Default: /usr/share/kiwi/image/netboot/suse-$SUSE_VERSION
> #Please do not change this, unless you know what you are doing
> KIWINBPATH="/usr/share/kiwi/image/netboot/kiwi-ltsp-suse-$SUSE_VERSION"
>
> ## Type: string
> ## Default:
> # Add space separated list of packages to be installed in the all client's
> images for use as localapps
> # If you want add packages to specific image, use file:
> # $KIWI_PROFILES_DIR/IMG_NAME/LTSP_LOCALAPPS_LIST
> # or
> # LTSP_LOCALAPPS_name (where name - profile name defined in LTPS_PROFILES
> (note: case sensitivity))
> LTSP_LOCALAPPS=""
>
> ## Type: string
> ## Default:
> # SCANNER_CONF_n="<scanner_n_host_mac>;<comma separated hostnames, host or
> network ip
> # addresses for scanner_n>;<sane-backend-conf-file for scanner_n>" where
> # 0<=n<=LTSP_SCANNERS
> # Note that the 'n' integer sequence should be maintained wihtout skipping
> any integer
> # For example:
> # SCANNER_CONF_0="00:0c:76:82:43:df; 10.0.0.0/24, foo.digitalairlines.com;
> hp5400.conf"
> # This shall configure the HP scanner whose backend information is defined
> in hp5400.conf to be
> # available at the LTSP client with MAC address 00:0c:76:82:43:df.
> # This scanner shall be accessible to the network 10.0.0.0/24 and the host
> foo.digitalairlines.com .
> SCANNER_CONF_0=""
>
> ## Type:    string
> ## Default:
> # Please do not change this, unless you know what you are doing.
> # A space separated list of configs files that you want to manually
> configure
> # (autoconfigured configs will be writen in files(directories) with suffix
> ".kiwinew")
> # Example: CONFIG_BLACKLIST="/etc/dhcpd.conf /etc/exports"
> CONFIG_BLACKLIST=""
>
> ## Type:    list(0,1)
> ## Default: 0
> # If value 1 - for every image will be generated entry in boot menu
> SHOW_IMGS_IN_MENU=0
>
> ## Type:    string
> ## Default: "$KIWIPATH../include"
> # Path to some shared files for all image profiles
> # Please do not change this, unless you know what you are doing
> KIWI_INCLUDE="$KIWIPATH/../include"
>
> ## Type:    string
> ## Default: "$KIWIPATH/extra-packages"
> # Please do not change this, unless you know what you are doing
> # The path to the directory with additional rpm-files required to build
> images.
> EXTRA_PKGS_DIR="$KIWIPATH/extra-packages"
>
> ## Type:    list(0,1)
> ## Default: 0
> # Force autodetect server ip
> # This required if your server has different ip-addresses in different
> networks
> # If value 1 - server will be got ip-address from DHCP (DHCPSIADDR or
> DHCPSID),
> #   in this case ip-address will not be written in files
> $TFTPBOOTPATH/pxelinux.cfg/*
> #   and $TFTPBOOTPATH/KIWI/config* (this depend to kiwi version - check is
> it supported manually)
> NETBOOT_SERVER_AUTODETECTION=0
>
> ## Type:        integer
> ## Default:     20000
> # The start of ports area what will be used for exports your NBD images.
> # Please do not change this, unless you know what you are doing.
> NBD_PORT_START=20000
>
> ## Type:    list(always,ifsmall,never)
> ## Default: always
> # Do you want to use multiple backups?:
> #   always   - always make multiple backup (all files/directories wil be
> with suffix ".$DATE")
> #   ifsmall  - make multiple backup only for small config files(not
> directories)
> #               (big files and directories will be with suffix
> ".kiwibackup")
> #   never    - make only one backup copy (all files/directories will be with
> suffix ".kiwibackup")
> MAKE_MULTIPLE_BACKUPS="always"
>
> ## Type:        list(0,1,2,3,4,5,6,7,8,9)
> ## Default:     7
> # Compression level of images
> # 0 - lowest  compression (fast speed of build)
> # 9 - highest compression (slow speed of build)
> MKCLICFS_COMPRESSION=7
>
> ## Type:        string
> ## Default:
> # Name of distribution
> # This variable should be defined in image profile configuration file
> # If it defined in main kiwi-ltsp file - it take no effect
> # DISTRO_NAME format:
> #       -  suse   for openSUSE
> #       -  sles   for SUSE Linux Enterprise
> #       -  rhel   for RedH at
> #       -  fedora for Fedora
> #       -  etc...
> DISTRO_NAME=
>
> ## Type:        string
> ## Default:
> # Version of distribution
> # This variable should be defined in image profile  configuration file
> # If it defined in main kiwi-ltsp file - it take no effect
> # DISTRO_VERSION format:
> #       -  1120 for openSUSE 11.2
> #       -  1130 for openSUSE 11.3
> #       -  etc...
> # also see version format at:
> #
> http://en.opensuse.org/Build_Service/cross_distribution_package_how_to#Detect_a_distribution_flavor_for_special_code
> DISTRO_VERSION=1140
>
> ## Type:        string
> ## Default:
> # For speed up build of image you can redefined main repository to local
> source or fastest mirror
> # Use format: ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE
> suse_1140_INSTALL_SOURCE=
>
> ## Type:       list(yast2,rpm-dir,rpm-md)
> ## Default:
> # Format of redefined repository
> # Related to to ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE
> # Use format: ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE_TYPE
> suse_1140_INSTALL_SOURCE_TYPE=
>
> ## Type:        string
> ## Default:     "vga=791"
> # Space separated list of kernel options.
> # KIWI_KERNEL_ARGS="<space separated list of kernel arguments>"  (for all
> profiles)
> # or/and
> # KIWI_KERNEL_ARGS_name (for profile "name" defined in LTPS_PROFILES (note:
> case sensitivity))
> KIWI_KERNEL_ARGS="vga=791"
>
>
>
>



-- 
CyberOrg Info
Novell & IBM Partner
7 FF Unaddeep, Tower A, Susen Tarsali Road, Vadodara, India 390 010
M +91 9898092956
Web. http://www.cyberorg.info

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to