From 89f854ab4702edba954fd71b976383d61e1b7aa8 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Fri, 5 Mar 2010 10:18:04 +0000 Subject: [PATCH] update the help message for genimage, --permission is added git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/sles/genimage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index c9775964b..df9793d52 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -196,12 +196,14 @@ unless ($kernelver) { } chomp($kernelver); unless ($osver and $profile and $netdriver and $prinic) { - print 'Usage: genimage -i -n [-r ] -k -o -p -a -m '."\n"; + print 'Usage: genimage -i -n [-r ] -k -o -p -a [-m [--permission ]]'."\n"; print ' genimage -i -n [-r ] -k '."\n"; + print ' --permission only works when "-m statelite" is set'."\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o centos5.1 -p compute\n"; print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute\n"; print " genimage -i eth0 -n tg3,bnx2 -o centos5.1 -p compute -p nfsroot -m statelite\n"; + print " genimage -i eth0 -n tg3,bnx2 -o centos5.1 -p compute -p nfsroot -m statelite --permission 777\n"; print " genimage -i eth0 -ntg3 myimagename\n"; exit 1; }