分类: LINUX
2009-06-19 17:19:58
关键的配置文件在:/etc/systemimager/flamethrower.conf.
START_FLAMETHROWER_DAEMON = yes
FLAMETHROWER_DIRECTORY_PORTBASE = 9000
...如果不能使用缺省的9000端口就自定义一个
INTERFACE = eth0
...设置imager用于通信的网口
[boot-x86_64-standard]
DIR = /usr/share/systemimager/boot/x86_64/standard
或者:
[boot-i386-standard]
DIR = /usr/share/systemimager/boot/i386/standard
备注:如果image server是64位的话,就都加上吧,这样同时支持32和64位系统的安装
[Imagename]
DIR = /var/lib/systemimager/images/Imagename
和:
[override_Imagename]
DIR = /var/lib/systemimager/overrides/Imagename
使用你自己的image的name替换Imagename,你可以同时增加多个Image在这里
# /etc/init.d/systemimager-server-flamethrowerd start
在kernek的引导参数中定义下面的选项:
FLAMETHROWER_DIRECTORY_PORTBASE=9000
如果你配置了启动server ,你需要编辑文件:/etc/systemimager/pxelinux.cfg/syslinux.cfg,添加上面的选项到内核启动参数,下面是个例子:
DEFAULT systemimager
#
# Uncomment next line to send pxelinux boot prompt over serial port 0.
# NOTE: Be sure your serial port speed is appropriate (57600, 9600, etc.)
#
# SERIAL 0 57600
DISPLAY message.txt
PROMPT 1
TIMEOUT 50
# Add the following to the append line above to use your first serial port
# (ttyS0) as a console in addition to your monitor (tty0). NOTE: Be sure
# your serial port speed is appropriate (57600, 9600, etc.)
#
# console=ttyS0,57600
# Add the following to the append line above to increase the size of your tmpfs
# filesystem. About 100MB larger than your image size should suffice.
#
# Other tmpfs mount options are also supported. See the FAQ for details.
# tmpfs_size=800M
# ramdisk_size=80000
LABEL systemimager
KERNEL kernel
APPEND vga=extended initrd=initrd.img root=/dev/ram FLAMETHROWER_DIRECTORY_PORTBASE=9000 MONITOR_SERVER=172.16.36.1 MONITOR_CONSOLE=yes SKIP_LOCAL_CFG=y
启动客户端从pxe安装