Add synclists to osimage definition.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-06-30 17:17:24 +00:00
parent f0da8d0244
commit 1fcf4acb13
3 changed files with 10 additions and 5 deletions

View File

@ -138,7 +138,7 @@ cp README $RPMDIR/web-dep.README
cp *.rpm $RPMDIR/
ls *.rpm > $RPMDIR/flist3
cd $RPMDIR
cp /opt/freeware/src/package/RPMS/ppc/php-5.2.6-0.aix5.3.ppc.rpm $RPMDIR/
cp /opt/freeware/src/packages/RPMS/ppc/php-5.2.6-0.aix5.3.ppc.rpm $RPMDIR/
echo "rpm -Uvh php-5.2.6-0.aix5.3.ppc.rpm" >> $RPMDIR/instwebdep
echo "php-5.2.6-0.aix5.3.ppc.rpm" > $RPMDIR/flist3

View File

@ -76,9 +76,9 @@ echo "rpm -Uvh xCAT-$VER-*rpm" >> $RPMDIR/instxcat
mv /opt/freeware/src/packages/RPMS/ppc/xCAT-rmc-$VER-*rpm $RPMDIR/
echo "rpm -Uvh xCAT-rmc-$VER-*rpm" >> $RPMDIR/instxcat
./makeuirpm
mv /opt/freeware/src/packages/RPMS/noarch/xCAT-UI-$VER-*rpm $RPMDIR/
#echo "rpm -Uvh xCAT-UI-$VER-*rpm" >> $RPMDIR/instxcat
./makewebrpm
mv /opt/freeware/src/packages/RPMS/noarch/xCAT-web-$VER-*rpm $RPMDIR/
#echo "rpm -Uvh xCAT-web-$VER-*rpm" >> $RPMDIR/instxcat
#
# create the tar.gz file to upload

View File

@ -394,7 +394,7 @@ notification => {
},
},
osimage => {
cols => [qw(imagename imagetype osname osvers osdistro osarch comments disable)],
cols => [qw(imagename imagetype osname osvers osdistro osarch synclists comments disable)],
keys => [qw(imagename)],
table_desc => 'Basic information about an operating system image that can be used to deploy cluster nodes.',
descriptions => {
@ -404,6 +404,7 @@ osimage => {
osvers => 'Not used.',
osdistro => 'Not used.',
osarch => 'Not used.',
synclists => ' A comma-separated list of fully qualified file names each containing a list of files to synchronize on the nodes.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
@ -1319,6 +1320,10 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs);
tabentry => 'nimimage.script',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'synclists',
tabentry => 'osimage.synclists',
access_tabentry => 'osimage.imagename=attr:imagename',
},
{attr_name => 'fb_script',
tabentry => 'nimimage.fb_script',
access_tabentry => 'nimimage.imagename=attr:imagename',