Unable to use static IP with ZENworks Imaging boot CD.

  • 3730517
  • 07-Sep-2006
  • 30-Apr-2012

Environment

Novell ZENworks 7 Desktop Management - ZfD7
Novell ZENworks 6.5 Desktop Management - ZfD6.5
Novell ZENworks 6.5 Desktop Management Support Pack 2 - ZfD6.5 SP2

Situation

Unable to use static IP with ZENworks Imaging boot CD.

ATA_PIIX module has to be loaded manually in order to image workstation.

Unable to image a workstation with Serial ATA drive.
Static IP addresses no longer work with ZENworks imaging.

Resolution

The settings.txt file on the ZENworks bootcd is pre ZDM 6.5 SP2.
Sample of each of the settings.txt files pre ZDM 6.5 and post ZDM 6.5

ZDM 6.5 SP1 or EarlierZDM 6.5 SP2 or Later

# ZENworks Imaging settings.txt
# denotes a comment

#PROMPT should be set to YES if you want to configure various parameters
#PROMPT=YES

#PARTITIONSIZE should be set to the linux partition size in MB, to be
#created on install
PARTITIONSIZE=100

#IPADDR should be set to the desired ip address of the machine.
#If using DHCP, remove or comment out this line.
#IPADDR=137.65.138.128

#GATEWAY is the router address for this machine.
#If using DHCP, remove or comment out this line.
#GATEWAY=137.65.139.254

#NETMASK is this machine's subnet mask.
#If using DHCP, remove or comment out this line.
#NETMASK=255.255.252.0

#DNSDOMAINSUFFIX domain suffix list.
#Use a space to separate entries.
#If using DHCP, remove or comment out this line.
#DNSDOMAINSUFFIX=

#DNSNAMESERVER is a list of name servers to search for dns lookups.
#Use a space to separate entries.
#If using DHCP, remove or comment out this line.
#DNSNAMESERVER=

#PROXYADDR is the address of the server running ZENworks Image Server
PROXYADDR=

#uncomment if you want to reboot manually.
#MANUALREBOOT=YES

#/bin/setleds -D +num < /dev/tty1

# ZENworks Imaging Settings
#
#This file controls the initialization of the ZENworks Imaging Environment.
#
#You may edit this file manually or use the ZENworks Boot Disk Creation
#utility (ZIMGBOOT.EXE).
#
#The character starting this line denotes a comment. Any line beginning
# with that character is ignored when initializing the Imaging Environment.


# PROMPT should be set to YES if you want to be given a Linux prompt after
# initialization is complete.
#PROMPT=YES

# MANUALREBOOT should be set to YES if you want to reboot manually.
#MANUALREBOOT=YES

# PARTITIONSIZE is the size (in megabytes) of the ZENworks Imaging partition
# that will be created when installing the ZENworks Imaging Engine.
PARTITIONSIZE=150

#Use this setting in a DHCP environment.
netsetup=dhcp

#Use the following 4 settings in a static IP address environment.
#netsetup=1
#HostIP=0.0.0.0
#netmask=255.255.255.0
#gateway=0.0.0.0


#Specify the DNS nameserver
#Each nameserver should be separated by blank space
#nameserver=


#Specify the DNS domain suffixes.
#Each domain suffix should be separated by blank space
#domain=

#PROXYADDR is the IP address or DNS name of the ZENworks Imaging Server.
#PROXYADDR=

#The following line will turn on NUMLOCK.
#/bin/setleds -D +num < /dev/tty1

#The following line will configure the string used by the bash shell
export PS1="\`pwd \`#"

#Use IMGCMD to alter the behavior of automated imaging. If this variable is defined
#as a script (or a series of commands), then that script (or those commands) will be
#executed instead of the usual 'img auto' command (see /bin/imaging.s).
#export IMGCMD="bash -c cdrom.s; img rl /mnt/cdrom/linux.zmg"

#netdevice can be used to select a specific network adapter
#netdevice=eth0

if hwinfo --pci | grep -i "Device: pci 0x2653" ; then
modprobe ata_piix
fi


The following command in the new setttings.txt file loads the Serial ATA support:

if hwinfo --pci | grep -i "Device: pci 0x2653" ; then
modprobe ata_piix
fi

To setup a static IP use the following section in the new settings.txt file. Delete the pound signs in front of netsetup, HostIP, netmask, gateway.

#Use the following 4 settings in a static IP address environment.
#netsetup=1
#HostIP=0.0.0.0
#netmask=255.255.255.0
#gateway=0.0.0.0

Additional Information

Formerly known as TID# 10099713