From 9f51962324eeb9313d9003f88190ccfede05f101 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Fri, 5 Mar 2010 10:09:03 +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@5384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/rh/genimage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 48a7b3437..8d4e01ac6 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -163,12 +163,14 @@ $rootimg_dir="$destdir/rootimg"; unless ($osver and $profile and $netdriver and $prinic) { - print 'Usage: genimage -i -n [-r ] -o -p -k -m '."\n"; + print 'Usage: genimage -i -n [-r ] -o -p -k [-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 igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite\n"; + print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite --permission 777\n"; print " genimage -i eth0 -n tg3 myimage\n"; exit 1; }