- 论坛徽章:
- 0
|
我在Imger Server上执行si_getimage命令时,在下面的一步产生了一个错,然后si_getimage就退出了。但我看了一下,Image文件也已经有了,而且,从它报的错来看,也只是在测试的时候没有测试成而已。所以,我就没有再管它,而继续做了下去。
IP Address Assignment
---------------------
There are four ways to assign IP addresses to the client systems on an
ongoing basis:
1) DHCP
----------------------------------------------------------------
A DHCP server will assign IP addresses to clients installed with
this image. They may be assigned a different address each time.
If you want to use DHCP, but must ensure that your clients
receive the same IP address each time, see "man si_mkdhcpstatic".
2) STATIC
----------------------------------------------------------------
The IP address the client uses during autoinstall will be
permanently assigned to that client.
3) REPLICANT
----------------------------------------------------------------
Don't mess with the network settings in this image. I'm using
it as a backup and quick restore mechanism for a single machine.
Which method do you prefer? [1]: 1
You have chosen method 1 for assigning IP addresses.
Are you satisfied? ([y]/n): y
Undefined subroutine &SystemImager::Server::XMLin called at /usr/lib/systemimager/perl/SystemImager/Server.pm line 1456, <STDIN> line 4.
# Looks like your test died before it could output anything.
然后我在Imger Server上执行si_addclients时,首先它给了我下面这样一个提示:
Welcome to the SystemImager "si_addclients" utility
--------------------------------------------------------------------------------
This utility has 3 sections.
"Section 1" will ask you for your hostname information.
"Section 2" will allow you to create softlinks from each client hostname to
your "master" script in the "/var/lib/systemimager/scripts" directory.
Example: www297.sh -> web_server_image_v1.master
"Section 3" will ask you for IP address information that will be combined
with the hostname information provided in Section 1 to create entries in
"/etc/hosts" for each of these same clients. New entries will be appended
to the end of "/etc/hosts". If you specify new hostnames for existing IP
addresses, those entries will be re-written in place to reflect the new
host names.
然后我就按照提示一步步做下去,可在第二步的时候,产生了这样一个错:
si_addclients -- Section 2 (soft links to master script)
--------------------------------------------------------------------------------
Would you like me to create soft links to a "master" script so that hosts:
imclient01 through imclient05
can be autoinstalled with that image? ([y]/n): y
Here is a list of available autoinstall scripts:
ls: *: No such file or directory
Which script would you like these hosts to be installed with?
[ls: *: No such file or directory]:
意思好像是说,创建软连接的时候有错。然后就做不下去了,我找了找,在"/var/lib/systemimage/scripts"目录中只有两个目录"post-install/"和"pre-install/",的确是没有别的什么文件了。
请高手指点!
谢谢! |
|